TokenRate

TokenRate · tokenrate.dev

AI Token Calculator & Live Pricing Comparison

TYPE ANY AMOUNT — RESULTS UPDATE LIVE

145 models · 7 providers

$
Quick
ModelTierQualityRate in / out / 1MTokens InTokens OutValue
Claude Opus 4.6 (Fast)Flagship77elo$30.00$150.002.6
GPT-5.5 ProFlagship78$30.00$180.002.6
Gemini 2.5 ProFlagship76$1.25$10.0061
Llama 4 MaverickBalanced62$0.150$0.600413
R1 Distill Llama 70BReasoning73$0.700$0.800104
Mistral Large 2407Flagship50$2.00$6.0025
Grok 4.20 Multi-AgentBalanced78$2.00$6.0039
Claude Opus 4.1Flagship77elo$15.00$75.005.1
GPT-5.4 ProFlagship78$30.00$180.002.6
Gemini 2.5 Pro Preview 06-05Flagship76$1.25$10.0061
Llama 4 ScoutBalanced55$0.100$0.300550
R1Reasoning73$0.700$2.50104
Mistral LargeFlagship50$2.00$6.0025
Grok 4.3Balanced78$1.25$2.5062
Claude Opus 4Flagship77elo$15.00$75.005.1
GPT-5.2 ProFlagship78$21.00$168.003.7
Gemini 2.5 Pro Preview 05-06Flagship76$1.25$10.0061
Llama 3.3 70B InstructBalanced52$0.100$0.320520
R1 0528Reasoning73$0.500$2.15146
Mistral Large 3 2512Flagship50$0.500$1.50100
Grok 4.20Balanced78$1.25$2.5062
Claude Opus 4.6Flagship77elo$5.00$25.0015
GPT-5 ProFlagship78$15.00$120.005.2
Gemini 3.1 Pro Preview Custom ToolsBalanced75elo$2.00$12.0038
Llama 3.1 70B InstructBalanced47$0.400$0.400118
R1 Distill Qwen 32BReasoning73$0.290$0.290252
Codestral 2508Balanced50$0.300$0.900167
Grok Build 0.1Balanced50$1.00$2.0050
Claude Opus 4.5Flagship77elo$5.00$25.0015
GPT-5 ImageFlagship78$10.00$10.007.8
Gemini 3.1 Pro PreviewBalanced75elo$2.00$12.0038
Llama 3 70B InstructBalanced44$0.510$0.74086
DeepSeek V3.2 ExpBalanced65$0.270$0.410241
Mistral Medium 3.5Balanced48$1.50$7.5032
Claude Opus 4.7 (Fast)Flagship76elo$30.00$150.002.5
GPT-5.4 Image 2Flagship78$8.00$15.009.8
Gemini 3.5 FlashBalanced73elo$1.50$9.0049
Llama 3.2 11B Vision InstructBalanced32$0.345$0.34593
DeepSeek V3.1 TerminusBalanced65$0.270$0.950241
Mistral Medium 3.1Balanced48$0.400$2.00120
Claude Opus 4.7Flagship76elo$5.00$25.0015
GPT-5.5Flagship78$5.00$30.0016
Gemini 3 Flash PreviewBalanced72elo$0.500$3.00144
Llama 3.1 8B InstructBalanced30$0.020$0.0301.5k
DeepSeek V3.2Balanced65$0.229$0.343284
Mistral Medium 3Balanced48$0.400$2.00120
Claude Opus 4.8 (Fast)Flagship73elo$10.00$50.007.3
GPT-5.4Flagship78$2.50$15.0031
Gemini 2.5 FlashBalanced66$0.300$2.50220
Llama 3 8B InstructBalanced26$0.140$0.140186
DeepSeek V3.1Balanced65$0.210$0.790310
Mistral Small 3.1 24BBalanced42$0.351$0.555120
Claude Opus 4.8Flagship73elo$5.00$25.0015
GPT-5.3 ChatFlagship78$1.75$14.0045
Gemma 2 27BBalanced$0.650$0.650
Llama 3.2 3B InstructBalanced22$0.051$0.335432
DeepSeek V3 0324Balanced65$0.200$0.770325
Mistral Small 4Balanced42$0.150$0.600280
Claude Sonnet 4.6Balanced72$3.00$15.0024
GPT-5.3-CodexFlagship78$1.75$14.0045
Gemma 4 31BBalanced$0.120$0.360
Llama 3.2 1B InstructBalanced15$0.027$0.201556
DeepSeek V3Balanced60$0.200$0.800300
Mistral Small 3.2 24BBalanced42$0.075$0.200560
Claude Sonnet 4.5Balanced72$3.00$15.0024
GPT-5.2-CodexFlagship78$1.75$14.0045
Gemma 3 27BBalanced$0.080$0.160
Llama Guard 3 8BBalanced$0.484$0.030
DeepSeek V4 ProBalanced$0.435$0.870
Mistral Small 3Balanced42$0.050$0.080840
Claude Sonnet 4Balanced72$3.00$15.0024
GPT-5.2 ChatFlagship78$1.75$14.0045
Gemma 4 26B A4B Balanced$0.060$0.330
Llama Guard 4 12BBalanced$0.180$0.180
DeepSeek V4 FlashBalanced$0.098$0.197
Mixtral 8x22B InstructBalanced40$2.00$6.0020
Claude Fable 5Balanced$10.00$50.00
GPT-5.2Flagship78$1.75$14.0045
Gemma 3n 4BBalanced$0.060$0.120
Mistral NemoBalanced38$0.020$0.0301.9k
Claude Haiku 4.5Fast60$1.00$5.0060
GPT-5.1-Codex-MaxFlagship78$1.25$10.0062
Gemma 3 4BBalanced$0.050$0.100
Ministral 3 8B 2512Balanced35$0.150$0.150233
Claude 3.5 HaikuFast55$0.800$4.0069
GPT-5.1Flagship78$1.25$10.0062
Gemma 3 12BBalanced$0.050$0.150
Ministral 3 3B 2512Balanced28$0.100$0.100280
Claude 3 HaikuFast30$0.250$1.25120
GPT-5.1 ChatFlagship78$1.25$10.0062
Nano Banana Pro (Gemini 3 Pro Image Preview)Fast75elo$2.00$12.0038
Devstral 2 2512Balanced$0.400$2.00
GPT-5.1-CodexFlagship78$1.25$10.0062
Nano Banana (Gemini 2.5 Flash Image)Fast66$0.300$2.50220
Ministral 3 14B 2512Balanced$0.200$0.200
GPT-5 CodexFlagship78$1.25$10.0062
Gemini 2.5 Flash Lite Preview 09-2025Fast66$0.100$0.400660
SabaBalanced$0.200$0.600
GPT-5 ChatFlagship78$1.25$10.0062
Gemini 2.5 Flash LiteFast55$0.100$0.400550
Voxtral Small 24B 2507Balanced$0.100$0.300
GPT-5Flagship58$1.25$10.0046
Nano Banana 2 (Gemini 3.1 Flash Image Preview)Fast$0.500$3.00
o3 ProReasoning82$20.00$80.004.1
Gemini 3.1 Flash LiteFast$0.250$1.50
o3 Deep ResearchReasoning82$10.00$40.008.2
Gemini 3.1 Flash Lite PreviewFast$0.250$1.50
o3Reasoning82$2.00$8.0041
o3 Mini HighReasoning82$1.10$4.4075
o1-proReasoning78$150.00$600.000.5
o1Reasoning78$15.00$60.005.2
o4 Mini Deep ResearchReasoning75$2.00$8.0038
o4 Mini HighReasoning75$1.10$4.4068
o4 MiniReasoning75$1.10$4.4068
o3 MiniReasoning72$1.10$4.4065
GPT-4o (2024-05-13)Balanced64$5.00$15.0013
GPT-4o (2024-11-20)Balanced64$2.50$10.0026
GPT-4o (2024-08-06)Balanced64$2.50$10.0026
GPT-4oBalanced64$2.50$10.0026
GPT-4Balanced58$30.00$60.001.9
GPT-4 TurboBalanced58$10.00$30.005.8
GPT-4 Turbo PreviewBalanced58$10.00$30.005.8
GPT Chat LatestBalanced58$5.00$30.0012
GPT-3.5 Turbo 16kBalanced58$3.00$4.0019
GPT AudioBalanced58$2.50$10.0023
GPT-4o Search PreviewBalanced58$2.50$10.0023
GPT-4.1Balanced58$2.00$8.0029
GPT-3.5 Turbo InstructBalanced58$1.50$2.0039
GPT-3.5 Turbo (older v0613)Balanced58$1.00$2.0058
gpt-oss-safeguard-20bBalanced58$0.075$0.300773
gpt-oss-120bBalanced58$0.039$0.1801.5k
gpt-oss-20bBalanced58$0.029$0.1402.0k
GPT-3.5 TurboBalanced35$0.500$1.5070
GPT-5 Image MiniFast78$2.50$2.0031
GPT-5.4 MiniFast78$0.750$4.50104
GPT-5.1-Codex-MiniFast78$0.250$2.00312
GPT-5.4 NanoFast78$0.200$1.25390
GPT-5 MiniFast68$0.250$2.00272
GPT Audio MiniFast58$0.600$2.4097
GPT-4o-mini Search PreviewFast58$0.150$0.600387
GPT-4.1 NanoFast58$0.100$0.400580
GPT-5 NanoFast55$0.050$0.4001.1k
GPT-4.1 MiniFast52$0.400$1.60130
GPT-4o-mini (2024-07-18)Fast51$0.150$0.600340
GPT-4o-miniFast51$0.150$0.600340

Approximation: ~4 chars / 1 token · Rates shown per 1M tokens · Pricing is live via OpenRouter — confirm with provider before billing decisions.

27+Models tracked
LivePricing data
FreeNo sign-up

Free, instant cost estimates for every major AI model. Convert money, tokens, and characters across Claude, GPT-4o, Gemini, Llama, DeepSeek, Grok, and Mistral — with live pricing from OpenRouter.

What is an AI token calculator? An AI token calculator converts between dollars, token counts, and characters using live API pricing from large language model providers. It answers two questions developers ask before shipping with an LLM: "how much will this prompt cost?" and "how many tokens does my budget buy?"

Current AI API pricing (May 2026): Llama 3.1 8B costs $0.05/1M input tokens; Gemini 2.0 Flash costs $0.10/1M; GPT-4o mini costs $0.15/1M; Claude Haiku 4 costs $0.25/1M. Output tokens cost roughly 3–5× the input price across every major provider. A typical 1,000-token request on a balanced model like Claude Sonnet 4 ($3/1M input) costs $0.003 — under a third of a cent. Use the calculator above to convert any amount across 27+ tracked models.

Prices verified 2026-05-22 · Live data refreshed hourly from OpenRouter

What Are AI Tokens?

A token is the basic unit that AI language models use to process text. Rather than reading word by word, models break text into token fragments — roughly 4 characters each for English. The word "hamburger" is 3 tokens; "hi" is 1 token.

Every AI API — including Claude, GPT-4o, and Gemini — charges by the token. You pay for the text you send (input tokens) and the text the model generates (output tokens). Understanding tokens is the key to predicting and controlling your AI costs.

Read the full guide →

How AI Token Pricing Works

AI models are priced by the million tokens — written as $/1M tokens. The two numbers you always see are:

  • InputThe text you send — your prompt, system instructions, and conversation history.
  • OutputThe text the model generates. Usually 3–5× more expensive than input, because generating tokens requires more compute than reading them.

A typical 1,000-token request (about 750 words of prompt) with Claude Sonnet 4 costs $0.003 — less than a third of a cent. At scale, though, those fractions add up fast.

Read the full pricing guide →

Cheapest AI Models in 2026

Ranked by input token price. All prices per 1 million tokens.

ModelProviderInput / 1MOutput / 1MContext
Llama 3.1 8BMeta$0.050$0.080128K
Gemini 1.5 FlashGoogle$0.075$0.3001M
Gemini 2.0 FlashGoogle$0.100$0.4001M
Mistral SmallMistral$0.100$0.30032K
GPT-4o miniOpenAI$0.150$0.600128K
Mistral NemoMistral$0.150$0.150128K

Prices are approximate and may change. See full comparison →

Token Calculation Examples

1,000 words of English text

~1,333 tokens

~4 chars per token

A standard email (150 words)

~200 tokens

under $0.001 on most models

A 10-page PDF (2,500 words)

~3,333 tokens

$0.01 with Claude Sonnet 4

An entire novel (80,000 words)

~107K tokens

fits in most flagship models

A full codebase (100K lines)

~300K+ tokens

needs 200K+ context window

1 million tokens budget at $1

~750K words

with Gemini 2.0 Flash

Want more? See the full token reference guide →

Browse All AI Models

Detailed pricing pages for every major model — with context windows, strengths, use cases, and cost examples.

Frequently Asked Questions

Related Tools & Guides