Home / Cost calculator
LLM cost calculator
Estimate request and monthly API spend across providers. Tune cache hit %, Batch API, and users × messages per day. Same TokenCALC engine as the token counter, cost first.
Full calculator · Tokenizer · Pricing guide · Prompt cost · Prompt caching · Pricing changelog
Cost calculator
Paste a prompt, tune cache and batch, compare models, and share the estimate URL. Token text never leaves this browser.
$0.004226estimated request costExact tokens
- Input tokens
- 65
- Output tokens
- 512
- Input cost
- $0.00013
- Output cost
- $0.004096
- Characters
- 306
- Words
- 51
Monthly projector
- Daily
- $2.113
- Monthly
- $63.39
- Yearly
- $771.25
Rates in $2.00/1M · out $8.00/1M
Context 577 / 1,000,000 · Verified · official pricing
gpt-tokenizer · o200k_base
Token pieces
ExactYou·are·a·helpful·assistant.↵↵Summarize·the·following·notes·in·5·bullet·points,·then·suggest·one·follow-up·question.↵↵Notes:↵-·Q2·API·spend·rose·40%·after·launching·the·new·chat·feature↵-·Caching·cut·prompt·costs·on·repeated·system·messages↵-·Team·wants·a·monthly·budget·projector·before·next·board·meeting
Compare models
Same prompt, output size, cache, and batch settings across models.
| Model | Accuracy | Input tok | Request | Monthly |
|---|---|---|---|---|
DeepSeek V4 FlashDeepSeek | Approx | 77 | $0.000154 | $2.31 |
Gemini 2.5 FlashGoogle | Approx | 77 | $0.001303 | $19.55 |
GPT-4.1OpenAI | Exact | 65 | $0.004226 | $63.39 |
Claude Sonnet 5Anthropic | Approx | 77 | $0.005274 | $79.11 |
Related
Cache savings · Batch pricing · Compare models · Providers · Claude guide · Gemini guide · OpenAI guide
Cost calculator FAQ
- Is this a separate product from the token calculator?
- No. Cost calculator is the same TokenCALC tool with cost and monthly projection emphasized. Tokenizer and Home share the same engine.
- How do I estimate monthly spend?
- Set output tokens, optional cache hit % and Batch, then enter users and messages per day. The panel projects daily, monthly, and yearly cost.
- Are prices live?
- Rates are curated from official provider pages and stamped with a last-verified date on each model. Always confirm critical budgets on the provider’s pricing page.