AI API cost calculator
Estimate your monthly bill for Claude, GPT and Gemini from the tokens you actually send, then add voice-agent minutes. Every model is priced on the same workload so you can compare like for like.
Your workload
30,000 requests per month- Per request
- $0.0071
- Per year
- $2,556
- Prices used
- $2 in · $10 out · $0.10 cached (per 1M tokens)
Show the math
- Input: 1,000 tokens at $2/M + 1,000 cached at $0.10/M = $0.0021
- Output: 500 tokens at $10/M = $0.005
- Per request: $0.0071 × 1,000 requests/day × 30 days = $213/mo
Cheapest of all 18 for these tokens: gpt-5-nano at $7.65/mo. Smaller models are cheaper but not always good enough for the job.
Cache writes are not included: Anthropic and OpenAI charge 1.25× the input price the first time a prefix is cached (5-minute / 30-minute cache), then cheap reads after that.
Same workload on every model
| Model | Tier | Monthly | vs your pick | Note |
|---|---|---|---|---|
| gpt-5-nanoOpenAI | Older | $7.65 | $205.35 less | — |
| Gemini 2.5 Flash-LiteGoogle | Older, cheapest | $9.30 | $203.70 less | — |
| Claude Haiku 5.5Anthropic | Cheap | $10.80 | $202.20 less | — |
| gpt-6-lunaOpenAI | Cheap | $10.80 | $202.20 less | — |
| gpt-5.4-nanoOpenAI | Older | $25.35 | $187.65 less | — |
| Gemini 3.1 Flash-LiteGoogle | Cheap | $30.75 | $182.25 less | — |
| Gemini 3.5 Flash-LiteGoogle | Cheap | $47.40 | $165.60 less | — |
| Gemini 3.8 FlashGoogle | Mid | $81 | $132 less | $162/mo from Jan 1, 2027 |
| gpt-5.4-miniOpenAI | Older | $92.25 | $120.75 less | — |
| gpt-6.1-terraOpenAI | Mid-low | $106.50 | $106.50 less | — |
| Claude Haiku 4.5Anthropic | Previous cheap | $108 | $105 less | — |
| Claude Sonnet 5.5Anthropic | Mid | $213 | Your pick | — |
| gpt-6.1-solOpenAI | Mid | $213 | Same | — |
| Gemini 4 ArgonGoogle | Flagship | $213 | Same | $426/mo from Dec 1, 2026 |
| Gemini 3.1 Pro (preview)Google | Pro | $246 | $33 more | — |
| Claude Opus 5.5Anthropic | Flagship | $426 | $213 more | — |
| Claude Fable 5.1Anthropic | Top tier | $1,057.50 | $844.50 more | — |
| gpt-6-astraOpenAI | Flagship | $1,080 | $867 more | — |
Voice agent minutes
Platform cost per month; the LLM is billed on top| Product | Monthly | How it's priced | Also pay for | Source |
|---|---|---|---|---|
| ElevenLabs Agents (conversational AI)voice agent | $80 | Starter plan $6 (75 min) + 925 extra min × $0.08 | + LLM tokens and phone carrier, billed separately | elevenlabs.ioOfficial |
| ElevenLabs Realtime v1 (speech-to-speech)voice agent | $80 | 1,000 min × $0.08 | + LLM usage | elevenlabs.ioOfficial |
| OpenAI gpt-live-1 voice sessionsvoice agent | $50 | 1,000 min × $0.05 | + backend model and tool usage | developers.openai.comOfficial |
| OpenAI gpt-realtime-2.1 (Realtime API)voice agent | Not estimated | Per token: $32/M audio in, $64/M audio out | OpenAI publishes no tokens-per-minute figure, so we don't guess one | developers.openai.comOfficial |
| ElevenLabs Text-to-speech, Eleven v4speech only | $80 | 1,000 min × ~$0.08 (≈1K characters per minute) | Speech output only, not a full agent | elevenlabs.ioOfficial |
| ElevenLabs Text-to-speech, Flash / Turbospeech only | $40 | 1,000 min × ~$0.04 | Speech output only, not a full agent | elevenlabs.ioOfficial |
Rough total with the token workload above: $213 tokens + $50 cheapest voice platform = $263/mo, before phone-carrier fees.
Check that the voice platform supports your model: OpenAI's voice sessions run OpenAI models.
How the estimate works
Cost per request = uncached input tokens × input price + cached input tokens × cache-read price + output tokens × output price, all per million tokens. Monthly cost = cost per request × requests per day × 30. Batch mode halves the price at all three vendors (Gemini cache reads are left at the listed price because Google doesn't say they stack).
Long prompts can cost more: Claude Haiku 5.5 switches to 5× prices above 100K tokens and Gemini 3.1 Pro above 200K. OpenAI's GPT-6 long-context prices (above 272K tokens) weren't readable on its page, so the calculator flags those cases instead of guessing.
Voice is priced separately because voice platforms bill per minute of talk time, and the model that does the thinking is billed on top.
Prices used
Per 1 million tokens, standard (non-batch) tier.
| Model | Vendor | Input | Output | Cached input | Notes | Source |
|---|---|---|---|---|---|---|
| Claude Fable 5.1 | Anthropic | $10 | $50 | $0.25 | Cache write $12.50 (5-min write) | platform.claude.comOfficial |
| Claude Opus 5.5 | Anthropic | $4 | $20 | $0.20 | Cache write $5 (5-min write) | platform.claude.comOfficial |
| Claude Sonnet 5.5 | Anthropic | $2 | $10 | $0.10 | Cache write $2.50 (5-min write) | platform.claude.comOfficial |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | $0.01 | $0.50 / $2.50 over 100K-token prompts | platform.claude.comOfficial |
| Claude Haiku 4.5 | Anthropic | $1 | $5 | $0.10 | Cache write $1.25 (5-min write) | platform.claude.comOfficial |
| gpt-6-astra | OpenAI | $10 | $50 | $1 | Cache write $12.50 (30-min write) | developers.openai.comOfficial |
| gpt-6.1-sol | OpenAI | $2 | $10 | $0.10 | Cache write $2.50 (30-min write) | developers.openai.comOfficial |
| gpt-6.1-terra | OpenAI | $1 | $5 | $0.05 | Cache write $1.25 (30-min write) | developers.openai.comOfficial |
| gpt-6-luna | OpenAI | $0.10 | $0.50 | $0.01 | Cache write $0.125 (30-min write) | developers.openai.comOfficial |
| gpt-5.4-mini | OpenAI | $0.75 | $4.50 | $0.075 | — | developers.openai.comOfficial |
| gpt-5.4-nano | OpenAI | $0.20 | $1.25 | $0.02 | — | developers.openai.comOfficial |
| gpt-5-nano | OpenAI | $0.05 | $0.40 | $0.005 | — | developers.openai.comOfficial |
| Gemini 4 Argon | $2 | $10 | $0.10 | $4 / $20 from Dec 1, 2026 | ai.google.devOfficial | |
| Gemini 3.1 Pro (preview) | $2 | $12 | $0.20 | $4 / $18 over 200K-token prompts | ai.google.devOfficial | |
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.075 | $1.50 / $7.50 from Jan 1, 2027 | ai.google.devOfficial | |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 | — | ai.google.devOfficial | |
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | $0.025 | — | ai.google.devOfficial | |
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | $0.01 | — | ai.google.devOfficial |
| Product | Type | Price | Detail | Notes | Source |
|---|---|---|---|---|---|
| ElevenLabs Free | Agents plan | $0 | 15 agent min included | $0/mo billed annually | elevenlabs.ioOfficial |
| ElevenLabs Starter | Agents plan | $6/mo | 75 agent min included | $5/mo billed annually | elevenlabs.ioOfficial |
| ElevenLabs Creator | Agents plan | $22/mo | 275 agent min included | $18.33/mo billed annually | elevenlabs.ioOfficial |
| ElevenLabs Pro | Agents plan | $99/mo | 1,238 agent min included | $82.50/mo billed annually | elevenlabs.ioOfficial |
| ElevenLabs Scale | Agents plan | $299/mo | 3,738 agent min included | $249.17/mo billed annually | elevenlabs.ioOfficial |
| ElevenLabs Business | Agents plan | $990/mo | 12,375 agent min included | $825/mo billed annually | elevenlabs.ioOfficial |
| ElevenLabs Agents | Extra minutes | $0.08/min | $0.16/min burst over concurrency | LLM and phone billed separately | elevenlabs.ioOfficial |
| ElevenLabs Realtime v1 | Speech-to-speech | $0.08/min | plus LLM usage | — | elevenlabs.ioOfficial |
| ElevenLabs TTS | Eleven v4 / Flash | $0.08 / $0.04 per 1K chars | ≈ per minute of audio | Same price on every plan | elevenlabs.ioOfficial |
| OpenAI gpt-live-1 | Voice sessions | $0.05/min | billed per second | Backend model and tools extra | developers.openai.comOfficial |
| OpenAI gpt-realtime-2.1 | Realtime API | $32 / $64 per 1M audio tokens | in / out | mini: $10 / $20 | developers.openai.comOfficial |
Try the voice tool
Disclosure: these may be affiliate links. If you sign up through one, we may earn a commission at no extra cost to you. It never changes the math or the ranking above, which come only from published prices.
FAQ
How much does prompt caching save?
Cached input tokens are billed at a fraction of the normal input price: 0.025x on Claude Fable 5.1, 0.05x on Claude Opus 5.5 and Sonnet 5.5, 0.05x to 0.1x on GPT-6 models, and 0.1x on Gemini. On Claude Opus 5.5 that's $0.20 per million cached tokens instead of $4. The saving only applies to the part of the prompt that repeats, such as a long system prompt or a shared document.
Are cache writes included in the estimate?
No. Anthropic charges 1.25x the input price to write a 5-minute cache entry (2x for 1 hour) and OpenAI charges 1.25x for a 30-minute entry (2.5x for 12 hours). Each cached prefix is written once and then read many times, so at steady traffic the reads dominate. Gemini has no write premium but charges an hourly storage fee for explicit caches.
What does the Batch API change?
Anthropic, OpenAI and Google all take 50% off for batch jobs, which run asynchronously instead of answering right away. It suits back-office work like classification, extraction or nightly reports, not chat.
Why do some Gemini prices change soon?
Google has announced that Gemini 4 Argon doubles to $4 input / $20 output per million tokens on Dec 1, 2026, and Gemini 3.8 Flash doubles to $1.50 / $7.50 on Jan 1, 2027. The calculator uses whichever price applies on your date and shows the upcoming cost before the change.
What does a voice agent cost per minute?
ElevenLabs Agents bill $0.08 per call minute (plans include minutes at the same rate; $0.16 when you go over your concurrency limit). OpenAI's gpt-live-1 voice sessions are $0.05 per minute. In both cases the LLM that does the thinking is billed separately, and phone-carrier fees (Twilio, SIP) come on top.
Why isn't OpenAI's Realtime API priced per minute here?
gpt-realtime-2.1 is billed per token ($32 per million audio input tokens, $64 per million audio output tokens) and OpenAI doesn't publish how many audio tokens a minute of speech uses. Rather than guess, we show the token prices.