TokenMeters

Know the bill before you build.

English日本語한국어

🇰🇷 TokenMeters, now in Korean: see API prices in won (₩) →🇯🇵 TokenMeters, now in Japanese: see API prices in yen (¥) →

AI model cost calculator

Estimate what your chatbot, coding agent or RAG app will cost on GPT, Claude, Gemini, Grok, Mistral, DeepSeek, Meta, MiniMax and Xiaomi models. Prices from official pages, last updated 2026-11-30.

New: cheapest LLM APIs by price per million tokens · Cheapest LLM APIs in 2026 · model cost comparisons.

Models

Weekly digest

Get the weekly AI price-drop digest

One short email a week when model prices change. No spam.

Unsubscribe anytime.

Cheapest pick—
Per request—
Per day—
Per month (30d)—
ModelProviderPer requestPer dayPer monthIn / Out per 1MCached per 1M

Sorted by cost, cheapest first. Excludes batch discounts, long-context surcharges, cache-write fees, tool fees and taxes.

AI API price table (per 1M tokens)

ModelProviderInputOutputCachedContextSource
GPT-6.2 AstraOpenAI$8$40$0.4—source · 2026-11-30
GPT-6.2 SolOpenAI$2$10$0.1—source · 2026-11-30
GPT-6 AstraOpenAI$10$50$1—source · 2026-11-30
GPT-6.1 SolOpenAI$2$10$0.1—source · 2026-11-30
GPT-6.1 TerraOpenAI$1$5$0.05—source · 2026-11-30
GPT-6 SolOpenAI$2$10$0.2—source · 2026-11-30
GPT-6 LunaOpenAI$0.1$0.5$0.01—source · 2026-11-30
GPT-5.6 SolOpenAI$4$20$0.4—source · 2026-11-30
GPT-5.6 TerraOpenAI$2$12$0.2—source · 2026-11-30
GPT-5.6 LunaOpenAI$0.2$1.2$0.02—source · 2026-11-30
GPT-5.5OpenAI$5$30$0.5—source · 2026-11-30
GPT-5.4OpenAI$2.5$15$0.25—source · 2026-11-30
GPT-5.4 miniOpenAI$0.75$4.5$0.075—source · 2026-11-30
GPT-5.4 nanoOpenAI$0.2$1.25$0.02—source · 2026-11-30
GPT-5 nanoOpenAI$0.05$0.4$0.005—source · 2026-11-30
Claude Fable 5.2Anthropic$8$40$0.21Msource · 2026-11-30
Claude Fable 5.1Anthropic$10$50$0.251Msource · 2026-11-30
Claude Fable 5Anthropic$10$50$11Msource · 2026-11-30
Claude Opus 5.5Anthropic$4$20$0.21Msource · 2026-11-30
Claude Opus 5Anthropic$5$25$0.51Msource · 2026-11-30
Claude Sonnet 5.5Anthropic$2$10$0.11Msource · 2026-11-30
Claude Sonnet 5Anthropic$2$10$0.21Msource · 2026-11-30
Claude Haiku 5.5Anthropic$0.1$0.5$0.01—source · 2026-11-30
Claude Haiku 4.5Anthropic$1$5$0.1—source · 2026-11-30
Gemini 4 CarbonGoogle$2$10$0.11Msource · 2026-11-30
Gemini 4 ArgonGoogle$2$10$0.1—source · 2026-11-30
Gemini 4 NeonGoogle$3$15$0.151Msource · 2026-11-30
Gemini 4 HydrogenGoogle$1.5$7.5$0.0751Msource · 2026-11-30
Gemini 3.8 FlashGoogle$0.75$3.75$0.075—source · 2026-11-30
Gemini 3.6 FlashGoogle$0.75$3.75$0.075—source · 2026-11-30
Gemini 3.1 Pro PreviewGoogle$2$12$0.2—source · 2026-11-30
Gemini 3.5 Flash-LiteGoogle$0.3$2.5$0.03—source · 2026-11-30
Gemini 3.1 Flash-LiteGoogle$0.25$1.5$0.025—source · 2026-11-30
Gemini 2.5 ProGoogle$1.25$10$0.125—source · 2026-11-30
Gemini 2.5 FlashGoogle$0.3$2.5$0.03—source · 2026-11-30
Gemini 2.5 Flash-LiteGoogle$0.1$0.4$0.01—source · 2026-11-30
Grok 4.7xAI$2$6$0.5500Ksource · 2026-11-30
Grok 4.6xAI$2$6$0.5500Ksource · 2026-11-30
Grok 4.5xAI$2$6$0.3500Ksource · 2026-11-30
Grok 4.3xAI$1.25$2.5$0.21Msource · 2026-11-30
Grok Build 0.1xAI$1$2$0.2256Ksource · 2026-11-30
Mistral Large 4Mistral$0.7$2.1$0.071Msource · 2026-11-30
Mistral Medium 3.5Mistral$1.5$7.5$0.15—source · 2026-11-30
Mistral Small 4Mistral$0.15$0.6$0.015—source · 2026-11-30
Mistral Large 3Mistral$0.5$1.5$0.05—source · 2026-11-30
Ministral 3 14BMistral$0.2$0.2$0.02—source · 2026-11-30
Ministral 3 8BMistral$0.15$0.15$0.015—source · 2026-11-30
Ministral 3 3BMistral$0.1$0.1$0.01—source · 2026-11-30
CodestralMistral$0.3$0.9$0.03—source · 2026-11-30
DeepSeek V4.1 FlashDeepSeek$0.3$1.2$0.0061Msource · 2026-11-30
DeepSeek V4 ProDeepSeek$1.32$3.96$0.0441Msource · 2026-11-30
Muse Wonder 1.0Meta$4$20$0.2—source · 2026-11-30
Muse Spark 1.3Meta$1.25$4.25$0.15—source · 2026-11-30
Muse Ember 1.0Meta$0.1$0.5$0.004—source · 2026-11-30
MiniMax M3.1 FlashMiniMax$0.15$0.6$0.015—source · 2026-11-30
MiniMax M3MiniMax$0.3$1.2$0.06—source · 2026-11-30
MiMo-V2.6-ProXiaomi$0.435$0.87$0.00361Msource · 2026-11-30
MiMo-V2.6-FlashXiaomi$0.14$0.28$0.0028—source · 2026-11-30

Also as prices.json and prices.md. Free to reuse with a link back. Or start with the cheapest LLM API ranking.

FAQ

How is AI API cost calculated?

Cost = (input tokens × input price + output tokens × output price) ÷ 1,000,000. Cached input tokens are billed at the lower cached rate. TokenMeters multiplies per-request cost by requests per day, and by 30 for a monthly estimate.

How many tokens is a word?

For English text, one token is roughly three quarters of a word, so 1 word ≈ 1.33 tokens. Code and non-English text usually use more tokens. Tokenizers differ by model.

What is cached input?

Many providers discount input tokens that repeat a recently seen prompt prefix (system prompts, documents, agent context). Set the cached-input share to the fraction of input you expect to hit the cache.

Are these prices current?

Every price comes from the provider's official pricing page, with the source URL and last-verified date listed. Prices change often, so check the source before committing to a budget.

What is cost per task?

Agents make many model calls per task. Cost per task mode multiplies the per-call cost by steps per task and by (1 + retry rate), applies your cache hit rate to input tokens, then multiplies by tasks per day and 30 days for a monthly estimate.

How does reasoning effort affect cost?

Reasoning (thinking) tokens are billed at the output price. The effort setting multiplies output tokens per step: Off ×1, Low ×1.5, Medium ×3, High ×6, Max ×10. These defaults are rough TokenMeters estimates, not vendor figures; real usage varies by model and task, so the table shows a low–high range and you can type your own multiplier. Use the same effort level to compare models fairly.

What isn't included?

Batch discounts, long-context surcharges, cache-write fees, tool calls (web search etc.), taxes, and regional uplifts are not included in the main estimate. Notes on each model page call these out.