How we count
Tokens from the local logs of the AI coding tools we run, rolled up by UTC day.
The collector
- The collector reads the local logs of the AI coding tools on our machines.
- It prints one total per plan, model and UTC hour, or one total per UTC day for the Mistral console export.
- Only those totals, a hashed machine label, plan and model ids, UTC buckets and numbers leave the machine. Prompts, session titles, project names, paths and account ids never do.
- Writes are idempotent upserts keyed by machine, plan, model and UTC bucket, so a missed hour heals on the next run.
Which tool feeds each plan
| Source | Plan |
|---|---|
| Claude Code session logs | Claude |
| OpenCode's local database | OpenCode Go, OpenCode (free) |
Antigravity's transcript.jsonl | Antigravity |
| Cursor's agent store | Cursor |
| T3 Code provider logs | Meta (Muse), and Cursor when its agent store has no usage |
| Mistral console CSV export | Mistral, one row per day |
| Pi session logs | The plan named by each record's provider id |
What is excluded
- Hourly rows are not public: the API serves daily rollups only.
- Prompts, session titles, project names, paths, account ids and times of day are excluded from every published response; a response carries no machine or contributor.
- A Cursor run is counted once: its agent store when
usage_jsonis populated, else T3 Code's Cursor logs. - Antigravity's duplicate full transcript is skipped. A step with no model takes its conversation's model, else
unknown-gemini; that step counts in the plan total and not in a per-model row. - Claude streaming repeats one request's usage several times, so one row is kept per
requestId. Claude's<synthetic>models are skipped. - T3 Code's
claudeAgentlines are ignored; Claude Code's own logs are the source. - The Mistral daily export has no in/out split, so those cells say
n/a.
UTC days
A day runs from 00:00 to 24:00 UTC. A row that starts at 23:00 UTC belongs to that UTC day, whatever the local clock says.
What “measured by us” means
Every row here belongs to the measured-by-us series: our collector counted it from our own usage records. It is not a vendor invoice and not a plan's own meter. Meta rows are marked best-effort. Mistral rows come from its daily console export.
The asOf view
Add ?asOf=YYYY-MM-DD to the overview to compute every figure from data up to and including that day. It is a view computed at request time, not a frozen snapshot: a late batch or a correction can change it. Each response names its method version, and the overview shows the version it used.
Quota numbers
Quota percentages exist only for plans with a readable meter. Claude and OpenCode Go are the plans whose meter we can read. A plan with no meter means no quota number on this site.
The collector, the Worker and this page are in apps/data in the public repository.