calc.dev.brAI calculators for developers

Claude · ChatGPT · tokens · context

What does it cost to run Claude and ChatGPT? Work it out in seconds.

Free calculators for people building with AI: monthly API cost, model comparison, token counter, context window, prompt caching, coding agents and subscription vs API.

API price per 1 million tokensinput · output · in US$
ModelInputOutput
Claude Fable 5.1$10.00$50.00
Claude Opus 5.5$4.00$20.00
Claude Sonnet 5.5$2.00$10.00
Claude Haiku 4.5$1.00$5.00
GPT-5.6 Sol$5.00$30.00
GPT-5.6 Terra$2.00$12.00
GPT-5.6 Luna$0.20$1.20
Prices updated October 2026Compare the cost of every model →
api-cost.tsAPI cost
tokens
Prompt + history + attached documents.
tokens
%
Batch API (−50%)
Examples
Open the full calculator →

API cost

Tokens & context

Plans & agents