Skip to main content

Tokens

Tokens shows how much AI usage your documents consume. Tokens are the units AI providers charge for: the text sent to the AI and the text it writes back are both counted in tokens. Everyone on the agent can read this page.

Choose 7 days or 14 days at the top. The period is whole days (in UTC, ending today), so the daily bars add up to the totals.

How tokens are counted​

  • The numbers come from the AI provider's own usage figures, added up per document over every AI call it made.
  • Every retry counts, because it was paid for. So does a fallback to another model.
  • A document whose application reported no token counts is left out, never counted as zero. A note says how many documents that is.
  • Zyonix has no price list, so it shows tokens, not money. Multiply by your provider's prices to get a cost.
  • A document is your application's document id. If your application gives each upload its own id, the same file uploaded twice is two rows.

The four numbers​

NumberShows
Total tokensAll tokens in the period, and the change against the previous period of the same length (for example ▲ 12% vs previous 7 days), or No earlier period to compare with
Average per documentTokens per document, over the documents that reported tokens
Spent on failed documentsTokens used by documents that failed, and their share of all tokens. These are tokens paid for results that were wrong.
Most expensive documentThe highest number of tokens one document used, and its name

Hover over a large number to see it in full.

The charts​

PanelShows
Tokens per dayOne column per day, split into Sent to the AI and Written by the AI
Where the tokens wentOne bar split by the result of each document: Passed, Needs review, Failed, Not checked
By AI modelTokens per AI model, with how many documents used it

Every chart has Show the numbers under it, to see the same data as a table.

Documents using the most tokens​

The documents that used the most tokens in the period, most first. The first 15 are shown; click Show all N for the rest.

ColumnShows
DocumentIts name. Click to open the document.
ResultFailed if any of its runs failed, otherwise Passed
Times processedHow many times this document was processed (for example after a retry by your application)
SentTokens sent to the AI
WrittenTokens the AI wrote
TotalSent plus written

Download CSV saves the whole list as a spreadsheet file, zyonix-tokens-7-days.csv (or 14 days), with the columns document, document_id, times_processed, failed, tokens_sent, tokens_written and tokens_total.

Common tasks​

Find out why usage went up

  1. Compare Total tokens with the previous period.
  2. In Tokens per day, find the day it rose.
  3. In By AI model, see whether a model changed.
  4. In Documents using the most tokens, look for documents processed many times (Times processed) or with very long inputs (Sent).

See what failures cost you

  1. Read Spent on failed documents and its share.
  2. On Problems, each group's small print says how many tokens its documents used: fixing the biggest group saves the most.

Share the numbers

Click Download CSV and open the file in a spreadsheet.