Skip to content
Model-specific token counter

Gemma 4 31B (free) Token Counter

Paste a prompt, count tokens, and see exactly what Gemma 4 31B (free) would charge for the request before you ship it.

Provider

Google

Input pricing

$0.00/M

Output pricing

$0.00/M

Market

LLM

366 comparable models

Your Text
Tokens:0
Words:0
Characters:0
Cost Settings

Showing 0 tokens in your input text

500
016,000
1
110,000
Cost Estimates366 models
#ProviderModelInput $/MOutput $/MEst. Cost/CallTotal Cost
1inclusionaiLing-2.6-flash$0.01$0.03$0.000015$0.000015
2Mistral AIMistral Nemo$0.02$0.03$0.000015$0.000015
3inclusionaiLing-3.0-flash$0.02$0.06$0.000031$0.000031
4Mistral AIMistral Small 3$0.05$0.08$0.000040$0.000040
5MetaLlama 3.1 8B Instruct$0.05$0.08$0.000040$0.000040
6IBMGranite 4.1 8B$0.05$0.10$0.000050$0.000050
7GoogleGemma 3 4B$0.05$0.10$0.000050$0.000050
8rekaaiReka Edge$0.10$0.10$0.000050$0.000050
9Mistral AIMinistral 3 3B 2512$0.10$0.10$0.000050$0.000050
10Mistral AIMinistral 8B$0.11$0.11$0.000055$0.000055
11IBMGranite 4.0 Micro$0.02$0.11$0.000056$0.000056
12DeepSeekDeepSeek V4 Flash 0423$0.06$0.11$0.000057$0.000057
13UpstageSolar Pro 4$0.03$0.12$0.000060$0.000060
14poolsideLaguna XS 2.1$0.06$0.12$0.000060$0.000060
15GoogleGemma 3n 4B$0.06$0.12$0.000060$0.000060
16~deepseekDeepSeek V4 Flash Latest$0.06$0.13$0.000064$0.000064
17AlibabaQwen3.7 Flash$0.03$0.13$0.000065$0.000065
18OpenAIgpt-oss-20b$0.03$0.13$0.000065$0.000065
19AmazonNova Micro 1.0$0.04$0.14$0.000070$0.000070
20MicrosoftPhi 4$0.07$0.14$0.000070$0.000070
21CohereCommand R7B (12-2024)$0.04$0.15$0.000075$0.000075
22GoogleGemma 3 12B$0.05$0.15$0.000075$0.000075
23AlibabaQwen3.5-9B$0.10$0.15$0.000075$0.000075
24Mistral AIMinistral 3 8B 2512$0.15$0.15$0.000075$0.000075
25OpenAIgpt-oss-120b$0.04$0.17$0.000085$0.000085
26TencentHy-MT2-1.8B$0.04$0.18$0.000089$0.000089
27DeepSeekDeepSeek V4 Flash 0731$0.08$0.18$0.000090$0.000090
28poolsideLaguna S 2.1$0.09$0.18$0.000090$0.000090
29MetaLlama Guard 4 12B$0.18$0.18$0.000090$0.000090
30AlibabaQwen3 30B A3B Instruct 2507$0.05$0.19$0.000097$0.000097
31OpenAIGPT-5 Nano (batch)$0.02$0.20$0.000100$0.000100
32NVIDIANemotron 3 Nano 30B A3B$0.05$0.20$0.000100$0.000100
33GoogleGemini 2.5 Flash Lite (batch)$0.05$0.20$0.000100$0.000100
34OpenAIGPT-4.1 Nano (batch)$0.05$0.20$0.000100$0.000100
35Mistral AIMistral Small 3.2 24B$0.07$0.20$0.000100$0.000100
36NVIDIANemotron 3.5 Lightning$0.08$0.20$0.000100$0.000100
37metaMuse Spark 1.2 Contributor$0.10$0.20$0.000100$0.000100
38ByteDanceUI-TARS 7B $0.10$0.20$0.000100$0.000100
39rekaaiReka Flash 3$0.10$0.20$0.000100$0.000100
40AlibabaQwen2.5 7B Instruct$0.10$0.20$0.000100$0.000100
41Mistral AIMinistral 3 14B 2512$0.20$0.20$0.000100$0.000100
42MetaLlama 3.2 1B Instruct$0.03$0.20$0.0001$0.0001
43AmazonNova Lite 1.0$0.06$0.24$0.0001$0.0001
44AlibabaQwen3 14B$0.12$0.24$0.0001$0.0001
45AlibabaQwen3.5-Flash$0.07$0.26$0.0001$0.0001
46AlibabaQwen3 Coder 30B A3B Instruct$0.07$0.28$0.0001$0.0001
47AlibabaQwen3 32B$0.08$0.28$0.0001$0.0001
48XiaomiMiMo-V2.5$0.14$0.28$0.0001$0.0001
49TencentHy-MT2-30B-A3B$0.07$0.29$0.0001$0.0001
50TencentHy-MT2-7B$0.07$0.29$0.0001$0.0001
51ByteDanceSeed 1.6 Flash$0.07$0.30$0.0001$0.0001
52OpenAIgpt-oss-safeguard-20b$0.07$0.30$0.0001$0.0001
53OpenAIGPT-4o-mini (batch)$0.07$0.30$0.0001$0.0001
54StepFunStep 3.5 Flash$0.10$0.30$0.0001$0.0001
55Mistral AIVoxtral Small 24B 2507$0.10$0.30$0.0001$0.0001
56MetaLlama 4 Scout$0.10$0.30$0.0001$0.0001
57MetaLlama 3.3 70B Instruct$0.10$0.32$0.0002$0.0002
58MetaLlama 3.2 3B Instruct$0.05$0.33$0.0002$0.0002
59GoogleGemma 4 26B A4B $0.07$0.34$0.0002$0.0002
60GoogleGemma 4 31B$0.10$0.34$0.0002$0.0002
61DeepSeekDeepSeek V3.2$0.26$0.38$0.0002$0.0002
62OpenAIGPT-5 Nano$0.05$0.40$0.0002$0.0002
63Zhipu AIGLM 4.7 Flash$0.06$0.40$0.0002$0.0002
64NVIDIANemotron 3 Super$0.08$0.40$0.0002$0.0002
65ByteDanceSeed-2.0-Mini$0.10$0.40$0.0002$0.0002
66GoogleGemini 2.5 Flash Lite$0.10$0.40$0.0002$0.0002
67OpenAIGPT-4.1 Nano$0.10$0.40$0.0002$0.0002
68AlibabaQwen2.5 72B Instruct$0.36$0.40$0.0002$0.0002
69MetaLlama 3.1 70B Instruct$0.40$0.40$0.0002$0.0002
70DeepSeekDeepSeek V3.2 Exp$0.27$0.41$0.0002$0.0002
71AlibabaQwen3 VL 32B Instruct$0.10$0.42$0.0002$0.0002
72GoogleGemma 3 27B$0.08$0.45$0.0002$0.0002
73AlibabaQwen3 VL 8B Instruct$0.12$0.45$0.0002$0.0002
74AlibabaQwen3 8B$0.12$0.45$0.0002$0.0002
75Allen AIOlmo 3 32B Think$0.15$0.50$0.0003$0.0003
76AlibabaQwen3 VL 30B A3B Instruct$0.13$0.52$0.0003$0.0003
77AlibabaQwen3 30B A3B$0.13$0.52$0.0003$0.0003
78TencentHy3$0.13$0.53$0.0003$0.0003
79AlibabaQwen3 235B A22B Instruct 2507$0.09$0.55$0.0003$0.0003
80Mistral AIMistral Small 3.1 24B$0.35$0.55$0.0003$0.0003
81TencentHunyuan A13B Instruct$0.14$0.57$0.0003$0.0003
82OpenAIGPT-5.6 Luna Pro (batch)$0.10$0.60$0.0003$0.0003
83OpenAIGPT-5.6 Luna (batch)$0.10$0.60$0.0003$0.0003
84KuaishouKAT-Coder-Air V2.5$0.15$0.60$0.0003$0.0003
85Mistral AIMistral Small 4$0.15$0.60$0.0003$0.0003
86UpstageSolar Pro 3$0.15$0.60$0.0003$0.0003
87CohereCommand R (08-2024)$0.15$0.60$0.0003$0.0003
88OpenAIGPT-4o-mini$0.15$0.60$0.0003$0.0003
89OpenAIGPT-4o-mini (2024-07-18)$0.15$0.60$0.0003$0.0003
90TencentHy3 preview$0.18$0.60$0.0003$0.0003
91Mistral AISaba$0.20$0.60$0.0003$0.0003
92MicrosoftWizardLM-2 8x22B$0.62$0.62$0.0003$0.0003
93inclusionaiRing-2.6-1T$0.07$0.63$0.0003$0.0003
94inclusionaiLing-2.6-1T$0.07$0.63$0.0003$0.0003
95OpenAIGPT-5.4 Nano (batch)$0.10$0.63$0.0003$0.0003
96GoogleGemma 2 27B$0.65$0.65$0.0003$0.0003
97DeepSeekDeepSeek V4 Flash Vision Exp$0.22$0.66$0.0003$0.0003
98GoogleGemini 3.1 Flash Lite (batch)$0.13$0.75$0.0004$0.0004
99InceptionMercury 2$0.25$0.75$0.0004$0.0004
100OpenAIGPT-3.5 Turbo (batch)$0.25$0.75$0.0004$0.0004
101AlibabaQwen Plus 0728$0.26$0.78$0.0004$0.0004
102AlibabaQwen Plus 0728 (thinking)$0.26$0.78$0.0004$0.0004
103AlibabaQwen-Plus$0.26$0.78$0.0004$0.0004
104AlibabaQwen3 Coder Next$0.12$0.80$0.0004$0.0004
105OpenAIGPT-4.1 Mini (batch)$0.20$0.80$0.0004$0.0004
106MetaLlama 4 Maverick$0.20$0.80$0.0004$0.0004
107DeepSeekR1 Distill Llama 70B$0.80$0.80$0.0004$0.0004
108DeepSeekDeepSeek V4 Pro 0423$0.41$0.83$0.0004$0.0004
109Zhipu AIGLM 4.5 Air$0.13$0.85$0.0004$0.0004
110arcee-aiTrinity Large Thinking$0.22$0.85$0.0004$0.0004
111XiaomiMiMo-V2.5-Pro$0.43$0.87$0.0004$0.0004
112Zhipu AIGLM 4.6V$0.30$0.90$0.0004$0.0004
113Mistral AICodestral 2508$0.30$0.90$0.0004$0.0004
114GoogleGemini 3.7 Flash (batch)$0.19$0.94$0.0005$0.0005
115AlibabaQwen3 Coder Flash$0.20$0.97$0.0005$0.0005
116OpenAIGPT-5 Mini (batch)$0.13$1.00$0.0005$0.0005
117AlibabaQwen3.6 35B A3B$0.14$1.00$0.0005$0.0005
118DeepSeekDeepSeek V3 0324$0.25$1.00$0.0005$0.0005
119DeepSeekDeepSeek V3.1 Terminus$0.27$1.00$0.0005$0.0005
120AlibabaQwen3 Coder 480B A35B$0.30$1.00$0.0005$0.0005
121AlibabaQwen2.5 Coder 32B Instruct$0.66$1.00$0.0005$0.0005
122AlibabaQwen2.5 VL 72B Instruct$0.80$1.00$0.0005$0.0005
123PerplexitySonar$1.00$1.00$0.0005$0.0005
124MiniMaxMiniMax M2$0.26$1.02$0.0005$0.0005
125DeepSeekDeepSeek V3$0.26$1.03$0.0005$0.0005
126MiniMaxMiniMax M2.5$0.27$1.08$0.0005$0.0005
127AlibabaQwen3 Next 80B A3B Instruct$0.10$1.10$0.0006$0.0006
128MiniMaxMiniMax-01$0.20$1.10$0.0006$0.0006
129AlibabaQwen3.6 Flash$0.19$1.13$0.0006$0.0006
130StepFunStep 3.7 Flash$0.20$1.15$0.0006$0.0006
131AlibabaQwen3 Next 80B A3B Thinking$0.15$1.20$0.0006$0.0006
132OpenAIGPT-5.6 Luna Pro$0.20$1.20$0.0006$0.0006
133OpenAIGPT-5.6 Luna$0.20$1.20$0.0006$0.0006
134MeituanLongCat 2.0$0.30$1.20$0.0006$0.0006
135MiniMaxMiniMax M3$0.30$1.20$0.0006$0.0006
136MiniMaxMiniMax M3 (batch)$0.30$1.20$0.0006$0.0006
137KuaishouKAT-Coder-Pro V2$0.30$1.20$0.0006$0.0006
138MiniMaxMiniMax M2.7$0.30$1.20$0.0006$0.0006
139MiniMaxMiniMax M2-her$0.30$1.20$0.0006$0.0006
140MiniMaxMiniMax M2.1$0.30$1.20$0.0006$0.0006
141thinkingmachinesInkling Small$0.45$1.20$0.0006$0.0006
142arcee-aiVirtuoso Large$0.75$1.20$0.0006$0.0006
143GoogleGemini 3.5 Flash Lite (batch)$0.15$1.25$0.0006$0.0006
144GoogleGemini 2.5 Flash (batch)$0.15$1.25$0.0006$0.0006
145OpenAIGPT-5.4 Nano$0.20$1.25$0.0006$0.0006
146AlibabaQwen3.5-35B-A3B$0.25$1.25$0.0006$0.0006
147AnthropicClaude 3 Haiku$0.25$1.25$0.0006$0.0006
148BaiduERNIE 4.5 VL 424B A47B $0.42$1.25$0.0006$0.0006
149AlibabaQwen3.7 Plus$0.32$1.28$0.0006$0.0006
150aion-labsAion-3.0-Mini$0.70$1.40$0.0007$0.0007
151perceptronPerceptron Mk1$0.15$1.50$0.0008$0.0008
152GoogleGemini 3.1 Flash Lite$0.25$1.50$0.0008$0.0008
153GoogleGemini 3.1 Flash Lite Preview$0.25$1.50$0.0008$0.0008
154GoogleGemini 3 Flash Preview (batch)$0.25$1.50$0.0008$0.0008
155metaMuse Glimmer 30B$0.35$1.50$0.0008$0.0008
156Mistral AIMistral Large 3 2512$0.50$1.50$0.0008$0.0008
157OpenAIGPT-3.5 Turbo$0.50$1.50$0.0008$0.0008
158AlibabaQwen3.5-27B$0.20$1.56$0.0008$0.0008
159AlibabaQwen3.5 Plus 2026-02-15$0.26$1.56$0.0008$0.0008
160OpenAIGPT-4.1 Mini$0.40$1.60$0.0008$0.0008
161aion-labsAion-2.0$0.80$1.60$0.0008$0.0008
162DeepSeekDeepSeek V3.1$0.55$1.65$0.0008$0.0008
163Zhipu AIGLM 4.7$0.40$1.75$0.0009$0.0009
164AlibabaQwen3.5 Plus 2026-04-20$0.30$1.80$0.0009$0.0009
165Zhipu AIGLM 4.5V$0.60$1.80$0.0009$0.0009
166HUMAINALLaM 1 13B Instruct$1.80$1.80$0.0009$0.0009
167AlibabaQwen3 235B A22B$0.45$1.82$0.0009$0.0009
168GoogleGemini 3.7 Flash$0.38$1.88$0.0009$0.0009
169GoogleGemini 3.6 Flash (batch)$0.38$1.88$0.0009$0.0009
170~googleGoogle Gemini Flash Latest$0.38$1.88$0.0009$0.0009
171AlibabaQwen3 VL 235B A22B Instruct$0.21$1.90$0.0009$0.0009
172Zhipu AIGLM 5$0.60$1.92$0.0010$0.0010
173AlibabaQwen3.6 Plus$0.33$1.95$0.0010$0.0010
174ByteDanceSeed-2.0-Lite$0.25$2.00$0.0010$0.0010
175ByteDanceSeed 1.6$0.25$2.00$0.0010$0.0010
176OpenAIGPT-5.1-Codex-Mini$0.25$2.00$0.0010$0.0010
177OpenAIGPT-5 Mini$0.25$2.00$0.0010$0.0010
178Mistral AIMistral Medium 3.1$0.40$2.00$0.0010$0.0010
179Mistral AIMistral Medium 3$0.40$2.00$0.0010$0.0010
180Zhipu AIGLM 4.6$0.50$2.00$0.0010$0.0010
181xAIGrok Build 0.1$1.00$2.00$0.0010$0.0010
182OpenAIGPT-3.5 Turbo (older v0613)$1.00$2.00$0.0010$0.0010
183OpenAIGPT-3.5 Turbo Instruct$1.50$2.00$0.0010$0.0010
184AlibabaQwen3.5-122B-A10B$0.26$2.08$0.0010$0.0010
185AlibabaQwen3 VL 8B Thinking$0.18$2.10$0.0010$0.0010
186DeepSeekR1 0528$0.50$2.15$0.0011$0.0011
187MiniMaxMiniMax M1$0.55$2.20$0.0011$0.0011
188OpenAIo4 Mini High (batch)$0.55$2.20$0.0011$0.0011
189OpenAIo4 Mini (batch)$0.55$2.20$0.0011$0.0011
190OpenAIo3 Mini High (batch)$0.55$2.20$0.0011$0.0011
191OpenAIo3 Mini (batch)$0.55$2.20$0.0011$0.0011
192Zhipu AIGLM 4.5$0.60$2.20$0.0011$0.0011
193OpenAIGPT-5.4 Mini (batch)$0.38$2.25$0.0011$0.0011
194Moonshot AIKimi K2.5$0.45$2.25$0.0011$0.0011
195Moonshot AIKimi K2.6$0.54$2.28$0.0011$0.0011
196AlibabaQwen3 235B A22B Thinking 2507$0.23$2.30$0.0011$0.0011
197Moonshot AIKimi K2 0711$0.57$2.30$0.0011$0.0011
198AlibabaQwen3.5 397B A17B$0.39$2.34$0.0012$0.0012
199AlibabaQwen3 VL 30B A3B Thinking$0.20$2.40$0.0012$0.0012
200AlibabaQwen3 30B A3B Thinking 2507$0.20$2.40$0.0012$0.0012
201OpenAIGPT Audio Mini$0.60$2.40$0.0012$0.0012
202GoogleGemini 3.5 Flash Lite$0.30$2.50$0.0013$0.0013
203AmazonNova 2 Lite$0.30$2.50$0.0013$0.0013
204GoogleGemini 2.5 Flash$0.30$2.50$0.0013$0.0013
205ByteDanceSeed 2.1 Turbo$0.50$2.50$0.0013$0.0013
206AnthropicClaude Haiku 4.5 (batch)$0.50$2.50$0.0013$0.0013
207CursorComposer 2$0.50$2.50$0.0013$0.0013
208Moonshot AIKimi K2 Thinking$0.60$2.50$0.0013$0.0013
209Moonshot AIKimi K2 0905$0.60$2.50$0.0013$0.0013
210DeepSeekR1$0.70$2.50$0.0013$0.0013
211xAIGrok 4.3$1.25$2.50$0.0013$0.0013
212xAIGrok 4.20 Multi-Agent$1.25$2.50$0.0013$0.0013
213xAIGrok 4.20$1.25$2.50$0.0013$0.0013
214KuaishouKAT-Coder-Pro V2.5$0.74$2.96$0.0015$0.0015
215AlibabaQwen3.8 27B$0.40$3.00$0.0015$0.0015
216ByteDanceSeed-2.0-Code$0.50$3.00$0.0015$0.0015
217GoogleGemini 3 Flash Preview$0.50$3.00$0.0015$0.0015
218Zhipu AIGLM 5.2$0.97$3.04$0.0015$0.0015
219Zhipu AIGLM 5.1$0.97$3.04$0.0015$0.0015
220AmazonNova Pro 1.0$0.80$3.20$0.0016$0.0016
221AlibabaQwen3 Coder Plus$0.65$3.25$0.0016$0.0016
222DeepSeekDeepSeek V4 Pro 0813$1.12$3.37$0.0017$0.0017
223Moonshot AIKimi K2.7 Code$0.67$3.40$0.0017$0.0017
224NVIDIANemotron 3 Ultra$0.60$3.60$0.0018$0.0018
225NVIDIANemotron 3 Ultra (batch)$0.60$3.60$0.0018$0.0018
226AlibabaQwen3.6 27B$0.60$3.60$0.0018$0.0018
227GoogleGemini 3.6 Flash$0.75$3.75$0.0019$0.0019
228AlibabaQwen3 Max Thinking$0.78$3.90$0.0019$0.0019
229AlibabaQwen3 Max$0.78$3.90$0.0019$0.0019
230AlibabaQwen3 VL 235B A22B Thinking$0.40$4.00$0.0020$0.0020
231sakanaSakana Namazu$0.95$4.00$0.0020$0.0020
232Moonshot AIKimi K2.7 Code (batch)$0.95$4.00$0.0020$0.0020
233OpenAIo3 (batch)$1.00$4.00$0.0020$0.0020
234OpenAIGPT-4.1 (batch)$1.00$4.00$0.0020$0.0020
235Zhipu AIGLM 5V Turbo$1.20$4.00$0.0020$0.0020
236Zhipu AIGLM 5 Turbo$1.20$4.00$0.0020$0.0020
237OpenAIGPT-3.5 Turbo 16k$3.00$4.00$0.0020$0.0020
238thinkingmachinesInkling$0.95$4.05$0.0020$0.0020
239thinkingmachinesInkling (batch)$1.00$4.05$0.0020$0.0020
240metaMuse Spark 1.2$1.25$4.25$0.0021$0.0021
241metaMuse Spark 1.1$1.25$4.25$0.0021$0.0021
242OpenAIo4 Mini High$1.10$4.40$0.0022$0.0022
243OpenAIo4 Mini$1.10$4.40$0.0022$0.0022
244OpenAIo3 Mini High$1.10$4.40$0.0022$0.0022
245OpenAIo3 Mini$1.10$4.40$0.0022$0.0022
246~z-aiGLM Latest$1.40$4.40$0.0022$0.0022
247Zhipu AIGLM 5.3$1.40$4.40$0.0022$0.0022
248Zhipu AIGLM 5.2 (batch)$1.40$4.40$0.0022$0.0022
249AlibabaQwen3.7 Max$1.48$4.42$0.0022$0.0022
250GoogleGemini 3.5 Flash (batch)$0.75$4.50$0.0023$0.0023
251~openaiOpenAI GPT Mini Latest$0.75$4.50$0.0023$0.0023
252OpenAIGPT-5.4 Mini$0.75$4.50$0.0023$0.0023
253OpenAIGPT-5.1 (batch)$0.63$5.00$0.0025$0.0025
254OpenAIGPT-5 Codex (batch)$0.63$5.00$0.0025$0.0025
255OpenAIGPT-5 (batch)$0.63$5.00$0.0025$0.0025
256GoogleGemini 2.5 Pro (batch)$0.63$5.00$0.0025$0.0025
257OpenAIGPT-5.6 Sol Pro (batch)$1.00$5.00$0.0025$0.0025
258OpenAIGPT-5.6 Sol (batch)$1.00$5.00$0.0025$0.0025
259AnthropicClaude Sonnet 5 (batch)$1.00$5.00$0.0025$0.0025
260~anthropicAnthropic Claude Haiku Latest$1.00$5.00$0.0025$0.0025
261AnthropicClaude Haiku 4.5$1.00$5.00$0.0025$0.0025
262OpenAIGPT-4o (batch)$1.25$5.00$0.0025$0.0025
263WriterPalmyra X5$0.60$6.00$0.0030$0.0030
264OpenAIGPT-5.6 Terra Pro (batch)$1.00$6.00$0.0030$0.0030
265OpenAIGPT-5.6 Terra (batch)$1.00$6.00$0.0030$0.0030
266GoogleGemini 3.1 Pro Preview (batch)$1.00$6.00$0.0030$0.0030
267AlibabaQwen3.8 2.4T A95B$2.00$6.00$0.0030$0.0030
268xAIGrok 4.6$2.00$6.00$0.0030$0.0030
269AlibabaQwen3.8 Max$2.00$6.00$0.0030$0.0030
270xAIGrok 4.5$2.00$6.00$0.0030$0.0030
271~x-aiGrok Latest$2.00$6.00$0.0030$0.0030
272Mistral AIMistral Large 2407$2.00$6.00$0.0030$0.0030
273Mistral AIMixtral 8x22B Instruct$2.00$6.00$0.0030$0.0030
274Mistral AIMistral Large$2.00$6.00$0.0030$0.0030
275aion-labsAion-3.0$3.00$6.00$0.0030$0.0030
276AlibabaQwen3.6 Max Preview$1.03$6.16$0.0031$0.0031
277OpenAIGPT-5.2 (batch)$0.88$7.00$0.0035$0.0035
278OpenAIGPT-5.4 (batch)$1.25$7.50$0.0037$0.0037
279Mistral AIMistral Medium 3.5$1.50$7.50$0.0037$0.0037
280AnthropicClaude Sonnet 4.6 (batch)$1.50$7.50$0.0037$0.0037
281AnthropicClaude Sonnet 4.5 (batch)$1.50$7.50$0.0037$0.0037
282CursorComposer 2 Fast$1.50$7.50$0.0037$0.0037
283OpenAIo3$2.00$8.00$0.0040$0.0040
284OpenAIGPT-4.1$2.00$8.00$0.0040$0.0040
285PerplexitySonar Reasoning Pro$2.00$8.00$0.0040$0.0040
286PerplexitySonar Deep Research$2.00$8.00$0.0040$0.0040
287GoogleGemini 3.5 Flash$1.50$9.00$0.0045$0.0045
288OpenAIGPT-5.1-Codex-Max$1.25$10.00$0.0050$0.0050
289OpenAIGPT-5.1$1.25$10.00$0.0050$0.0050
290OpenAIGPT-5.1-Codex$1.25$10.00$0.0050$0.0050
291OpenAIGPT-5$1.25$10.00$0.0050$0.0050
292GoogleGemini 2.5 Pro$1.25$10.00$0.0050$0.0050
293GoogleGemini 2.5 Pro Preview 06-05$1.25$10.00$0.0050$0.0050
294GoogleGemini 2.5 Pro Preview 05-06$1.25$10.00$0.0050$0.0050
295OpenAIGPT-5.6 Sol Pro$2.00$10.00$0.0050$0.0050
296OpenAIGPT-5.6 Sol$2.00$10.00$0.0050$0.0050
297AnthropicClaude Sonnet 5$2.00$10.00$0.0050$0.0050
298~anthropicAnthropic Claude Sonnet Latest$2.00$10.00$0.0050$0.0050
299~openaiOpenAI GPT Latest$2.00$10.00$0.0050$0.0050
300OpenAIGPT Audio$2.50$10.00$0.0050$0.0050
301CohereCommand A$2.50$10.00$0.0050$0.0050
302OpenAIGPT-4o (2024-11-20)$2.50$10.00$0.0050$0.0050
303CohereCommand R+ (08-2024)$2.50$10.00$0.0050$0.0050
304OpenAIGPT-4o (2024-08-06)$2.50$10.00$0.0050$0.0050
305OpenAIGPT-4o$2.50$10.00$0.0050$0.0050
306OpenAIGPT-5.6 Terra Pro$2.00$12.00$0.0060$0.0060
307OpenAIGPT-5.6 Terra$2.00$12.00$0.0060$0.0060
308~googleGoogle Gemini Pro Latest$2.00$12.00$0.0060$0.0060
309GoogleGemini 3.1 Pro Preview Custom Tools$2.00$12.00$0.0060$0.0060
310GoogleGemini 3.1 Pro Preview$2.00$12.00$0.0060$0.0060
311AnthropicClaude Opus 5 (batch)$2.50$12.50$0.0063$0.0063
312AnthropicClaude Opus 4.8 (batch)$2.50$12.50$0.0063$0.0063
313AnthropicClaude Opus 4.7 (batch)$2.50$12.50$0.0063$0.0063
314AnthropicClaude Opus 4.6 (batch)$2.50$12.50$0.0063$0.0063
315AnthropicClaude Opus 4.5 (batch)$2.50$12.50$0.0063$0.0063
316AmazonNova Premier 1.0$2.50$12.50$0.0063$0.0063
317~moonshotaiMoonshotAI Kimi Latest$2.60$13.00$0.0065$0.0065
318OpenAIGPT-5.3-Codex$1.75$14.00$0.0070$0.0070
319OpenAIGPT-5.2-Codex$1.75$14.00$0.0070$0.0070
320OpenAIGPT-5.2 Chat$1.75$14.00$0.0070$0.0070
321OpenAIGPT-5.2$1.75$14.00$0.0070$0.0070
322OpenAIGPT-5.5 (batch)$2.50$15.00$0.0075$0.0075
323OpenAIGPT-5.4$2.50$15.00$0.0075$0.0075
324Moonshot AIKimi K3$3.00$15.00$0.0075$0.0075
325AnthropicClaude Sonnet 4.6$3.00$15.00$0.0075$0.0075
326PerplexitySonar Pro Search$3.00$15.00$0.0075$0.0075
327AnthropicClaude Sonnet 4.5$3.00$15.00$0.0075$0.0075
328AnthropicClaude Sonnet 4$3.00$15.00$0.0075$0.0075
329PerplexitySonar Pro$3.00$15.00$0.0075$0.0075
330OpenAIGPT-4o (2024-05-13)$5.00$15.00$0.0075$0.0075
331OpenAIGPT-4 Turbo (batch)$5.00$15.00$0.0075$0.0075
332AnthropicClaude Opus 5$5.00$25.00$0.0125$0.0125
333AnthropicClaude Fable 5 (batch)$5.00$25.00$0.0125$0.0125
334AnthropicClaude Opus 4.8$5.00$25.00$0.0125$0.0125
335~anthropicClaude Opus Latest$5.00$25.00$0.0125$0.0125
336AnthropicClaude Opus 4.7$5.00$25.00$0.0125$0.0125
337AnthropicClaude Opus 4.6$5.00$25.00$0.0125$0.0125
338AnthropicClaude Opus 4.5$5.00$25.00$0.0125$0.0125
339sakanaFugu Ultra$5.00$30.00$0.0150$0.0150
340OpenAIGPT Chat Latest$5.00$30.00$0.0150$0.0150
341OpenAIGPT-5.5$5.00$30.00$0.0150$0.0150
342OpenAIo1 (batch)$7.50$30.00$0.0150$0.0150
343OpenAIGPT-4 Turbo$10.00$30.00$0.0150$0.0150
344OpenAIGPT-4 Turbo Preview$10.00$30.00$0.0150$0.0150
345AnthropicClaude Opus 4.1 (batch)$7.50$37.50$0.0187$0.0187
346OpenAIo3 Pro (batch)$10.00$40.00$0.0200$0.0200
347AnthropicClaude Opus 5 (Fast)$10.00$50.00$0.0250$0.0250
348~anthropicClaude Fable Latest$10.00$50.00$0.0250$0.0250
349AnthropicClaude Fable 5$10.00$50.00$0.0250$0.0250
350AnthropicClaude Opus 4.8 (Fast)$10.00$50.00$0.0250$0.0250
351OpenAIGPT-5 Pro (batch)$7.50$60.00$0.0300$0.0300
352OpenAIo1$15.00$60.00$0.0300$0.0300
353OpenAIGPT-4$30.00$60.00$0.0300$0.0300
354AnthropicClaude Opus 4.1$15.00$75.00$0.0375$0.0375
355AnthropicClaude Opus 4$15.00$75.00$0.0375$0.0375
356OpenAIo3 Pro$20.00$80.00$0.0400$0.0400
357OpenAIGPT-5.2 Pro (batch)$10.50$84.00$0.0420$0.0420
358OpenAIGPT-5.5 Pro (batch)$15.00$90.00$0.0450$0.0450
359OpenAIGPT-5.4 Pro (batch)$15.00$90.00$0.0450$0.0450
360OpenAIGPT-5 Pro$15.00$120.00$0.0600$0.0600
361AnthropicClaude Opus 4.7 (Fast)$30.00$150.00$0.0750$0.0750
362OpenAIGPT-5.2 Pro$21.00$168.00$0.0840$0.0840
363OpenAIGPT-5.5 Pro$30.00$180.00$0.0900$0.0900
364OpenAIGPT-5.4 Pro$30.00$180.00$0.0900$0.0900
365OpenAIo1-pro (batch)$75.00$300.00$0.1500$0.1500
366OpenAIo1-pro$150.00$600.00$0.3000$0.3000

How token counting works

This tool estimates token counts using a ~4 characters per token approximation, which is widely accurate for English text across most major tokenizers (GPT, Claude, Gemini). Actual token counts may vary by 10-20% depending on the model's specific tokenizer, language, and content type. All pricing data is sourced from real-time API pricing and updated hourly.

Frequently Asked Questions

This page uses the same approximate token counting logic as the main token counter, then applies Gemma 4 31B (free)'s live input and output rates to estimate cost per call and total spend.

Cost only matters in context. Keeping Gemma 4 31B (free) pinned while you test prompts makes it easier to see when a cheaper peer is close enough, or when Gemma 4 31B (free) still justifies its rate.

Yes. Adjust the expected response length and API call volume below to move from a single prompt estimate to a larger usage scenario.

Gemma 4 31B (free) Token Counter | LM Market Cap