AI & LLM development
LLM API Cost Calculator
Enter your monthly requests and average token counts. The calculator prices the same workload on Claude, OpenAI, and Gemini models, grouped into price tiers so the comparison stays fair. It runs entirely in your browser, and nothing you type is sent anywhere.
This is the companion to my guide, Claude vs GPT vs Gemini: An API Comparison for Developers. I have no affiliation with any of these vendors, and the prices come from their own pricing pages.
- Runs in your browser
- Nothing is sent anywhere
- Prices checked on vendor pages
Estimated monthly cost
Tiers are price groupings that I chose. They do not claim that the models are equal in quality, and a cheaper model that fails your task costs more in the end. Run your own test set before you decide.
What this does not include
- Tool charges, such as web search at $10 per 1,000 searches on Claude and OpenAI, or Google Search grounding on Gemini.
- Faster service tiers, such as OpenAI's Flex, Fast, and Ultrafast modes, and Claude's fast mode.
- Longer cache lifetimes, which cost more to write, and Gemini's hourly storage fees for explicit caches.
- Free tiers, rate limits, volume discounts, committed-use deals, data residency surcharges, and taxes.
- Older models that each vendor still lists, and models in limited availability.
Price list and sources
Prices are USD per million tokens, checked against each vendor's own pricing page on November 20, 2026. Cache writes assume a 5-minute lifetime on Claude and a 30-minute lifetime on OpenAI.
| Model | Tier | Input / output | Cache read / write | Notes |
|---|---|---|---|---|
| Claude Fable 5.2Anthropic | Top reasoning | $8.00 / $40.00 | $0.20 / $10.00 | - |
| GPT-6.2 AstraOpenAI | Top reasoning | $8.00 / $40.00 | $0.40 / $10.00 | Prompts over 272,000 tokens: $16.00 / $60.00. |
| Gemini 4 CarbonGoogle | Top reasoning | $4.00 / $20.00 | $0.20 / $4.00 | - |
| Gemini 4 ArgonGoogle | Top reasoning | $4.00 / $20.00 | $0.20 / $4.00 | - |
| Claude Opus 5.5Anthropic | Strong all-rounder | $4.00 / $20.00 | $0.20 / $5.00 | - |
| Gemini 4 NeonGoogle | Strong all-rounder | $3.00 / $15.00 | $0.15 / $3.00 | - |
| Claude Sonnet 5.5Anthropic | Everyday workhorse | $2.00 / $10.00 | $0.10 / $2.50 | - |
| GPT-6.2 SolOpenAI | Everyday workhorse | $2.00 / $10.00 | $0.10 / $2.50 | Prompts over 272,000 tokens: $4.00 / $15.00. |
| GPT-6.1 TerraOpenAI | Everyday workhorse | $1.00 / $5.00 | $0.050 / $1.25 | Prompts over 272,000 tokens: $2.00 / $7.50. |
| Gemini 4 HydrogenGoogle | Everyday workhorse | $1.50 / $7.50 | $0.075 / $1.50 | - |
| Gemini 3.8 FlashGoogle | Everyday workhorse | $0.75 / $3.75 | $0.075 / $0.75 | Later: $1.50 / $7.50. Price doubles on January 1, 2027. |
| Claude Haiku 5.5Anthropic | Fast and cheap | $0.10 / $0.50 | $0.010 / $0.13 | Prompts over 100,000 tokens: $0.50 / $2.50. |
| GPT-6 LunaOpenAI | Fast and cheap | $0.10 / $0.50 | $0.010 / $0.13 | Prompts over 272,000 tokens: $0.20 / $0.75. |
| Gemini 3.5 Flash-LiteGoogle | Fast and cheap | $0.30 / $2.50 | $0.030 / $0.30 | - |