Statement

loading Reading the dataset.

Timeline

Breakdowns

Cache lab

Repo scanner

What a codebase costs to put in front of a model, and whether it fits.

Count your own

curl -O https://releve.neorgon.com/scripts/releve-repo.py
curl -O https://releve.neorgon.com/scripts/releve_cost.py
curl -O https://releve.neorgon.com/data/tokenizer.json
python3 releve-repo.py . --out releve-repo.json
Drop releve-repo.json here

Projector

What the next stretch of work would cost, from this data's per-turn medians.

20
40
97.5%
67%

Rate card

Download card

Cache multipliers

Service tiers

Method

How each number is derived, what it excludes, and where to check it.

The rules

  1. Resolve rates per turn, from that turn's own message.model. A session that switched models mid-way is priced by turn, not by whichever model happened to be last in the file.
  2. Never substitute a different model's rates. Exact id, then the longest declared prefix or suffix, then unpriced. An unpriced model is named and counted, never folded into a total and never treated as free.
  3. Split the cache writes. Five-minute writes bill at 1.25× base input, one-hour writes at 2×. A turn carrying only the flat counter is assumed five-minute and flagged.
  4. Honour usage.speed. Fast mode on Opus bills double, so a fast session must not be priced as standard.
  5. A non-empty usage.iterations replaces the top-level counters, and is never added to them. Adding them double-counts; ignoring the array under-reports every multi-iteration turn.
  6. Count each response once, keyed on message.id rather than on the entry's uuid. A response is written to the transcript one entry per content block, and every one of those entries repeats the same usage object: a turn that thought, spoke and called a tool appears three times and is billed once. Keyed on uuid, the reading more than doubles the cache-read tokens1. Resuming a session replays its history into a new transcript on top of that, and the replay is sometimes the more complete record, so the copy with the most billable tokens wins.

What this dataset says about itself

Limits

Runs

The measurements the claims above rest on, each with what it does not check.

    Run it yourself

    Python 3, standard library only, no network calls unless you ask for them. Each script prints the date of the rates it used.

    The file format

    Every file a script writes carries its own schema string, and data/schema.json documents each of them field by field: what a scan writes, what the repo counter writes, the fitted tokenizer table, the rate card, the pricing fixture, and the export this page produces. The two the site reads back are closed contracts, so a field added to a scanner and not to the schema fails make schema rather than turning up as a quietly wrong number here.