Costs and metrics
The four token counters
Section titled “The four token counters”All usage shows in the same four counters:
| Counter | What it is |
|---|---|
| Input (fresh) | text the model read for the first time, with no cache |
| Output | everything the model wrote (answers, code, reasoning); the most expensive token |
| Cache read | the conversation re-read from cache on every turn, at about 1/10 of the input price |
| Cache write | text written into the cache, charged once, a bit above input |
Total tokens is the sum of all four, because that is what the provider bills on. Cache reads usually dominate: a 200k-token context re-read over 500 turns is already 100 million.
How cost is computed
Section titled “How cost is computed”- For each model: each counter times that counter’s price, per million tokens.
- Each model has its own price. A sub-agent running Haiku inside an Opus session is priced as Haiku.
- It is an estimate at API prices (tokens × published price), not your invoice.
- A billed response counts once. Some harnesses repeat the same response’s usage over several lines; agentistics counts each response only once.
Where prices come from
Section titled “Where prices come from”Three layers, in this order: the vendors’ official pages (Official), the LiteLLM community dataset (Community) and the table built into agentistics (Built-in). A source that fails or returns implausible numbers is ignored: you lose freshness, never the price.
Settings → Pricing lists every model this machine has used, with its price and source. A model with no price shows as unknown. The table is read-only.
Models that run on your own machine cost zero (that is a fact, not a guess).
Unknown price and N/A
Section titled “Unknown price and N/A”- An unknown price is never guessed. A model with no known price has its tokens counted and its cost shown as unknown. A total that includes that usage is marked + unpriced usage. It never shows as $0.00.
- N/A is not zero. When a harness doesn’t record a metric (for example, sub-agents in Codex), it shows as N/A with the reason, never as a misleading zero.
Where to see costs
Section titled “Where to see costs”- Costs (
/costs): spend by model and date, budget and forecast, cache efficiency. - Per session, project, repository, tag and harness (Compare, side by side).
- Tools (
/tools): how much of the output each tool produced. - Agentask: the cost of every task and subtask.
Date filters: 7, 30, 90 days, All, Today or a calendar range. Long sessions are split by the day each turn happened.
Dollars or reais
Section titled “Dollars or reais”The currency toggle switches between USD and BRL. The conversion uses today’s rate, and the toggle shows where it came from.
Compare with what you pay
Section titled “Compare with what you pay”If you pay a subscription, register your plan in Settings → Billing (Register my plan): billing type, monthly amount and period (plan changes can be recorded). agentistics can detect your plan and suggest it. Then the Plan toggle shows the same spend at API prices or at your plan’s cost, and how many times your usage is worth what you pay.
Export
Section titled “Export”- PDF of any combination of sections, period and theme.
- OpenTelemetry: see OpenTelemetry.