Chat with AI
Chat with AI

LLM Pricing Calculator

Prices verified on November 11, 2026.

Free LLM pricing calculator. Compare API costs for GPT, Claude, Gemini, DeepSeek & more. Find the cheapest AI model for your workload in seconds.

How LLM pricing works

LLM APIs charge per million tokens, with one price for the input you send and a higher price for the output the model writes.

Pick a model, enter your tokens and press Calculate pricing to see the cost in dollars.

Token cost calculator

Model
  • Batch processing halves the price at OpenAI, Anthropic, and Google.

LLM pricing table

Sort by

Showing 196 text models, newest first. Click a column to sort.

Gemini 4 Carbon
Google
$2.00 $10.00 $0.10 1.05M $12.00 Nov 10, 2026
Muse Ember
Meta
$0.10 $0.50 $0.004 1.05M $0.60 Nov 9, 2026
Claude Fable 5.2
Anthropic
$8.00 $40.00 $0.20 1M $48.00 Nov 9, 2026
GPT-6.1 Terra
OpenAI
$1.00 $5.00 $0.05 1.05M $6.00 Oct 26, 2026
Kimi K3.1 Pro
Moonshot AI (Kimi)
$2.00 $10.00 $0.20 1.05M $12.00 Oct 23, 2026
Kimi K3.1 Pro Highspeed
Moonshot AI (Kimi)
$4.00 $20.00 $0.20 1.05M $24.00 Oct 23, 2026
DeepSeek V4.1 Flash 1017
DeepSeek
Off-peak price. Peak hours cost double
$0.15 $0.60 $0.003 1.05M $0.75 Oct 17, 2026
Muse Spark Open
Meta
Price via Ollama Cloud
$1.25 $4.25 $0.15 1.05M $5.50 Oct 15, 2026
Gemini 4 Argon
Google
$2.00 $10.00 $0.10 1.05M $12.00 Oct 13, 2026
Muse Wonder
Meta
$4.00 $20.00 $0.20 1.05M $24.00 Oct 12, 2026
Claude Haiku 5.5
Anthropic
$0.10 $0.50 $0.01 1M $0.60 Oct 7, 2026
Mistral Large 4
Mistral
$0.70▲ 2.9% $2.10▲ 0.5% $0.07 1.05M $2.80 Oct 6, 2026
Mistral Large 4.0.8
Mistral
$0.70 $2.10 $0.07 1.05M $2.80 Oct 6, 2026
GPT-6.1 Sol
OpenAI
$2.00 $10.00 $0.10 1.05M $12.00 Sep 29, 2026
Claude Sonnet 5.5
Anthropic
$2.00 $10.00 $0.10 1M $12.00 Sep 28, 2026

USD per 1M tokens, standard rates. Cached input is the price for tokens read from the prompt cache. DeepSeek prices are off-peak.

How to use this LLM pricing calculator

  1. Choose a provider, or leave it on All to compare every model.
  2. Enter how many input and output tokens you expect to use. The default is 1 million of each.
  3. Read the Total cost column. Click any column heading to sort by it.

The formula is: (input tokens × input price + output tokens × output price) ÷ 1,000,000. For example, 2M input and 500K output tokens on Claude Sonnet 5 cost (2 × $2.00) + (0.5 × $10.00) = $9.00.

LLM API pricing by provider

OpenAI API pricing

OpenAI offers about 46 models through its API. OpenAI released its newest model, GPT-6.1 Terra, on October 26, 2026. The lowest price belongs to GPT OSS 20B, at $0.09 per 1M output tokens.

On the other end, GPT-5.4 Pro is the most expensive model at $180.00 per 1M output tokens. The table below lists every OpenAI model with its input and output price. Prices last checked on November 11, 2026.

OpenAI text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
GPT-6.1 Terra$1.00$5.00$0.051.05MOct 26, 2026
GPT-6.1 Sol$2.00$10.00$0.101.05MSep 29, 2026
GPT-6 Luna$0.10$0.50$0.011.05MSep 22, 2026
GPT-6 Sol$2.00$10.00$0.201.05MSep 22, 2026
GPT-6 Astra$10.00$50.00$1.001.05MSep 4, 2026
GPT-6 Astra (Fast)Price via Vercel AI Gateway$20.00$100.00$2.001.05MSep 4, 2026
GPT-5.6$4.00$20.00$0.401.05MJul 9, 2026
GPT-5.6 Luna$0.20$1.20$0.021.05MJul 9, 2026
GPT-5.6 SolPromo price, until at least Nov 21, 2026$4.00$20.00$0.401.05MJul 9, 2026
GPT-5.6 Terra$2.00$12.00$0.201.05MJul 9, 2026
GPT-5.5$5.00$30.00$0.501.05MApr 23, 2026
GPT-5.5 Pro$30.00$180.00—1.05MApr 23, 2026
GPT-5.4 mini$0.75$4.50$0.07400KMar 17, 2026
GPT-5.4 nano$0.20$1.25$0.02400KMar 17, 2026
GPT-5.4$2.50$15.00$0.251.05MMar 5, 2026
  • Cached input on the GPT-6, GPT-5.6, GPT-5.5, and GPT-5.4 families is billed at 10% of the normal input price.
  • Batch and Flex processing cost 50% of standard rates. Fast mode (formerly Priority) costs 2x.

Claude API pricing

There are about 15 models from Anthropic in the price list below. Claude Fable 5.2 is the most recent addition, released on November 9, 2026. If you want the lowest cost, Claude Haiku 5.5 is the cheapest option right now at $0.50 per 1M output tokens.

However, Claude Opus 4.1 is the most expensive model at $75.00 per 1M output tokens. See all of them side by side in the table below. Prices last checked on November 11, 2026.

Anthropic text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
Claude Fable 5.2$8.00$40.00$0.201MNov 9, 2026
Claude Haiku 5.5$0.10$0.50$0.011MOct 7, 2026
Claude Sonnet 5.5$2.00$10.00$0.101MSep 28, 2026
Claude Opus 5.5$4.00$20.00$0.201MSep 22, 2026
Claude Fable 5.1$10.00$50.00$0.251MSep 1, 2026
Claude Opus 5$5.00$25.00$0.501MJul 24, 2026
Claude Sonnet 5$2.00$10.00$0.201MJun 29, 2026
Claude Fable 5$10.00$50.00$1.001MJun 7, 2026
Claude Opus 4.8$5.00$25.00$0.501MMay 28, 2026
Claude Opus 4.7$5.00$25.00$0.501MApr 14, 2026
Claude Sonnet 4.6$3.00$15.00$0.301MFeb 17, 2026
Claude Opus 4.6$5.00$25.00$0.501MFeb 4, 2026
Claude Opus 4.5$5.00$25.00$0.50200KNov 24, 2025
Claude Haiku 4.5$1.00$5.00$0.10200KOct 15, 2025
Claude Opus 4.1Price via Merge Gateway$15.00▲ 11%$75.00▲ 11%$1.50200KAug 5, 2025
  • Claude 4.6 and later models include the full 1M-token context window at standard prices, so a very long prompt costs the same per token as a short one.
  • Cache hits cost 10% of the input price on most models, 5% on Opus 5.5, and 2.5% on Fable 5.1.
  • Claude 4.7 and later use a newer tokenizer that produces around 30% more tokens for the same text.
  • Choosing US-only processing adds a 1.1x multiplier on Claude 4.6 and later.

Gemini API pricing

The Google API has about 40 models you can pay for by the token. The newest one is Gemini 4 Carbon, launched on November 10, 2026. For the lowest bill, Gemma 4 26B A4B IT costs the least at $0.03 per 1M output tokens.

By contrast, Gemini 3.1 Pro Preview is the most expensive model at $12.00 per 1M output tokens. Every model and its price is in the table below. Prices last checked on November 11, 2026.

Google text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
Gemini 4 Carbon$2.00$10.00$0.101.05MNov 10, 2026
Gemini 4 Argon$2.00$10.00$0.101.05MOct 13, 2026
Gemini 3.8 FlashIntro price until Dec 31, 2026, then doubles$0.75$3.75$0.071.05MSep 2, 2026
Gemini 3.7 Flash$0.75$3.75$0.071.05MAug 13, 2026
Gemini 3.5 Flash Lite$0.30$2.50$0.031.05MJul 21, 2026
Gemini 3.6 Flash$0.75$3.75$0.071.05MJul 21, 2026
Gemma 4 12B ITPrice via NanoGPT$0.05$0.25$0.03131KJun 9, 2026
Gemini 3.5 Flash$1.50$9.00$0.151.05MMay 19, 2026
Gemini 3.1 Flash Lite$0.25$1.50$0.031.05MMay 7, 2026
Gemma 4 26B A4B ITPrice via Kilo Gateway$0.01▲ 10%$0.03▲ 13%$0.006256KApr 2, 2026
Gemma 4 31B ITPrice via DevPass (LLM Gateway)$0.10▲ 33%$0.25▲ 98%$0.01262KApr 2, 2026
Gemini 3.1 Pro PreviewHigher price above 200K-token prompts$2.00$12.00$0.201.05MFeb 19, 2026
Gemini 3 Flash Preview$0.50$3.00$0.051.05MDec 17, 2025
Gemini 3 Pro PreviewPrice via QiHang$0.57$3.43—1MNov 18, 2025
Gemini 2.5 Flash-Lite Preview 09-2025Price via 302.AI$0.10$0.40—1MSep 25, 2025
  • Gemini 3.1 Pro prompts over 200K tokens are billed at a higher rate.

DeepSeek API pricing

You can use about 18 models through the DeepSeek API. DeepSeek V4.1 Flash 1017 is the newest model in the family, which DeepSeek released on October 17, 2026. DeepSeek OCR 2 is the cheapest DeepSeek model at $0.03 per 1M output tokens.

At the top of the range, DeepSeek-R1 is the most expensive model at $5.40 per 1M output tokens. Use the table below to compare them all. Prices last checked on November 11, 2026.

DeepSeek charges different rates depending on the time of day. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, and cost twice the off-peak rate. All other hours, including weekends, are off-peak.

ModelOff-peak (in / out)Peak (in / out)Released
DeepSeek V4.1 Flash 1017$0.15 / $0.60$0.30 / $1.20Oct 17, 2026
DeepSeek V4.1 Flash$0.03 / $0.12$0.06 / $0.24Sep 10, 2026
DeepSeek V4 Pro$0.66 / $1.98$1.32 / $3.96Aug 13, 2026
DeepSeek V4 Pro 0813$0.66 / $1.98$1.32 / $3.96Aug 13, 2026
DeepSeek V4 Flash 0731$0.04 / $0.09$0.09 / $0.18Jul 31, 2026
DeepSeek V4 Flash 0423$0.14 / $0.28$0.28 / $0.56Apr 23, 2026
DeepSeek V4 Pro 0423$1.65 / $3.30$3.30 / $6.60Apr 23, 2026
DeepSeek OCR 2$0.03 / $0.03$0.06 / $0.06Jan 27, 2026
DeepSeek Chat$0.10 / $0.42$0.20 / $0.85Dec 1, 2025
DeepSeek Reasoner$0.24 / $0.73$0.48 / $1.45Dec 1, 2025
DeepSeek V3.2$0.21 / $0.31$0.42 / $0.62Dec 1, 2025
DeepSeek V3.1$0.25 / $0.95$0.50 / $1.90Aug 21, 2025
DeepSeek-V3.1$0.19 / $0.71$0.38 / $1.42Aug 21, 2025
DeepSeek R1 0528 Qwen3 8B$0.06 / $0.09$0.12 / $0.18May 29, 2025
DeepSeek R1 0528$0.50 / $2.15$1.00 / $4.30May 28, 2025

DeepSeek V4.1 Flash replaced V4 Flash on September 10, 2026 and uses the model name deepseek-flash. The calculator above shows off-peak prices, so double them if your requests run during peak hours.

Grok API pricing

The xAI API currently lists about 11 models. The latest release is Grok 4.7, out since September 21, 2026. On a tight budget, X-Ai/Grok-4-Fast-Reasoning costs the least at $0.50 per 1M output tokens.

Meanwhile, Grok 4.7 is the most expensive model at $6.00 per 1M output tokens. Compare every model side by side in the table below before you decide. Prices last checked on November 11, 2026.

xAI text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
Grok 4.7Double price at 200K+ token prompts$2.00$6.00$0.50500KSep 21, 2026
Grok 4.6$2.00$6.00$0.50500KAug 12, 2026
Grok 4.5$2.00$6.00$0.30500KJul 8, 2026
Grok 4.3$1.25$2.50$0.201MApr 17, 2026
Grok Build 0.1$1.00$2.00$0.20256KApr 16, 2026
Grok 4.20 (Non-Reasoning)$1.25$2.50$0.201MMar 9, 2026
Grok 4.20 (Reasoning)$1.25$2.50$0.201MMar 9, 2026
Grok 4.20 Multi-Agent$1.25$2.50$0.201MMar 9, 2026
X-Ai/Grok-4-Fast-Non-ReasoningPrice via Helicone$0.20▲ 11%$0.50▲ 11%$0.052MDec 18, 2025
X-Ai/Grok-4-Fast-ReasoningPrice via Helicone$0.20▲ 11%$0.50▲ 11%$0.052MDec 18, 2025
x-AI/Grok-Code-Fast 1Price via Jiekou.AI$0.19▲ 5.6%$1.43▲ 5.6%$0.02256KSep 2, 2025
  • Once a prompt reaches 200K tokens, xAI bills the whole request at double the standard rate.

GLM API pricing

Z.ai offers about 16 models through its API. Z.ai released its newest model, GLM-5.3-FlashX, on September 18, 2026. The lowest price belongs to GLM-4.7-FlashX, at $0.40 per 1M output tokens.

In comparison, GLM-5.2 is the most expensive model at $4.40 per 1M output tokens. The table below lists every Z.ai model with its input and output price. Prices last checked on November 11, 2026.

Z.ai (GLM) text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
GLM-5.3-FlashX$0.37$1.25$0.071MSep 18, 2026
GLM-5.3-Flash$0.15$0.50$0.031MAug 26, 2026
GLM-5.3$1.40$4.40$0.261MAug 14, 2026
GLM-5.2$1.40$4.40$0.261MJun 13, 2026
GLM-5.1$1.40$4.40$0.26200KApr 7, 2026
GLM-5V-Turbo$1.20$4.00$0.24200KApr 1, 2026
GLM-5-Turbo$1.20$4.00$0.24200KMar 16, 2026
GLM-5$1.00$3.20$0.20205KFeb 12, 2026
GLM-4.7-FlashPrice via Cortecs$0.08▲ 33%$0.48▲ 20%—203KJan 19, 2026
GLM-4.7-FlashX$0.07$0.40$0.01200KJan 19, 2026
GLM-4.7$0.60$2.20$0.11205KDec 22, 2025
GLM-4.6V$0.30$0.90$0.05128KDec 8, 2025
GLM-4.6$0.60$2.20$0.11205KSep 30, 2025
GLM-4.5V$0.60$1.80$0.1164KAug 11, 2025
GLM-4.5$0.60$2.20$0.11131KJul 28, 2025

Qwen API pricing

There are about 35 models from Alibaba in the price list below. Qwen 3.8 Max Prime is the most recent addition, released on September 23, 2026. If you want the lowest cost, Qwen3.5 2B is the cheapest option right now at $0.10 per 1M output tokens.

At the premium end, Qwen 3.8 Max Prime is the most expensive model at $12.00 per 1M output tokens. See all of them side by side in the table below. Prices last checked on November 11, 2026.

Alibaba (Qwen) text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
Qwen 3.8 Max PrimePrice via Vercel AI Gateway$4.00$12.00$0.501MSep 23, 2026
Qwen3.8 Omni Flash$0.15$0.47$0.021MSep 17, 2026
Qwen3.8 Max 0902Price via Vercel AI Gateway$2.00$6.00$0.25991KSep 2, 2026
Qwen3.8 Flash$0.15$0.47$0.021MAug 26, 2026
Qwen3.8 27BPrice via engy$0.04▼ 55%$0.32▼ 20%$0.011MAug 14, 2026
Qwen3.8 2.4T A95BPrice via DevPass (LLM Gateway)$2.00$6.00$0.251.01MAug 12, 2026
Qwen3.8 Max$2.00$6.00$0.251MAug 3, 2026
Qwen3.7 Flash$0.03$0.13$0.0061MJul 15, 2026
Qwen3.7 Plus$0.40$1.60$0.081MJun 2, 2026
Qwen3.7 Max$2.50$7.50$0.501MMay 21, 2026
Qwen3.6 Flash$0.25▲ 33%$1.50▲ 33%$0.031MApr 27, 2026
Qwen3.6 27B$0.60$3.60—262KApr 22, 2026
Qwen3.6 35B-A3B$0.38▲ 51%$2.25▲ 52%—262KApr 17, 2026
Qwen3.6 Plus$0.50$3.00$0.051MApr 2, 2026
Qwen3.5 2BPrice via Requesty$0.02$0.10—262KMar 2, 2026

Mistral API pricing

The Mistral API has about 13 models you can pay for by the token. The newest one is Mistral Large 4, launched on October 6, 2026. For the lowest bill, Ministral 3 3B costs the least at $0.10 per 1M output tokens.

On the pricier side, Mistral Medium 3.5 is the most expensive model at $7.50 per 1M output tokens. Every model and its price is in the table below. Prices last checked on November 11, 2026.

Mistral text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
Mistral Large 4$0.70▲ 2.9%$2.10▲ 0.5%$0.071.05MOct 6, 2026
Mistral Large 4.0.8$0.70$2.10$0.071.05MOct 6, 2026
Mistral Medium 3.5$1.50$7.50$0.15262KApr 29, 2026
Mistral Small 4$0.15$0.60$0.01262KMar 16, 2026
Ministral 14BPrice via Vercel AI Gateway$0.20$0.20$0.02262KDec 2, 2025
Ministral 3 14B$0.20$0.20$0.02262KDec 2, 2025
Ministral 3 3B$0.10$0.10$0.01131KDec 2, 2025
Ministral 3 8B$0.15$0.15$0.01262KDec 2, 2025
Codestral 25.08$0.30$0.90$0.03256KJul 30, 2025
Voxtral Small$0.10$0.40—33KJul 15, 2025
Mistral Medium 3Price via Vertex$0.40$2.00—131KMay 7, 2025
Pixtral Large (25.02)Price via Cortecs$1.99$5.98—128KApr 8, 2025
Mistral Large 2.1Price via Helicone$2.00$6.00—128KNov 18, 2024

Meta Llama API pricing

You can use about 14 models through the Meta API. Muse Ember is the newest model in the family, which Meta released on November 9, 2026. Llama Prompt Guard 2 22M is the cheapest Meta model at $0.01 per 1M output tokens.

At the high end, Muse Wonder is the most expensive model at $20.00 per 1M output tokens. Use the table below to compare them all. Prices last checked on November 11, 2026.

Meta text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
Muse Ember$0.10$0.50$0.0041.05MNov 9, 2026
Muse Spark OpenPrice via Ollama Cloud$1.25$4.25$0.151.05MOct 15, 2026
Muse Wonder$4.00$20.00$0.201.05MOct 12, 2026
Muse Spark 1.3$1.25$4.25$0.151.05MSep 2, 2026
Muse Spark 1.3 Contributor$0.10$0.20$0.0021.05MSep 2, 2026
Muse Glimmer 30BPrice via EmpirioLabs AI$0.20$0.80$0.05131KAug 10, 2026
Muse Spark 1.2$1.25$4.25$0.151.05MAug 5, 2026
Muse Spark 1.2 Contributor$0.10$0.20$0.0021.05MAug 5, 2026
Muse Spark 1.1$1.25$4.25$0.151.05MApr 8, 2026
Llama Prompt Guard 2 22MPrice via Helicone$0.01$0.01—1KApr 29, 2025
Llama Prompt Guard 2 86MPrice via Helicone$0.01$0.01—1KApr 29, 2025
Llama 4 Maverick 17B InstructPrice via DevPass (LLM Gateway)$0.27$0.85—1.05MApr 5, 2025
Llama 4 Scout 17B InstructPrice via DevPass (LLM Gateway)$0.18$0.59—131KApr 5, 2025
Llama-3.3-70B-InstructPrice via Helicone$0.13$0.39—128KDec 6, 2024

Kimi API pricing

The Moonshot AI API currently lists about 12 models. The latest release is Kimi K3.1 Pro Highspeed, out since October 23, 2026. On a tight budget, Kimi K2 Instruct costs the least at $1.80 per 1M output tokens.

On the other end, Kimi K3.1 Pro Highspeed is the most expensive model at $20.00 per 1M output tokens. Compare every model side by side in the table below before you decide. Prices last checked on November 11, 2026.

Moonshot AI (Kimi) text models: API prices per 1M tokens, newest first
ModelInput / 1MOutput / 1MCached inputContextReleased
Kimi K3.1 Pro$2.00$10.00$0.201.05MOct 23, 2026
Kimi K3.1 Pro Highspeed$4.00$20.00$0.201.05MOct 23, 2026
Kimi K2.8 PreviewPrice via DevPass (LLM Gateway)$1.00$4.00$0.251MSep 11, 2026
Kimi K3$3.00$15.00$0.301.05MJul 16, 2026
Kimi K2.7 Code$0.95$4.00$0.19262KJun 12, 2026
Kimi K2.7 Code HighSpeed$1.90$8.00$0.38262KJun 12, 2026
Kimi K2.6$0.95$4.00$0.16262KApr 20, 2026
Kimi K2.5Price via NanoGPT$0.38$2.00$0.07262KJan 27, 2026
Kimi K2 ThinkingPrice via Helicone$0.48$2.00—256KNov 6, 2025
Kimi K2 Instruct 0905Price via Helicone$0.50$2.00$0.40262KSep 5, 2025
Kimi K2 0711Price via DevPass (LLM Gateway)$0.57$2.30$0.50256KJul 11, 2025
Kimi K2 InstructPrice via NanoGPT$0.40$1.80$0.20256KJul 11, 2025

How LLM API pricing works

Input tokens vs output tokens

Input tokens are everything you send: your prompt, instructions, and any documents. Output tokens are what the model writes back. Almost every model charges more for output, from 1.0x on Llama Prompt Guard 2 22M to 23.3x on Gemini 2.5 Flash Preview 05-20. Reasoning models also bill their hidden thinking tokens as output, which can make a short visible answer cost more than expected.

Prompt caching discounts

If you send the same long instructions or documents again and again, providers can cache them and charge much less when they're reused.

ProviderCached input price
OpenAI (GPT-6, 5.6, 5.5, 5.4)10% of input price
Anthropic10% on most models, 5% on Opus 5.5, 2.5% on Fable 5.1
Google Gemini 3.1 Pro$0.20 per 1M
xAI Grok 4.7$0.50 per 1M
DeepSeek V4.1 Flash$0.003 per 1M off-peak

Anthropic also charges to write to the cache: 1.25x the input price for a 5-minute cache or 2x for a 1-hour cache.

Batch processing discounts

ProviderBatch discount
OpenAI50% (Batch and Flex)
Anthropic50% on input and output
Google Gemini50%
xAI20% on Grok 4.3 and Grok 4.20 only

Long-context surcharges

  • Gemini 3.1 Pro: prompts over 200K tokens are billed at a higher rate.
  • Grok: prompts of 200K tokens or more are billed at double the rate for the whole request.
  • OpenAI: prompts over 272K input tokens have a separate long-prompt surcharge.
  • Claude 4.6 and later: no surcharge across the 1M context window.

Frequently asked questions

Which LLM API is the cheapest right now?

Among the models in this calculator, Llama Prompt Guard 2 22M (Meta) has the lowest combined price at $0.01 / $0.01 per 1M input and output tokens. The lowest input price, $0.01 per 1M tokens, belongs to Llama Prompt Guard 2 22M and Llama Prompt Guard 2 86M.

Is ChatGPT API pricing the same as OpenAI API pricing?

Yes. There is no separate ChatGPT API. Developers call GPT models through the OpenAI API and pay per token. ChatGPT subscriptions like Plus are a different product and don't include API credits.

How much does 1 million tokens cost?

It depends on the model and on whether the tokens are input or output. For 1M input plus 1M output tokens, costs range from $0.02 on Llama Prompt Guard 2 22M to $210.00 on GPT-5.5 Pro. Enter your own numbers in the calculator above to compare.

Why are output tokens more expensive than input tokens?

Almost every model in this table charges more for output. The gap ranges from 1.0x on Llama Prompt Guard 2 22M to 23.3x on Gemini 2.5 Flash Preview 05-20, so tasks that generate long answers cost more than tasks that read long documents.

Do Claude models count tokens the same way as GPT models?

No. Anthropic says Claude 4.7 and later models use a newer tokenizer that produces about 30% more tokens for the same text. The same prompt can therefore cost more on newer Claude models than the price per token suggests.

Price data from Models.dev, checked against OpenAI, Anthropic, Google, DeepSeek, Z.ai (GLM), Alibaba (Qwen), Mistral, Meta, Moonshot AI (Kimi), and xAI's pricing pages. Prices can change at any time, so confirm on the provider's page before committing to a budget.