Token calculator
Explore your usage. Compare your groups. Know the cost before you send.
- Input
- $0.40
- Output
- $1.20
- Cache read
- —
Text token pricing only. Dynamic, per-request and multimodal billing are not included.
Build your estimate
One request. Your input and expected output.
No cache read rate is published for this model.
Text counts are approximate, not model-specific tokenization, and exclude message overhead. For actual usage, enter the tokens reported by your API.
Same workload. Different groups.
Select a group to update your estimate for the same model and workload.
Price alone does not describe availability or service conditions. Check group details before routing production traffic.
Why do token counts vary by model?
Models use different tokenizers. This calculator estimates text length using a language heuristic. It does not run a model-specific tokenizer. For completed requests, enter the token counts from your API usage.
How does caching change the cost?
Cache reads replace part of the normal input charge. Cache writes use a separate published rate. Each request uses the same assumptions; no cache hit is guaranteed and no automatic warm-up request is included.
What is the base rate comparison?
The platform base rate uses a group multiplier of 1. Your selected group applies its multiplier to the same input, output and cache assumptions. This is not a comparison with verified provider retail prices.
Is my text sent to a server?
No. Text estimation and cost calculation happen locally in your browser. This tool does not upload or store your prompt or sample response.