Tool
Gemma token counter & calculator.
Count tokens and calculate the cost for the Gemma family: Gemma 4 31B, Gemma 4 26B A4B. Paste your prompt below — the token estimate and live per-model cost update as you type.
How the estimate works: a per-family heuristic calibrated to Gemma tokenizers — the average of characters ÷ 3.8 and words × 1.39, the two standard rules of thumb for English prose adjusted per family. It is an estimate, not any one model’s exact tokenizer; code and non-English text can differ by 10–20%. Costs use live list prices from the database.
FAQ
How many tokens is 1,000 words on Gemma models?
About 1,390 tokens — this counter uses the Gemma family's own chars-per-token factor (3.8), and the result is labelled as an estimate, not an exact tokenizer count.
What is the cheapest Gemma model?
See the live table above.