Every LLM bill reduces to one formula: (input tokens ÷ 1M × input rate) + (output tokens ÷ 1M × output rate), summed over your calls. The calculator below runs that math against Kunavo's live catalog rates — the same numbers the API actually bills, listed next to each provider's official price — so you can budget a workload for Claude, Gemini and GPT in seconds.
Per call
$0.00092
Per day (500 calls)
$0.458
Per month (30d)
$13.73
saves $32.02/mo vs the provider's list price ($45.75)
Rates are Kunavo's live catalog prices (USD per 1M tokens), the same numbers the API bills. Prompt caching, batch discounts and per-model nuances can lower real spend further.
Reading the results
The presets encode realistic token shapes: a support reply is light (~800 in / 200 out), a RAG answer carries retrieved context (~6,000 in / 500 out), one coding-agent step is heavier still (~10,000 in / 1,500 out), and long-document analysis is input-dominated (50,000+ in). If you don't know your own shape yet, log usage.prompt_tokens and usage.completion_tokens from a day of real traffic — every OpenAI-compatible response carries them.
Worked examples at current rates
| Workload | Shape (in / out) | Model | Per call | 1,000/day → per month |
|---|---|---|---|---|
| Support bot | 800 / 200 | claude-haiku-4-5 | $0.00072 | $21.60 |
| RAG assistant | 6,000 / 500 | claude-sonnet-4-6 | $0.0102 | $306 |
| Classifier / router | 400 / 20 | gemini-2-5-flash | $0.000051 | $1.53 |
Full per-model rates live on the pricing page — every model shows its Kunavo price next to the provider's official rate (typically 60%+ under list for Claude).
Four levers that shrink the number
- Prompt caching. A large stable system prompt or knowledge block bills at ~10% of the input rate once cached — for prompt-heavy apps this alone halves the bill. See the caching deep dive.
- Model tiering. Route easy calls to
gemini-2-5-flashorclaude-haiku-4-5and reserve frontier models for the hard fraction — the calculator makes the delta obvious. - Cap max_tokens. Output is ~5× input; unbounded generation is unbounded spend.
- Trim retrieval. Fewer, better-ranked RAG chunks cut input tokens without hurting quality. Patterns in the cost optimization guide.
FAQ
How do I count tokens before sending?
Estimate with 1 token ≈ 4 English characters, or count exactly: Anthropic exposes a count-tokens endpoint and OpenAI-wire models tokenize with tiktoken. For budgeting, yesterday's usage fields beat any estimator.
Do failed requests cost money?
On Kunavo, no — failed requests are never billed, and the prepaid wallet (from $5, never expires) fails closed at zero instead of surprise-invoicing you.
Can I get these rates programmatically?
Yes — GET /v1/models lists every enabled model, and llms.txt carries a machine-readable catalog snapshot for agents. Start with a free account and the quickstart.