How to read model pricing
Estimate token costs without mistaking a headline rate for your final bill.
Start with two rates
Input and output tokens usually have separate prices. For rates quoted in USD per one million tokens, estimate cost as (input tokens × input rate + output tokens × output rate) / 1,000,000. Count the full request, including instructions and conversation history, rather than only the latest question.
Work through an example
Using fictional rates purely for illustration, $1 per million input tokens and $4 per million output tokens make 100,000 input tokens plus 20,000 output tokens cost $0.10 + $0.08 = $0.18. These are not live rates or a quote for any model. Different tokenizers can produce different counts for the same text.
Check what the estimate excludes
Cached reads and cache writes may have distinct prices or eligibility rules. Tool calls, images, audio, and longer-context tiers can change the bill. Check the selected provider’s current terms and actual usage records. Compare representative complete tasks, including retries, rather than assuming the cheapest input rate produces the cheapest result.
Source
- https://openrouter.ai/docs/guides/overview/models · Retrieved 2026-11-03