Home/Tools/LLM Cost Calculator
Free Tool

LLM API cost calculator.

At 100,000 requests a month (2,000 tokens in, 400 out), the API bill runs from about $108 on DeepSeek V4.1 Flash to $800 on Claude Sonnet 5.5 or GPT-6.1 Sol. Compare what Claude, GPT, Gemini and open-weight models cost to run at your volume, by the month and by the year. Then see what caching and batching save.

Prices last checked
01·Models (4 selected · per 1M tokens)
Anthropic
OpenAI
Google
Open-weight · hosted on Together AI
req / mo
03·Tokens per request
in
out
≈ 1,500 words in, 300 words out (1 token ≈ ¾ of an English word).
04·Savings plan
0%
Share of input tokens that repeat across requests (system prompt, tools, shared docs) and hit the cache.
0%
Share of requests that can wait up to 24h for results (50% off where offered).
05·Monthly vs yearly cost, cheapest first
DeepSeek V4.1 FlashCheapest
Together AI · $1.08 per 1K req
Monthly
$108
Yearly
$1,296
Input $60.00 · Output $48.00 / mo
Gemini 3.8 Flash
Google · $3.00 per 1K req
Monthly
$300
Yearly
$3,600
Input $150 · Output $150 / mo · Intro price until Dec 31, 2026. Then $1.50 in / $7.50 out.
Claude Sonnet 5.5
Anthropic · $8.00 per 1K req
Monthly
$800
Yearly
$9,600
Input $400 · Output $400 / mo
GPT-6.1 Sol
OpenAI · $8.00 per 1K req
Monthly
$800
Yearly
$9,600
Input $400 · Output $400 / mo
Methodology

LLM API prices per 1M tokens

Monthly cost = requests × (input tokens × input price + output tokens × output price) ÷ 1M. Cached input is billed at the cache-hit rate, and batched requests get the provider's batch discount on every token. Yearly cost is 12 × the monthly figure. Prices last checked November 2, 2026.

Anthropic

ModelInCachedOut
Claude Fable 5.1$10$0.25$50
Claude Opus 5.5$4$0.20$20
Claude Sonnet 5.5$2$0.10$10
Claude Haiku 5.5$0.10$0.01$0.50
Batch API: 50% off input and output.

OpenAI

ModelInCachedOut
GPT-6 Astra$10$1$50
GPT-6.1 Sol$2$0.10$10
GPT-6.1 Terra$1$0.05$5
GPT-6 Luna$0.10$0.01$0.50
Batch API: 50% off input and output.

Google

ModelInCachedOut
Gemini 4 Argon$2$0.10$10
Gemini 3.1 Pro (preview)$2$0.20$12
Gemini 3.8 Flash$0.75$0.075$3.75
Gemini 3.1 Flash-Lite$0.25$0.025$1.50
Batch API: 50% off input and output.

Open-weight · Together AI

ModelInCachedOut
Kimi K3$3$0.30$15
DeepSeek V4 Pro$1.32$0.13$3.96
GLM-5.3$1.40$0.26$4.40
DeepSeek V4.1 Flash$0.30$0.006$1.20
gpt-oss-120B$0.15—$0.60
No batch rates published.
FAQ

LLM API pricing: common questions

Cheapest · DeepSeek V4.1 Flash
$108 / mo
Get a quote