Skip to content
Model-specific token counter

Gemma 4 31B (batch) Token Counter

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

Provider

Google

Input pricing

$0.39/M

Output pricing

$0.97/M

Market

LLM

342 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
This Model at Your Token Count
Gemma 4 31B (batch)
Google
Profile
Input
$0.39/M
Output
$0.97/M
Cost / Call
$0.0005
Total Cost
$0.0005

$0.0005 more than the cheapest visible model for this exact prompt and call volume.

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

Cost only matters in context. Keeping Gemma 4 31B (batch) pinned while you test prompts makes it easier to see when a cheaper peer is close enough, or when Gemma 4 31B (batch) 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 (batch) Token Counter | LM Market Cap