Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
FREE TOOL · no sign-up

LLM API Cost Calculator (2026)

Bottom line

Cheapest LLM API for 2027: Claude Haiku 5.5 — $0.10 input and $0.50 output per 1M tokens (prompts up to 100K), followed by DeepSeek V4.1 Flash at $0.30/$1.20. Best value for production coding and agents: Claude Sonnet 5.5 and GPT-6.2 Sol at $2/$10 with a context window of 1M tokens or more. Frontier quality costs from $4/$20 (Claude Opus 5.5) to $8/$40 (GPT-6.2 Astra, Claude Fable 5.2). DeepSeek and Qwen are the only providers here that work from Russia without foreign billing.

Compare the real monthly cost of 14 models — Claude Opus 5.5, GPT-6.2, Gemini 4, DeepSeek V4, Qwen 3 Coder, Kimi K3 — with prompt caching, in USD, RUB, BRL or EUR. See at a glance which providers work from Russia directly and which require foreign billing.

Updated: Prices checked November 27, 202614 LLM
Scenarios
Currency
Sort by
90M input + 18M output tokens per month
Price per 1M tokens (in · cached · out) · USDPer month / Per year
Claude Haiku 5.5Anthropic · claude-haiku-5-5Cheapest
● Foreign billing requiredFast
$0.1 · $0.01 · $0.5
The cheapest Claude: prompts above 100K tokens are billed at a 5× tier (included).
$14.76$177 / per year
DeepSeek V4.1 FlashDeepSeek · deepseek-flash
● Works from RussiaBalanced
$0.3 · $0.006 · $1.2
Successor of V3.2 and R1: the legacy deepseek-chat / deepseek-reasoner names were retired on 2026-07-24. Off-peak (UTC) −50%. The API does not block Russian users.
$38.02$456 / per year
Qwen 3 Coder FlashAlibaba Qwen · qwen3-coder-flash
● Works from RussiaFast
$0.3 · — · $1.5
Priced by context band (32K / 128K / 256K / 1M). Open-weight Qwen models can be self-hosted or run on Russian clouds billed in rubles.
$54$648 / per year
Gemini 3.8 FlashGoogle · gemini-3.8-flash
● Foreign billing requiredFastPromo price until December 31, 2026
$0.75 · $0.075 · $3.75
$111$1,328 / per year
DeepSeek V4 ProDeepSeek · deepseek-v4-pro
● Works from RussiaDeliberate
$1.32 · $0.044 · $3.96
DeepSeek’s flagship for heavy reasoning; 1M context, off-peak −50%.
$144$1,730 / per year
Claude Haiku 4.5Anthropic · claude-haiku-4-5-20251001
● Foreign billing requiredFast
$1 · $0.1 · $5
$148$1,771 / per year
Claude Sonnet 5.5Anthropic · claude-sonnet-5-5
● Foreign billing requiredBalanced
$2 · $0.1 · $10
$292$3,499 / per year
GPT-6.2 SolOpenAI · gpt-6.2-sol
● Foreign billing requiredBalanced
$2 · $0.1 · $10
$292$3,499 / per year
Gemini 4 NeonGoogle · gemini-4-neon
● Foreign billing requiredBalanced
$3 · $0.15 · $15
$437$5,249 / per year
Kimi K3Moonshot AI · kimi-k3
● Foreign billing requiredDeliberate
$3 · $0.3 · $15
1M context, open weights.
$443$5,314 / per year
Claude Opus 5.5Anthropic · claude-opus-5-5
● Foreign billing requiredDeliberate
$4 · $0.2 · $20
$583$6,998 / per year
Gemini 4 CarbonGoogle · gemini-4-carbon
● Foreign billing requiredDeliberate
$4 · $0.2 · $20
$583$6,998 / per year
Claude Fable 5.2Anthropic · claude-fable-5-2
● Foreign billing requiredDeliberate
$8 · $0.2 · $40
$1,159$13,910 / per year
GPT-6.2 AstraOpenAI · gpt-6.2-astra
● Foreign billing requiredDeliberate
$8 · $0.4 · $40
$1,166$13,997 / per year

Prices are indicative API list prices from official provider pages (November 27, 2026), excluding VAT/taxes, the −50% batch discount, regional surcharges and cache-write fees. A month is 30 days. Speed is the model’s class within its vendor lineup, not a benchmark. DeepSeek: peak rate shown, off-peak hours are −50%; the legacy deepseek-chat/deepseek-reasoner names (V3.2/R1) were retired on 2026-07-24 and replaced by deepseek-flash. Bank of Russia FX for November 26, 2026: $1 = 82.31 RUB · 0.912 EUR · 5.857 BRL

2026–2027 LLM API Pricing Comparison (Updated November 2026)

Prices checked November 27, 2026

ModelProviderInput $/1M tokensOutput $/1M tokensContext windowBest for
Claude Opus 5.5claude-opus-5-5Anthropic$4.00$20.001MHardest coding tasks, long agent runs, code review
Claude Fable 5.2claude-fable-5-2Anthropic$8.00$40.001MFrontier reasoning when quality matters more than cost
Claude Sonnet 5.5claude-sonnet-5-5Anthropic$2.00$10.001MDefault for production coding and agents
Claude Haiku 5.5claude-haiku-5-5Anthropic$0.10>100K: $0.50$0.50>100K: $2.501MHigh-volume chat, classification, sub-agents
Claude Haiku 4.5claude-haiku-4-5-20251001Anthropic$1.00$5.00200KExisting pipelines pinned to the 4.5 generation
GPT-6.2 Astragpt-6.2-astraOpenAI$8.00>272K: $16.00$40.00>272K: $60.001.05MDeep reasoning, audits, hard debugging
GPT-6.2 Solgpt-6.2-solOpenAI$2.00>272K: $4.00$10.00>272K: $15.001.05MEveryday coding and tool calling
Gemini 4 Carbongemini-4-carbonGoogle$4.00$20.001MGoogle’s flagship for complex multimodal work
Gemini 4 Neongemini-4-neonGoogle$3.00$15.001MBalanced multimodal apps
Gemini 3.1 Pro (Preview)gemini-3.1-pro-previewGoogle$2.00>200K: $4.00$12.00>200K: $18.001MProjects already built on Gemini 3.x
Gemini 3.8 Flashgemini-3.8-flashGoogle$1.50$0.75 · Promo price until December 31, 2026$7.50$3.75 · Promo price until December 31, 20261MFast, low-cost multimodal at scale
DeepSeek V4.1 Flashdeepseek-flashDeepSeek$0.30$1.201MLow-cost agents; works from Russia without foreign billing
DeepSeek V4 Prodeepseek-v4-proDeepSeek$1.32$3.961MBudget heavy reasoning; works from Russia without foreign billing
Qwen 3 Coder Flashqwen3-coder-flashAlibaba Qwen$0.30>32K: $0.50–$1.60$1.50>32K: $2.50–$9.60—Budget coding; open-weight family you can self-host
Kimi K3kimi-k3Moonshot AI$3.00$15.001MOpen-weight agent model with a 1M-token context

Official API list prices in USD per 1M tokens, checked November 27, 2026. Sources: Anthropic, OpenAI, Google, DeepSeek, Alibaba Model Studio, Moonshot AI. Small print under a price shows an active promo price or the long-context tier (for example, prompts above 272K tokens). Not included: taxes, the −50% batch discount, cache-write fees and DeepSeek’s −50% off-peak rate. The calculator above turns these prices into a monthly bill for your own traffic.

Frequently asked questions

Which LLM API is the cheapest for 2027?

By official list price, Claude Haiku 5.5 is the cheapest model in this comparison: $0.10 per 1M input tokens and $0.50 per 1M output tokens for prompts up to 100K tokens (5× more above that). DeepSeek V4.1 Flash follows at $0.30/$1.20, with a −50% off-peak rate, and Qwen 3 Coder Flash at $0.30/$1.50 for prompts up to 32K tokens. Prices were checked against the official pricing pages in November 2026.

Which LLM API is the best value for 2027?

For production coding and agent workloads the best price-to-capability point is the $2/$10 tier: Claude Sonnet 5.5 (1M-token context) and GPT-6.2 Sol (1.05M-token context; prompts above 272K tokens are billed at $4/$15). Step up to Claude Opus 5.5 ($4/$20) only for the hardest tasks, and route simple high-volume calls to Claude Haiku 5.5 or DeepSeek V4.1 Flash. Prompt-cache hits cut the input price by up to 95%.

What changes in LLM API prices on January 1, 2027?

Two Google promotions end around the new year. Gemini 3.8 Flash costs $0.75/$3.75 per 1M tokens through December 31, 2026 and $1.50/$7.50 from January 1, 2027. Gemini 4 Carbon costs $2/$10 through November 30, 2026 and $4/$20 from December 1, 2026. The calculator and the table switch to the regular price automatically by date.

How is the monthly cost calculated?

Cost = requests per day × 30 × (input tokens × [(1 − cache hit) × input price + cache hit × cached price] + output tokens × output price) / 1,000,000. Annual cost = monthly × 12. Higher tiers are applied automatically: GPT-6.2 above 272K input tokens, Claude Haiku 5.5 above 100K and Qwen 3 Coder per context band.

How accurate are the prices?

They are API list prices from the official Anthropic, OpenAI, Google, DeepSeek and Alibaba pricing pages as of 2026-11-27. VAT, the −50% Batch discount, regional surcharges and cache-write fees are not included. Promo prices for Gemini 4 Carbon (until 2026-11-30) and Gemini 3.8 Flash (until 2026-12-31) switch automatically by date.

How much does prompt caching save?

A repeated prompt prefix (system prompt, instructions, documents) is billed at the cached rate after the first call: Claude Opus 5.5 charges $0.20 instead of $4 per million tokens (−95%), DeepSeek V4.1 Flash $0.006 instead of $0.30 (−98%). Agents and RAG pipelines typically see 50–90% cache hits.

Which models work from Russia?

Directly: DeepSeek (its API does not block Russian users; pay with a non-Russian card or through Russian OpenAI-compatible aggregators in rubles) and open-weight Qwen models (self-hosted or on Russian clouds). Anthropic, OpenAI and Google do not officially serve Russia and require foreign billing; we do not recommend workarounds.

Free · Daily AI brief

The AI brief engineers actually read

The day’s most important AI stories — models, tools, prices and agents — in five minutes. Free, unsubscribe in one click.