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.

Your plan
How you use it

Per month

API is cheaper

Cost per message (API)$0.012
API at 30 messages/day$10.94
Claude Pro$20.00
Break-even55 msgs/day
Cheaper for youAPI

Embed this calculator

Paste this into your page. The frame loads the calculator with the scenario currently in the link; free to use, with a visible link back to this site inside.

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.

ModelVendorInput $/MOutput $/MCache read $/MChecked
Claude Fable 5.1Anthropic$10$50$0.25
Claude Opus 5.5Anthropic$4$20$0.20
Claude Sonnet 5.5Anthropic$2$10$0.10
Claude Haiku 5.5Anthropic$0.10$0.50$0.01
GPT-6 AstraOpenAI$10$50$1
GPT-6.1 SolOpenAI$2$10$0.10
GPT-6 LunaOpenAI$0.10$0.50$0.01
Gemini 3.1 Pro (Preview)Google$2$12$0.20
Gemini 3.8 FlashGoogle$0.75$3.75$0.075
Gemini 3.5 Flash-LiteGoogle$0.30$2.50$0.03
Gemini 3.1 Flash-LiteGoogle$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

ModelAPI per monthBreak-even msgs/day
Claude Haiku 5.5 Anthropic$0.5471,096
GPT-6 Luna OpenAI$0.5471,096
Gemini 3.1 Flash-Lite Google$1.50399
Gemini 3.5 Flash-Lite Google$2.19274
Gemini 3.8 Flash Google$4.10146
Claude Sonnet 5.5 Anthropic$10.9455
GPT-6.1 Sol OpenAI$10.9455
Gemini 3.1 Pro (Preview) Google$12.0450
Claude Opus 5.5 Anthropic$21.8927
Claude Fable 5.1 Anthropic$54.7211
GPT-6 Astra OpenAI$54.7211

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.

Related guides

More calculators

Price Watch: AI and hosting price changes, once a month

One short email a month: which model and hosting prices changed, what that does to a typical small-app bill, and one update from our own ledger. Free, unsubscribe any time.

We'll email you once to confirm. See the privacy policy.