Token counter · Gemini · 33 models · synced 2026-11-25

Gemini token counter

Paste a prompt to see how many tokens Gemini bills it as, and what that costs on every Gemini model Google publishes a rate for. The tokenizer runs in your browser — nothing you paste leaves the page.

35tokens27words157characterso200k_base, counted in your browser
Show the token split35 pieces
Expected reply
≈ 18 output tokens
Calls
35K input tokens billed
CacheProviders without a published cache rate stay at list price.
Providers — 1 of 12 in the ranking
$5.00 in·$30.00 out
exact$0.7150
$10.00 in·$50.00 out
estimated$1.3000
$3.00 in·$15.00 out
estimated$0.3810
$1.32 in·$3.96 out
estimated$0.1214
$1.25 in·$2.50 out
estimated$0.0913
$3.00 in·$15.00 out
estimated$0.3810
$4.00 in·$20.00 out
estimated$0.5120
$0.80 in·$4.00 out
estimated$0.1024
$1.40 in·$4.40 out
estimated$0.1338
$0.50 in·$1.50 out
estimated$0.0460
$0.99 in·$1.49 out
estimated$0.0644
$2.00 in·$8.00 out
estimated$0.2220
Ranked cheapest first · 1,000 calls
  1. $0.3810cheapest · 37 in
Counting
estimated
OpenAI encoder × 1.05
Tokens per word
1.17
English prose
1,000 words
≈ 1,170
tokens
Cheapest input
$0.10
gemini-2.5-flash-lite

What a given token count costs on Gemini

Input tokens only, in USD, at current list rates. Output is billed separately and always costs more — the Gemini pricing page has both rates for all 33 models.

Model 1,00010,000100,0001,000,000
gemini-2.5-flash-lite $0.0001$0.001$0.010$0.100
gemini-3.5-flash-lite $0.0003$0.003$0.030$0.300
gemini-flash-lite-latest $0.0003$0.003$0.030$0.300
gemini-3-flash-preview $0.0005$0.005$0.050$0.500
gemini-3.6-flash $0.00075$0.0075$0.075$0.750
gemini-3.7-flash $0.00075$0.0075$0.075$0.750
gemini-3.8-flash $0.00075$0.0075$0.075$0.750
gemini-flash-latest $0.00075$0.0075$0.075$0.750
gemini-3.5-flash $0.0015$0.015$0.150$1.50
gemini-4-hydrogen $0.0015$0.015$0.150$1.50

How Gemini counts a token

A token is not a word and not a character. Common words are usually one token, rarer ones split into pieces, and the spaces and punctuation between them are counted too. On the reference paragraph this page measures against, Gemini works out at 1.17 tokens per word, or one token per 4.5 characters of English prose. Code, JSON and languages that do not use the Latin alphabet all run denser — expect more tokens for the same word count, sometimes twice as many.

Google does not publish a tokenizer. Nobody outside OpenAI does. So the honest description of this count is: OpenAI's encoder run on your text, multiplied by 1.05 — the ratio Google publishes for its own family. It is close enough to choose a model on and to size a budget with, and it is wrong enough that you should not reconcile a bill against it. That is why the badge says estimated rather than a number pretending to be exact.

Questions

How many tokens is 1,000 words in Gemini?
About 1,170 tokens — roughly 1.17 tokens per word of English prose, or one token per 4.5 characters. Code, JSON and non-English text run denser and produce more tokens for the same word count.
Is this Gemini token count exact?
No. Google does not publish a tokenizer, so the count is OpenAI's encoder run on your text and multiplied by 1.05, the ratio Google publishes for its own family. Treat it as ±10%, and never as an invoice.
How much does 1M input tokens cost on Gemini?
From $0.10 on gemini-2.5-flash-lite, the cheapest of the 33 Gemini models listed here. Output tokens are billed separately and cost more — $0.40 per million on the same model.

Token counters for other providers