# Token charges with missing model labels

Anant Mishra · 3 December 2026 · Reproducibility material for an independent [Design study](https://www.anant-mishra.com/case-studies/llm-missing-model-cost-bounds).

Four fictional text-only calls have complete input and output quantities. Two have model labels. An independent counter assigns two calls to each route for exactly the same period. All four are eligible for either route. Rates stay fixed, in integer US dollars per million tokens. The example excludes other charges, caching, rounding per request and differences in tokenisation between models. Assignments describe possibilities within the fixture. They say nothing about the actual location of processing.

Download the [fixture](fixture.json), [Python reference](replay.py), [checks](test_replay.py) and [archived run](execution-record.json) into the same folder. Python 3 and its standard library suffice. From that folder run

```sh
python3 -B test_replay.py -v
python3 -B replay.py
```

Compare the emitted `results` and `sha256` objects with the archived record. The timestamp describes the individual execution. The script prices in integer microdollars. There are 10,000 microdollars to one US cent. Known labels account for 24,000 microdollars. With the remaining premium place assigned to C, the total is 46,800 microdollars. With it assigned to D, the total is 85,200. Both allocations respect all four observed quantities and the supplied counts.

The seven tests include an independent exhaustive comparison over all feasible assignments for four unlabelled calls and each possible premium count, recovering one missing label, output-heavy calls, equal prices, inconsistent controls and invalid records. The method requires both route totals, complete quantities for every call, and disjoint unlabelled rows eligible for both routes. It does not infer probabilities. Recover model labels or permitted per-model totals to reconcile a real account. An actual currency statement and applicable prices are still required to explain a bill.

## Evidence comparison on 4 December 2026

The [comparison script](compare_controls.py) repeats the enumeration on the same four rows under three evidence conditions. Download it and the [archived comparison](control-comparison.json) beside the original fixture and reference. Run

```sh
python3 -B compare_controls.py
python3 -B compare_controls.py --check
```

| Available evidence | Feasible assignments | Possible totals in US cents |
| --- | ---: | --- |
| Labels on A and B | 4 | 3.80, 4.68, 8.52, 9.40 |
| Those labels and the independent route counts | 2 | 4.68, 8.52 |
| Those controls and a hypothetical economy label on C | 1 | 8.52 |

The record retains each assignment and its exact total in microdollars. The independent counts remove two possibilities. The assumed observation for C resolves the remaining ambiguity. An interval conveys the extremes only. It does not give a probability or imply that intermediate charges are feasible.
