Choosing an API model from OpenRouter’s token rankings
Three models from OpenRouter’s token rankings reconciled 20 ledgers each on Ofox. Compare JSON accuracy, actual charges per accepted ledger and a failed reply.
Can OpenRouter’s token rankings pick a model for billing? We gave DeepSeek, GLM and GPT-6 Luna the same 20 synthetic client ledgers through Ofox. DeepSeek and Luna returned 20 directly usable answers each. GLM returned 19. On the one rejected ledger its arithmetic was correct, but the reply could not go straight into the billing workflow.
What does OpenRouter’s leaderboard count?
In the seven days through November 26, 2026, DeepSeek V4.1 Flash 1017 led OpenRouter with 77.2 trillion tokens. Tencent Hy4 Flash followed with 35.6 trillion. A separate DeepSeek V4.1 Flash entry ranked third, GLM 5.3 Flash fourth and GPT-6 Luna fifth. The chart counts tokens processed on OpenRouter. Its request-share chart uses a different denominator. Neither chart identifies the country, purchasing criteria or spend of the people responsible for those calls. OpenRouter rankings and methodology
The ranking suggests exact model versions to try. To see what changes once you measure completed work, we took the first-, fourth- and fifth-ranked entries and gave each one a billing question through Ofox. This sample covers three model families. It leaves Tencent and the second DeepSeek entry untested.
Can the model reconcile the work a client actually accepted?
A studio sells automated workflows to two clients. Its export contains a duplicate charge entry, a credit, failed deliveries and a top-up. A client asks for the net cost per accepted job. We froze ten synthetic ledger rows, five delivery records and an answer key. Each model received the same English instructions and both CSVs, with the answer key held back.
| Client | Net usage in US cents | Accepted jobs | Cost per accepted job |
|---|---|---|---|
| Atlas | 9 − 3 + 5 + 2 + 4 = 17 after deduplication | 2 | 8.5¢ |
| Birch | 10 + 8 − 8 = 10 after excluding the 500¢ top-up | 1 | 10¢ |
Deduplicate by ledger entry ID. Atlas paid 4¢ for a rejected job, so that amount stays in spend while the job stays out of deliveries. These amounts come from the synthetic ledger. They are separate from the cost of calling the models.
How much work did each model report?
| Returned model ID | Exact JSON | Input / completion tokens | Reasoning tokens within completion | Time to full response | Activity charge (USD) |
|---|---|---|---|---|---|
deepseek/deepseek-v4.1-flash-1017 | Pass | 323 / 761 | 702 | 17.124 s | $0.00101010 |
z-ai/glm-5.3-flash | Pass | 283 / 520 | 469 | 29.739 s | $0.00030245 |
openai/gpt-6-luna | Pass | 280 / 170 | 108 | 15.333 s | $0.00011300 |
On November 27 we made one non-streaming Ofox request per model. Each reply parsed directly as JSON and matched all six expected integers. DeepSeek reported about 2.41 times GPT-6 Luna’s total tokens for the same result. Even the input counts differed for the identical prompt. Reasoning tokens are already included in completion. These runs illustrate how identical job counts can produce different token volumes. They do not establish why a particular model leads OpenRouter.
Ofox Activity records for this test window matched the three calls by model ID and by both input and completion token counts. Each first reply passed, so the recorded charge for that call also equals its cost per accepted reconciliation. The dollar amounts in the results table are inference charges; the cents in the client ledger are test inputs. Download the three matched Activity rows
How did the models handle 20 more ledgers?
We added four groups of five synthetic cases and sent every case to each model once, in shuffled order with up to three requests in flight. The first group tests basic reconciliation. The second introduces duplicate entries and top-ups. The third also includes credits. In the fourth, clients reuse task IDs, delivery notices repeat, and some clients have no accepted deliveries. In those cases the unit cost must be JSON null.
| Model | Basic | Duplicates and top-ups | Credits | Shared IDs and repeated deliveries | All exact |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | 5/5 | 5/5 | 5/5 | 5/5 | 20/20 |
| GLM 5.3 Flash | 5/5 | 5/5 | 4/5 | 5/5 | 19/20 |
| GPT-6 Luna | 5/5 | 5/5 | 5/5 | 5/5 | 20/20 |
A pass requires a directly parseable JSON object with exactly the expected clients, fields, types and values. Each cell counts whole ledgers that passed on the first attempt. One wrong amount or one extra field fails a case.
The batch requested JSON in the prompt. It set neither temperature nor response_format and supplied no output schema. C12 measures how the raw reply behaves under those settings.
In case C12, GLM returned HTTP 200 and wrapped the object in a Markdown code fence. The raw reply failed JSON parsing. Removing the fence for inspection recovered every expected number, including Larch’s 49 cents across three accepted jobs. A workflow that sends its output directly to a billing system would have to stop or repair that response.
Median time to full response over the 20 calls was 17.146 s for DeepSeek, 23.916 s for GLM and 8.340 s for Luna. These are timings for this run at the stated concurrency.
What did one usable ledger cost?
Ofox Activity charges for all 20 attempts ÷ ledgers that passed on the first attempt. The GLM total includes C12, which incurred a charge and failed the parser. The three separate worked-example calls are excluded.
| Model | Total charged (USD) | Accepted ledgers | USD per accepted ledger | USD per 1,000 accepted¹ |
|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | 0.07148340 | 20 | 0.00357417 | 3.57 |
| GLM 5.3 Flash | 0.01045630 | 19 | ≈ 0.00055033 | 0.55 |
| GPT-6 Luna | 0.00310990 | 20 | 0.000155495 | 0.16 |
¹ Scaled from this batch at its observed pass rate.
Across 20 calls, DeepSeek returned 57,308 completion tokens (55,753 reasoning), GLM 18,416 (16,392) and Luna 4,593 (3,026). DeepSeek generated 12.48 times as many output tokens as Luna. All 40 DeepSeek and Luna charges can be reproduced using $0.30/$1.20 and $0.10/$0.50 per million input/output tokens respectively. Volume and the effective rates together explain the roughly 23-fold bill.
Download the 60 matched Activity rows
On these fixtures Luna had the lowest observed cost per usable ledger and the shortest median time. DeepSeek also passed every ledger. If you are shortlisting an inexpensive default for this exact workflow, start the next round with Luna and keep your own acceptance tests in place.
How to repeat the test before choosing a provider
Download the ledger, delivery records, prompt, answer key, replies and Python script
Compare the saved replies with expected.json. The last field expresses cents per accepted job multiplied by 100, so 850 means 8.5¢. To run the three models yourself, unzip the kit, set OFOX_API_KEY in your environment and run python3 replay.py from that folder. That sends three new billable requests and writes fresh receipts to a timestamped directory.
To replay all 20 cases on each model, run python3 batch/run.py from the unpacked kit. This sends 60 new billable requests. The three calls in the worked example above are separate.
Use your own exports for the next round. When clients have a deadline, count the jobs that are both correct and on time at your expected concurrency. For a cost decision, sum the settled charges for every attempt and divide by accepted deliveries. The example above shows how to join one call to its charge. For a larger batch, include the charges for every attempt, including unusable output. Track Ofox usage · See a support-ticket migration test with recorded charges


