Fleet docs v0.2.0-rc.448

Costs

The costs page, at /costs, shows what the agents cost, per ticket. Costs in the top bar opens it. The buttons at the top pick the window: the last 24 hours, 7 days, 30 days, or all time. A turn counts in the window when it started in it.

  • Tiles. Spend, unreconciled turns and overhead. Once the merger records acceptance (#495), accepted tickets and the cost per accepted ticket show too: all spend in the window divided by the tickets accepted in it.

  • Tickets. One row per ticket, newest first. The ticket links to its issue. A row shows the turns and the inference of every attempt on the ticket. Click a row to open its attempts: each agent, with a link to its chat, and its turns with the model, the machine, the status, the cost and where the cost came from. Turns of agents that were pruned still count in the row.

  • Overhead. Spend that belongs to no ticket, one line per kind: merge train, chief, chat, other, and compute:idle, the part of a rented machine's life that ran no turn. A line and the tile add "+N unknown" for turns of that kind whose cost was lost (unreconciled_turns, #519): the amount is a floor. A server without compute allocation (#496) shows one line instead: the turns of no ticket.

  • By model and by machine class. Every turn in the window, summed by its model and by the class of the machine it ran on: elastic (a rented server, named elastic-*) or fixed. The data is GET /v1/costs?by=model and ?by=node, also fleet costs --by model and --by node.

  • Compute is a rented machine's cost split over the turns that ran on it, by time. Fixed machines count $0. Every amount is in USD: a machine billed in EUR is converted at autoscale's --eur-usd rate (1.2 when it is not set).

  • Estimated is the list price of lost turns that fleet priced later from their saved conversation. It is not in Inference. CI runs counts the ticket's check runs; CI has no cost yet.

Columns that a later stage adds (outcome, attempts, time to merge) appear only when the API returns them.

How to read the numbers

  • Inference is a list-price estimate: what the vendor's price list says the tokens cost. It is money paid only for an API-key profile. A subscription pays a flat fee.
  • Unknown is not $0. A turn whose usage was lost, for example cut by a restart, has an unknown cost. It shows as +N unknown next to the total, and that total is a floor.

You see the costs that GET /v1/costs lets you see: an admin sees every ticket, a person sees the tickets of the projects they belong to. An agent token gets 403.