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
GLM 5.3 Flash (batch)Budget
Z.AI$0.00009$0.00009
4
DeepSeek V4 Flash 0423Budget
DeepSeek$0.00010$0.00010
5
Claude Haiku 5.5 (batch)Budget
Anthropic$0.00013$0.00013
6
GPT-6 Luna (batch)Budget
OpenAI$0.00013$0.00013
7
GPT-6 Luna Pro (batch)Budget
OpenAI$0.00013$0.00013
8
Qwen3.5-FlashBudget
Qwen$0.00014$0.00014
9
Mistral Small 4 (batch)Budget
Mistral$0.00016$0.00016
10
Gemma 4 26B A4B Budget
Google$0.00016$0.00016
11
DeepSeek V4.1 Flash (batch)Budget
DeepSeek$0.00018$0.00018
12
GLM 4.7 FlashBudget
Z.AI$0.00020$0.00020
13
Gemma 4 31BBudget
Google$0.00022$0.00022
14
Qwen3.8 FlashBudget
Qwen$0.00025$0.00025
15
Qwen3.8 Omni FlashBudget
Qwen$0.00025$0.00025
16
Claude Haiku 5.5Budget
Anthropic$0.00026$0.00026
17
GPT-6 LunaBudget
OpenAI$0.00026$0.00026
18
GPT-6 Luna ProBudget
OpenAI$0.00026$0.00026
19
GPT-5.6 Luna (batch)Budget
OpenAI$0.00031$0.00031
20
GPT-5.6 Luna Pro (batch)Budget
OpenAI$0.00031$0.00031
21
Mistral Small 4Budget
Mistral$0.00031$0.00031
22
GPT-5.4 Nano (batch)Budget
OpenAI$0.00032$0.00032
23
DeepSeek V4 Flash Vision ExpBudget
DeepSeek$0.00034$0.00034
24
DeepSeek V4.1 FlashBudget
DeepSeek$0.00034$0.00034
25
Gemini 3.1 Flash Lite (batch)Budget
Google$0.00039$0.00039
26
Qwen3 Coder NextBudget
Qwen$0.00041$0.00041
27
GLM 5.3 FlashBudget
Z.AI$0.00045$0.00045
28
Qwen3.5-35B-A3BBudget
Qwen$0.00051$0.00051
29
Qwen3.6 35B A3BBudget
Qwen$0.00051$0.00051
30
Qwen3.6 FlashBudget
Qwen$0.00058$0.00058
31
GPT-5.6 LunaBudget
OpenAI$0.00062$0.00062
32
GPT-5.6 Luna ProBudget
OpenAI$0.00062$0.00062
33
Gemini 3.5 Flash Lite (batch)Budget
Google$0.00064$0.00064
34
DeepSeek V4 Flash 0731Budget
DeepSeek$0.00064$0.00064
35
GPT-5.4 NanoBudget
OpenAI$0.00064$0.00064
36
GLM 5.3 FlashXBudget
Z.AI$0.00065$0.00065
37
Qwen3.7 PlusBudget
Qwen$0.00067$0.00067
38
Gemini 3.1 Flash LiteBudget
Google$0.00077$0.00077
39
Gemini 3.1 Flash Lite PreviewBudget
Google$0.00077$0.00077
40
Command A+Budget
Cohere$0.00077$0.00077
41
Qwen3.5 Plus 2026-02-15Budget
Qwen$0.00080$0.00080
42
Qwen3.5 Plus 2026-04-20Budget
Qwen$0.00092$0.00092
43
Gemini 3.6 Flash (batch)Budget
Google$0.00097$0.00097
44
Gemini 3.7 Flash (batch)Budget
Google$0.00097$0.00097
45
Gemini 3.8 Flash (batch)Budget
Google$0.00097$0.00097
46
Qwen3.6 PlusBudget
Qwen$0.00100$0.00100
47
Qwen3.6 27BBudget
Qwen$0.00102$0.00102
48
DeepSeek V4 Pro 0423Budget
DeepSeek$0.00103$0.00103
49
GLM 5.3 (batch)Budget
Z.AI$0.00104$0.00104
50
DeepSeek V4 Pro 0813Budget
DeepSeek$0.00104$0.00104
51
Qwen3.5-122B-A10BBudget
Qwen$0.00106$0.00106
52
Grok 4.3 (batch)Standard
xAI$0.00108$0.00108
53
Grok Build 0.1Standard
xAI$0.00108$0.00108
54
Mistral Large 4Budget
Mistral$0.00110$0.00110
55
Qwen3.8 27BBudget
Qwen$0.00112$0.00112
56
GPT-5.4 Mini (batch)Budget
OpenAI$0.00116$0.00116
57
Gemini 3.5 Flash LiteBudget
Google$0.00127$0.00127
58
Kimi K2.5Budget
Moonshot$0.00129$0.00129
59
Qwen3.5-27BBudget
Qwen$0.00132$0.00132
60
Grok 4.20Standard
xAI$0.00135$0.00135
61
Grok 4.20 Multi-AgentStandard
xAI$0.00135$0.00135
62
Grok 4.3Standard
xAI$0.00135$0.00135
63
GLM 5.1Budget
Z.AI$0.00160$0.00160
64
GLM 5Standard
Z.AI$0.00168$0.00168
65
Kimi K2.7 CodeBudget
Moonshot$0.00173$0.00173
66
Kimi K2.6Budget
Moonshot$0.00176$0.00176
67
Qwen3.5 397B A17BBudget
Qwen$0.00184$0.00184
68
Gemini 3.6 FlashBudget
Google$0.00193$0.00193
69
Gemini 3.7 FlashBudget
Google$0.00193$0.00193
70
Mistral Medium 3.5 (batch)Budget
Mistral$0.00193$0.00193
71
GLM 5 TurboStandard
Z.AI$0.00210$0.00210
72
GLM 5V TurboStandard
Z.AI$0.00210$0.00210
73
Gemini 3.8 FlashBudget
Google$0.00213$0.00213
74
Gemini 3.5 Flash (batch)Budget
Google$0.00231$0.00231
75
GPT-5.4 MiniBudget
OpenAI$0.00231$0.00231
76
Qwen3.7 MaxStandard
Qwen$0.00233$0.00233
77
GLM 5.3Budget
Z.AI$0.00241$0.00241
78
Claude Sonnet 5 (batch)Standard
Anthropic$0.00258$0.00258
79
Claude Sonnet 5.5 (batch)Standard
Anthropic$0.00258$0.00258
80
Gemini 4 Argon (batch)Standard
Google$0.00258$0.00258
81
GPT-6 Sol (batch)Standard
OpenAI$0.00258$0.00258
82
GPT-6 Sol Pro (batch)Standard
OpenAI$0.00258$0.00258
83
GPT-6.1 Sol (batch)Standard
OpenAI$0.00258$0.00258
84
GPT-6.1 Sol Pro (batch)Standard
OpenAI$0.00258$0.00258
85
Gemini 3.1 Pro Preview (batch)Standard
Google$0.00308$0.00308
86
GPT-5.6 Terra (batch)Standard
OpenAI$0.00308$0.00308
87
GPT-5.6 Terra Pro (batch)Standard
OpenAI$0.00308$0.00308
88
Qwen3.8 2.4T A95BStandard
Qwen$0.00316$0.00316
89
Qwen3.8 Max (0902)Standard
Qwen$0.00316$0.00316
90
Grok 4.5Standard
xAI$0.00316$0.00316
91
Grok 4.6Standard
xAI$0.00316$0.00316
92
Grok 4.7Standard
xAI$0.00316$0.00316
93
GPT-5.4 (batch)Standard
OpenAI$0.00385$0.00385
94
Claude Sonnet 4.6 (batch)Standard
Anthropic$0.00387$0.00387
95
Nano Banana 2.1Standard
Google$0.00387$0.00387
96
Mistral Medium 3.5Standard
Mistral$0.00387$0.00387
97
GLM 5.2Budget
Z.AI$0.00450$0.00450
98
Gemini 3.5 FlashStandard
Google$0.00462$0.00462
99
GLM 5.3 PrimeStandard
Z.AI$0.00462$0.00462
100
Claude Opus 5.5 (batch)Standard
Anthropic$0.00516$0.00516
101
Claude Sonnet 5Standard
Anthropic$0.00516$0.00516
102
Claude Sonnet 5.5Standard
Anthropic$0.00516$0.00516
103
Gemini 4 ArgonStandard
Google$0.00516$0.00516
104
GPT-5.6 Sol (batch)Standard
OpenAI$0.00516$0.00516
105
GPT-5.6 Sol Pro (batch)Standard
OpenAI$0.00516$0.00516
106
GPT-6 SolStandard
OpenAI$0.00516$0.00516
107
GPT-6 Sol ProStandard
OpenAI$0.00516$0.00516
108
GPT-6.1 SolStandard
OpenAI$0.00516$0.00516
109
GPT-6.1 Sol ProStandard
OpenAI$0.00516$0.00516
110
Kimi K3 (batch)Standard
Moonshot$0.00588$0.00588
111
Kimi K3Budget
Moonshot$0.00599$0.00599
112
Gemini 3.1 Pro PreviewStandard
Google$0.00616$0.00616
113
Gemini 3.1 Pro Preview Custom ToolsStandard
Google$0.00616$0.00616
114
GPT-5.6 TerraStandard
OpenAI$0.00616$0.00616
115
GPT-5.6 Terra ProStandard
OpenAI$0.00616$0.00616
116
Qwen3.8 Max PrimeStandard
Qwen$0.00632$0.00632
117
Claude Opus 4.6 (batch)Standard
Anthropic$0.00645$0.00645
118
Claude Opus 4.7 (batch)Standard
Anthropic$0.00645$0.00645
119
Claude Opus 4.8 (batch)Standard
Anthropic$0.00645$0.00645
120
Claude Opus 5 (batch)Standard
Anthropic$0.00645$0.00645
121
GPT-5.2-CodexStandard
OpenAI$0.00714$0.00714
122
GPT-5.3-CodexStandard
OpenAI$0.00714$0.00714
123
GPT-5.4Standard
OpenAI$0.00770$0.00770
124
GPT-5.5 (batch)Standard
OpenAI$0.00770$0.00770
125
Claude Sonnet 4.6Standard
Anthropic$0.00774$0.00774
126
Claude Opus 5.5Standard
Anthropic$0.0103$0.0103
127
GPT-5.6 SolStandard
OpenAI$0.0103$0.0103
128
GPT-5.6 Sol ProStandard
OpenAI$0.0103$0.0103
129
Claude Fable 5 (batch)Premium
Anthropic$0.0129$0.0129
130
Claude Fable 5.1 (batch)Premium
Anthropic$0.0129$0.0129
131
Claude Opus 4.6Premium
Anthropic$0.0129$0.0129
132
Claude Opus 4.7Premium
Anthropic$0.0129$0.0129
133
Claude Opus 4.8Premium
Anthropic$0.0129$0.0129
134
Claude Opus 5Premium
Anthropic$0.0129$0.0129
135
GPT-6 Astra (batch)Premium
OpenAI$0.0129$0.0129
136
GPT-6 Astra Pro (batch)Premium
OpenAI$0.0129$0.0129
137
GPT Chat LatestPremium
OpenAI$0.0154$0.0154
138
GPT-5.5Premium
OpenAI$0.0154$0.0154
139
Claude Fable 5Premium
Anthropic$0.0258$0.0258
140
Claude Fable 5.1Premium
Anthropic$0.0258$0.0258
141
GPT-6 AstraPremium
OpenAI$0.0258$0.0258
142
GPT-6 Astra ProPremium
OpenAI$0.0258$0.0258
143
GPT-5.4 Pro (batch)Premium
OpenAI$0.0462$0.0462
144
GPT-5.5 Pro (batch)Premium
OpenAI$0.0462$0.0462
145
GPT-5.4 ProPremium
OpenAI$0.0924$0.0924
146
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.