# Pricing a split document and its final answer

Anant Mishra · Independent Design study · 6 December 2026

## Reproduce

Download `fixture.json`, `replay.py` and `execution-record.json` into the same folder. Use Python 3.8 or later. The replay uses the standard library and runs offline.

```sh
python3 replay.py --check
python3 replay.py
```

The first command recomputes every call and verifies the complete record, including SHA-256 hashes of the inputs and code. The second emits a fresh JSON record to standard output. To explore changed assumptions, work on a copy of the fixture and use the second command. Keep the original archived record for comparison.

## What was calculated

Each half has an assumed 6,000 source tokens. Each call adds 500 instruction tokens. An extract emits 400 tokens and the final answer emits 1,000. The final call reads both extracts and may also reread original passages. Its price band depends on that call's full input length. Only calls above 10,000 input tokens take the long rates. One US dollar per million tokens equals one microdollar per token. Ten thousand microdollars equal one US cent.

| Plan | Microdollars | US cents |
| --- | ---: | ---: |
| Full document in one call | 62,000 | 6.20 |
| Two extracts only | 32,400 | 3.24 |
| Extracts followed by one joined answer | 43,000 | 4.30 |
| Extracts followed by a joined answer with a full reread | 97,600 | 9.76 |

The replay examines every possible whole-token reread length from 0 through 12,000 and retains the endpoints and the first crossing of the one-call cost. At 8,700 extra source tokens the three calls cost 60,400 microdollars. At 8,701 they cost 84,404. The record also includes four arithmetic examples from the companion essay.

## Evidence boundary

The fixture supplies invented rates and token quantities independent of the example text. Sections A3 and B4 and the inspection interval are fictional. Their answer key specifies a future evaluation of whether the system connects the rule to its exception. The two-extract plan produces intermediate material. The other plans budget a final answer. Model outputs, quality, latency, residency, vendor charges and field outcomes are unmeasured. Caching, retries, infrastructure and human review would require additional evidence.

[Design study](https://www.anant-mishra.com/case-studies/long-document-split-and-reconcile) · [Companion essay](https://www.anant-mishra.com/blogs/long-context-llm-price-thresholds) · [Anant Mishra](https://www.anant-mishra.com/profile)
