DEV Community

What's your measured cost per million tokens - and what does your dollar assume?

Everyone quotes a dollar per million tokens like it's one number. It isn't.

Take the model most people actually run: DeepSeek V4.1 Flash, per DeepSeek's own pricing page. The same model, the same million tokens, six different prices:

V4.1 Flash, per million tokens Off-peak Peak
Input, cache hit $0.003 $0.006
Input, cache miss $0.15 $0.30
Output $0.60 $1.20

One input token can cost $0.003 or $0.30 depending on two facts the headline never states: did it hit the cache, and what time is it. That is a 100x spread inside a single "$0.15 per million tokens."

Peak is 01:00-04:00 and 06:00-10:00 UTC on weekdays - about 21% of the week - so most traffic is off-peak, but the traffic that isn't pays double.

And the cache is the bigger lever: a repeated system prompt costs $0.003 per million, a fresh one $0.15. Fifty times apart, same token.

So when someone says "we run at $0.15 per million," the honest follow-up is: which cell of that table is your dollar standing on? And what is your cache-hit rate, your input/output split, your peak share? Without those, two people quoting the same model can be describing costs 10x apart and both be telling the truth.

What the headline hides after the first call

The second thing a headline dollar hides is everything after the first call. We measured this the hard way.

In a multi-model routing setup, every finding gets a re-check against the code it cites - a second model verifies before anything goes public. Tom Jones costed 220 of those re-checks and published the batch: median $0.065 per re-check, mean $0.104, p90 $0.23, max $1.36, $22.98 total, $0.18 per validated finding.

None of that is in any $/Mtok headline, because $/Mtok prices the first call, not the finished task. A retry is a second million tokens. A re-check is a third.

The verification pass costs roughly 3x the review it checks - I wrote the numbers up in more detail here: https://dev.to/qisuancloud/the-real-cost-of-rechecking-llm-routing-decisions-220-rows-measured-4il5

The same problem in self-hosted

The same assumption problem follows you to self-hosted. Our routing dashboards price a day's work at $12.50 for 10 GPU-hours - 8 hours of chores on an RTX 4090 at $0.89, 2 hours of final answers on an H100 at $2.69.

But that H100 is $2.69 on RunPod Community Cloud, $4.39 on Secure Cloud, and $4.59 at Lambda. Same card, same hour, three prices 70% apart. Any self-hosted $/Mtok you quote inherits whichever of those you picked, and almost nobody states which.

The open question

So the open question, and I mean it as a question:

  • What is your measured blended cost per million tokens - not the list price, the number from your own invoice - and over how many tokens did you measure it?
  • What sits behind it: input/output split, cache-hit rate, peak share, retries, re-checks? Which of those moved your number most?
  • Do you report list price or measured cost? If measured, per what unit - per token, per task, per validated finding?
  • Has anyone found their measured number far from the headline - cache or peak moving it 2x or more?

Tom Jones's 220-row batch is the only measured batch I know of; if anyone else has one, even a small one, post it. A second data point is worth more than another opinion.

If you want to price what a routing change costs at today's GPU rates before you make it, our free GPU cost calculator runs the same arithmetic: https://qisuanai.com/gpu-cost-calculator/

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.