Token Counter

Count tokens, then price them across every model.

Paste a prompt to estimate its token count, set your expected response length, and see exactly what one call — or a million — would cost on each model.

Characters
321
Words
53
Est. input tokens
80
Cheapest: Qwen3.7 Flash at $0.00007/call. Priciest here is $0.0924/call — a 1371× spread.
#ModelProviderCost / call× 1 calls
1
Qwen3.7 FlashCHEAPESTBudget
Qwen$0.00007$0.00007
2
Qwen3.5-9BBudget
Qwen$0.00008$0.00008
3
Qwen3.5-FlashBudget
Qwen$0.00014$0.00014
4
DeepSeek V4 FlashBudget
DeepSeek$0.00015$0.00015
5
Gemma 4 26B A4B Budget
Google$0.00018$0.00018
6
GLM 4.7 FlashBudget
Z.AI$0.00020$0.00020
7
Gemma 4 31BBudget
Google$0.00021$0.00021
8
Mistral Small 4Budget
Mistral$0.00031$0.00031
9
GPT-5.4 Nano (batch)Budget
OpenAI$0.00032$0.00032
10
Gemini 3.1 Flash Lite (batch)Budget
Google$0.00039$0.00039
11
Qwen3 Coder NextBudget
Qwen$0.00046$0.00046
12
DeepSeek V4 ProBudget
DeepSeek$0.00047$0.00047
13
Qwen3.5-35B-A3BBudget
Qwen$0.00051$0.00051
14
Qwen3.6 35B A3BBudget
Qwen$0.00051$0.00051
15
Qwen3.6 FlashBudget
Qwen$0.00058$0.00058
16
Gemini 3.5 Flash Lite (batch)Budget
Google$0.00064$0.00064
17
GPT-5.4 NanoBudget
OpenAI$0.00064$0.00064
18
Qwen3.7 PlusBudget
Qwen$0.00067$0.00067
19
Gemini 3.1 Flash LiteBudget
Google$0.00077$0.00077
20
Gemini 3.1 Flash Lite PreviewBudget
Google$0.00077$0.00077
21
Qwen3.5-27BBudget
Qwen$0.00080$0.00080
22
Qwen3.5 Plus 2026-02-15Budget
Qwen$0.00080$0.00080
23
Qwen3.5 Plus 2026-04-20Budget
Qwen$0.00092$0.00092
24
Qwen3.6 PlusBudget
Qwen$0.00100$0.00100
25
Qwen3.6 27BBudget
Qwen$0.00102$0.00102
26
Qwen3.5-122B-A10BBudget
Qwen$0.00106$0.00106
27
Grok Build 0.1Standard
xAI$0.00108$0.00108
28
GPT-5.4 Mini (batch)Budget
OpenAI$0.00116$0.00116
29
Qwen3.5 397B A17BBudget
Qwen$0.00120$0.00120
30
GLM 5.2Budget
Z.AI$0.00124$0.00124
31
Gemini 3.5 Flash LiteBudget
Google$0.00127$0.00127
32
Grok 4.20Standard
xAI$0.00135$0.00135
33
Grok 4.20 Multi-AgentStandard
xAI$0.00135$0.00135
34
Grok 4.3Standard
xAI$0.00135$0.00135
35
GLM 5Budget
Z.AI$0.00135$0.00135
36
Kimi K2.6Budget
Moonshot$0.00141$0.00141
37
Kimi K2.5Budget
Moonshot$0.00147$0.00147
38
GPT-5.6 LunaBudget
OpenAI$0.00154$0.00154
39
GPT-5.6 Luna ProBudget
OpenAI$0.00154$0.00154
40
GLM 5.1Budget
Z.AI$0.00160$0.00160
41
Kimi K2.7 CodeBudget
Moonshot$0.00181$0.00181
42
Gemini 3.6 Flash (batch)Budget
Google$0.00193$0.00193
43
Qwen3 Max ThinkingBudget
Qwen$0.00201$0.00201
44
GLM 5 TurboStandard
Z.AI$0.00210$0.00210
45
GLM 5V TurboStandard
Z.AI$0.00210$0.00210
46
Gemini 3.5 Flash (batch)Budget
Google$0.00231$0.00231
47
GPT-5.4 MiniBudget
OpenAI$0.00231$0.00231
48
Qwen3.7 MaxStandard
Qwen$0.00233$0.00233
49
Claude Sonnet 5 (batch)Standard
Anthropic$0.00258$0.00258
50
Gemini 3.1 Pro Preview (batch)Standard
Google$0.00308$0.00308
51
Grok 4.5Standard
xAI$0.00316$0.00316
52
Qwen3.6 Max PreviewStandard
Qwen$0.00316$0.00316
53
GPT-5.4 (batch)Standard
OpenAI$0.00385$0.00385
54
GPT-5.6 TerraStandard
OpenAI$0.00385$0.00385
55
GPT-5.6 Terra ProStandard
OpenAI$0.00385$0.00385
56
Gemini 3.6 FlashStandard
Google$0.00387$0.00387
57
Mistral Medium 3.5Standard
Mistral$0.00387$0.00387
58
Gemini 3.5 FlashStandard
Google$0.00462$0.00462
59
Claude Sonnet 5Standard
Anthropic$0.00516$0.00516
60
Gemini 3.1 Pro PreviewStandard
Google$0.00616$0.00616
61
Gemini 3.1 Pro Preview Custom ToolsStandard
Google$0.00616$0.00616
62
Claude Opus 4.6 (batch)Standard
Anthropic$0.00645$0.00645
63
Claude Opus 4.7 (batch)Standard
Anthropic$0.00645$0.00645
64
Claude Opus 4.8 (batch)Standard
Anthropic$0.00645$0.00645
65
GPT-5.2-CodexStandard
OpenAI$0.00714$0.00714
66
GPT-5.3 ChatStandard
OpenAI$0.00714$0.00714
67
GPT-5.3-CodexStandard
OpenAI$0.00714$0.00714
68
GPT-5.4Standard
OpenAI$0.00770$0.00770
69
GPT-5.5 (batch)Standard
OpenAI$0.00770$0.00770
70
Claude Sonnet 4.6Standard
Anthropic$0.00774$0.00774
71
Kimi K3Standard
Moonshot$0.00774$0.00774
72
Claude Fable 5 (batch)Premium
Anthropic$0.0129$0.0129
73
Claude Opus 4.6Premium
Anthropic$0.0129$0.0129
74
Claude Opus 4.7Premium
Anthropic$0.0129$0.0129
75
Claude Opus 4.8Premium
Anthropic$0.0129$0.0129
76
Claude Opus 5Premium
Anthropic$0.0129$0.0129
77
GPT Chat LatestPremium
OpenAI$0.0154$0.0154
78
GPT-5.5Premium
OpenAI$0.0154$0.0154
79
GPT-5.6 SolPremium
OpenAI$0.0154$0.0154
80
GPT-5.6 Sol ProPremium
OpenAI$0.0154$0.0154
81
Claude Fable 5Premium
Anthropic$0.0258$0.0258
82
Claude Opus 4.8 (Fast)Premium
Anthropic$0.0258$0.0258
83
Claude Opus 5 (Fast)Premium
Anthropic$0.0258$0.0258
84
Claude Opus 4.7 (Fast)Premium
Anthropic$0.0774$0.0774
85
GPT-5.4 ProPremium
OpenAI$0.0924$0.0924
86
GPT-5.5 ProPremium
OpenAI$0.0924$0.0924

Token counts are an estimate (≈ 4 characters per token); actual tokenization varies by model and language. Costs use each model’s standard input and output rates per 1M tokens. Prompt caching would lower the input portion further.

How token counting works

Language models don’t read words — they read tokens, sub-word chunks produced by the model’s tokenizer. In English, one token is about 4 characters or roughly ¾ of a word, so a 1,000-character prompt is on the order of 250 tokens. This tool uses that ratio to give a fast, model-agnostic estimate as you type, then prices the result against every model’s live rates.

Exact counts differ by tokenizer: code, punctuation, non-English text, and rare words all tokenize differently, and each provider ships its own tokenizer. For budgeting, the estimate here is close enough to rank models and size a bill; for exact accounting, use the provider’s own tokenizer or API usage response.

Why the cheapest model depends on your prompt

Input and output are priced separately, and models have very different input-to-output ratios. A long prompt with a short answer is dominated by the input rate; a short prompt with a long answer is dominated by the output rate. That’s why the ranking above re-sorts when you change the expected output length — the “cheapest” model for your workload isn’t always the one with the lowest headline price — see Input vs Output Tokens for why. To model steady monthly traffic instead of a single call, use the cost calculator; to find the lowest-cost models overall, see cheapest models.

Frequently asked questions

How accurate is the token estimate?
It uses the standard ratio of about 4 characters per token, which is a good approximation for English prose. Real tokenization varies by model, language and content (code and non-English text tokenize differently), so treat it as a close estimate for budgeting rather than an exact count.
How many tokens is a word?
Roughly 1.3 tokens per word in English, or about 0.75 words per token. So 1,000 words is approximately 1,300 tokens. Characters are a more stable guide: about 4 characters per token.
Does the cost include the model's response?
Yes. The pasted text is treated as input tokens, and you set the expected output (response) tokens separately. The per-call cost sums input tokens at the model’s input rate and output tokens at its output rate.
Is my pasted text sent anywhere?
No. Token counting and cost calculation happen entirely in your browser. Nothing you paste is transmitted to or stored on our servers.
Why do prompt tokens matter for cost?
You pay per token for everything you send, including system prompts, instructions, retrieved documents and chat history. Long or repeated prompts add up quickly, which is why prompt caching and trimming context are effective ways to reduce spend.