LLM API Pricing: Why Cost per Task Beats Cost per Token (Opus 5.5, Grok 4.7, MiMo-V2.6 Worked Examples)
Three model launches this week came with three pricing stories, and each one was misleading in a different way if you only read the per-token price.
Anthropic cut Opus 5.5’s token price 20% but says it costs 40% less to run. xAI’s Grok 4.7 looks cheap at $2/$6 until your prompt crosses 200K tokens. And Xiaomi’s MiMo-V2.6-Flash is $0.14 per million input tokens, which is so low that whatever it costs you will mostly come down to how many tokens it takes to finish the job.
I did a cost comparison for a classification task last week. This one is about the agent case, where the numbers move more.
The list prices
Per million tokens, as published or reported at launch:
| Model | Input | Output | Cache read |
|---|---|---|---|
| Claude Fable 5.1 | $10 | $50 | |
| Claude Opus 5.5 | $4 | $20 | $0.20 |
| Grok 4.7 (<200K prompt) | $2 | $6 | $0.50 |
| Grok 4.7 (≥200K prompt) | $4 | $12 | $1.00 |
| MiMo-V2.6-Pro | $0.435 | $0.87 | |
| MiMo-V2.6-Flash | $0.14 | $0.28 |
Input price from top to bottom: about 71x. Output: about 179x.
Example 1: one agent turn, 50K in, 5K out
| Model | Cost |
|---|---|
| Fable 5.1 | $0.50 + $0.25 = $0.75 |
| Opus 5.5 | $0.20 + $0.10 = $0.30 |
| Grok 4.7 | $0.10 + $0.03 = $0.13 |
| MiMo-V2.6-Pro | $0.022 + $0.004 = $0.026 |
| MiMo-V2.6-Flash | $0.007 + $0.0014 = $0.008 |
This is the comparison most people do. It’s the least realistic one, because no agent does one turn.
Example 2: ten turns with a shared 50K prefix
Agents resend the same system prompt, tool definitions, and history every turn. With caching, turns 2 to 10 read it from cache.
Opus 5.5 (cache write $5/M, read $0.20/M):
- No cache: 10 × 50K × $4/M = $2.00 input
- Cached: $0.25 write + 9 × 50K × $0.20/M = $0.25 + $0.09 = $0.34
Grok 4.7 (cache read $0.50/M, assuming the first turn is billed at the normal input rate):
- No cache: 10 × 50K × $2/M = $1.00
- Cached: $0.10 + 9 × 50K × $0.50/M = $0.10 + $0.225 = $0.325
On uncached input, Grok is half Opus’s price. With caching, they’re basically even. Opus 5.5’s cache reads cost 5% of its normal input price. Grok’s cost 25%. The model that looks twice as expensive isn’t, for this workload.
Example 3: the 200K cliff
Lindy’s breakdown of Grok 4.7 pricing notes that “the long-context rate applies to the whole request, so a 210K-token prompt pays double on all 210K tokens, including the first 200K.”
- 195K prompt + 5K out: $0.39 + $0.03 = $0.42
- 205K prompt + 5K out: $0.82 + $0.06 = $0.88
Ten thousand more input tokens, more than double the bill. If you’re running long-context agents on Grok 4.7, compaction that keeps you under 200K pays for itself immediately.
Example 4: the tokens you don’t see
Opus 5.5 vs Opus 5 is the cleanest case. Per-token prices dropped 20%. Anthropic says cost to run dropped 40%. Part of the gap is the 60% cut to cache reads, and the rest has to be fewer tokens per task: less reasoning spent, fewer wasted tool calls. No price table shows that, and it’s the part that varies most between models and between harnesses.
It’s why I’d treat MiMo-V2.6-Flash’s $0.008 per turn as a lower bound, not an estimate. If a cheaper model takes three times as many turns to finish, or fails and needs a retry, the per-turn advantage shrinks fast. At these prices it would still almost certainly win. Just not by 90x.
Measure the completed task
Run your real task end to end on each candidate and record total billed cost per completed task, including retries. Per-token tables only give you a starting point.
Sources
- Introducing Claude Opus 5.5 (Anthropic)
- Grok 4.7: Pricing, Benchmarks, and What Changed From 4.6 (Lindy)
- Grok 4.7: Features, Benchmarks, and Pricing (DataCamp)
- Xiaomi introduces Mimo-V2.6 series open-source AI model family (SiliconANGLE)
- Claude Sonnet 5.5: Features, Benchmarks, and Pricing (DataCamp), for the Fable 5.1 list price