Free calculator · runs in your browser
Claude subscription vs API cost calculator
A chat plan is a flat fee; the API charges per token. Enter how you use it and see which is cheaper, and how many messages a day it takes to break even.
At list prices checked 28 Oct 2026, Claude Sonnet 5.5 costs $2 per million input tokens and $10 per million output tokens, so 30 chat messages a day (3,000 input and 600 output tokens each) cost about $10.94 a month on the API against $20 for Claude Pro. The API stays cheaper than Claude Pro up to about 55 messages a day on Claude Sonnet 5.5, 27 on Claude Opus 5.5 and 1,096 on Claude Haiku 5.5.
Per month
API is cheaper
| Cost per message (API) | $0.012 |
| API at 30 messages/day | $10.94 |
| Claude Pro | $20.00 |
| Break-even | 55 msgs/day |
| Cheaper for you | API |
Want this as a tool of your own, with the model cost ($10.94/month here) worked out up front? See example builds.
Sources
- platform.claude.com/docs/en/about-claude/pricing
- developers.openai.com/api/docs/pricing
- ai.google.dev/gemini-api/docs/pricing
- claude.com/pricing
- one.google.com/about/plans
- api.vultr.com/v2/plans
- hetzner.com/cloud/regular-performance/
- digitalocean.com/pricing/droplets
- digitalocean.com/pricing/app-platform
- digitalocean.com/pricing/managed-databases
- railway.com/pricing
- brevo.com/pricing/
Current list prices (checked 15 Oct 2026)
USD per million tokens, standard (non-batch) API tier, before tax. "Cache read" is the price of input tokens served from a prompt cache. Each row shows when it was last checked on the provider's own pricing page.
| Model | Vendor | Input $/M | Output $/M | Cache read $/M | Checked |
|---|---|---|---|---|---|
| Claude Fable 5.1 | Anthropic | $10 | $50 | $0.25 | |
| Claude Opus 5.5 | Anthropic | $4 | $20 | $0.20 | |
| Claude Sonnet 5.5 | Anthropic | $2 | $10 | $0.10 | |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | $0.01 | |
| GPT-6 Astra | OpenAI | $10 | $50 | $1 | |
| GPT-6.1 Sol | OpenAI | $2 | $10 | $0.10 | |
| GPT-6 Luna | OpenAI | $0.10 | $0.50 | $0.01 | |
| Gemini 3.1 Pro (Preview) | $2 | $12 | $0.20 | ||
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.075 | ||
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 | ||
| Gemini 3.1 Flash-Lite | $0.25 | $1.50 | $0.025 |
Notes and sources
- Claude Fable 5.1: cache_write = 5-minute cache write; cache hits priced at 0.025x base input. 1M context at standard pricing. US-only inference (inference_geo) is 1.1x.
- Claude Opus 5.5: cache_write = 5-minute cache write; cache hits priced at 0.05x base input. 1M context at standard pricing. Fast mode costs extra.
- Claude Sonnet 5.5: cache_write = 5-minute cache write; cache hits priced at 0.05x base input. 1M context at standard pricing.
- Claude Haiku 5.5: Batch prices are for prompts up to 100,000 tokens too (over: $0.25 in, $1.25 out). Prices are for prompts up to 100,000 tokens. Prompts over 100,000 tokens: input $0.50, output $2.50, cache read $0.05, 5m cache write $0.625, 1h cache write $1.
- GPT-6 Astra: Standard tier, short context (<=272K input tokens). Long context (>272K): input $20, cached $2, cache write $25, output $75. Regional/data-residency endpoints +10%.
- GPT-6.1 Sol: Standard tier, short context (<=272K input tokens). Long context (>272K): input $4, cached $0.20, cache write $5, output $15. Regional/data-residency endpoints +10%.
- GPT-6 Luna: Standard tier, short context (<=272K input tokens). Long context (>272K): input $0.20, cached $0.02, cache write $0.25, output $0.75. Regional/data-residency endpoints +10%.
- Gemini 3.1 Pro (Preview): Paid tier, prompts <=200k tokens. >200k: input $4, output $18, caching $0.40. Output includes thinking tokens. Cache storage $4.50 per 1M tokens per hour. Model is a preview.
- Gemini 3.8 Flash: Paid tier. Prices valid through 2026-12-31. From 2027-01-01: input $1.50, output $7.50, caching $0.15, storage $1.00/1M tokens/hour. No separate long-context tier.
- Gemini 3.5 Flash-Lite: Paid tier. Same price for text/image/video/audio. No separate long-context tier. The older Gemini 3.1 Flash-Lite costs less (see next entry).
- Gemini 3.1 Flash-Lite: Paid tier, text/image/video prices. Audio input $0.50, audio caching $0.05.
Sources: platform.claude.com, developers.openai.com, ai.google.dev. Raw data: /data/prices.json.
The same usage on every model
| Model | API per month | Break-even msgs/day |
|---|---|---|
| Claude Haiku 5.5 Anthropic | $0.547 | 1,096 |
| GPT-6 Luna OpenAI | $0.547 | 1,096 |
| Gemini 3.1 Flash-Lite Google | $1.50 | 399 |
| Gemini 3.5 Flash-Lite Google | $2.19 | 274 |
| Gemini 3.8 Flash Google | $4.10 | 146 |
| Claude Sonnet 5.5 Anthropic | $10.94 | 55 |
| GPT-6.1 Sol OpenAI | $10.94 | 55 |
| Gemini 3.1 Pro (Preview) Google | $12.04 | 50 |
| Claude Opus 5.5 Anthropic | $21.89 | 27 |
| Claude Fable 5.1 Anthropic | $54.72 | 11 |
| GPT-6 Astra OpenAI | $54.72 | 11 |
How it works
Cost per message = input tokens × input price + output tokens × output price (per million tokens), with the cached share of input at the cache-read price. The monthly API cost is that × messages per day × 30.4. Break-even is the number of messages a day at which the API costs the same as the plan.
Chat plans include things the API doesn't (apps, file handling, web search, higher limits on heavier tiers) and the API includes things plans don't (no usage caps, automation). This compares cost only. For the prices in words, with worked examples, read what the Claude API costs.
Questions
Is the Claude API expensive?
Not for light use. At Claude Sonnet 5.5's list price ($2 in, $10 out per million tokens) a 3,000-token question with a 600-token answer costs about $0.012; 30 of them a day is about $10.94 a month. Costs grow with long conversations, big attachments and heavy daily use, which is where a flat plan wins.
Why do long chats cost so much more on the API?
Every message re-sends the conversation so far as input. A 20-message chat sends the first message 20 times. That is why the input-tokens default here (3,000) is much larger than a typical question. Use a higher number for long chats or attached documents.
Is the subscription really unlimited?
No. Chat plans have usage limits that reset over hours or days, and heavier tiers raise those limits. If you hit the limits often, compare against the higher tier or the API.
Where is ChatGPT Plus?
We only list prices we could read on the provider's own pricing page, and OpenAI's consumer pricing pages didn't load for us when we checked. Pick 'Another plan' and enter the price you pay.