Gemini 2.5 Flash token counter
Type or paste a prompt to count Gemini 2.5 Flash tokens and estimate what it costs to run — free, live, and private.
Try:
Counts include each model's own chat-template overhead.
128 charsGemini 2.5 Flash
Google · 1M context…tokens
About Gemini 2.5 Flash tokenization
- Vendor
- Context window
- 1M tokens
- Pricing (per 1M tokens)
- $0.3 input · $2.5 output (as of 2026-07-07)
- How we count
- Google's official count-tokens API, since its tokenizer isn't public
FAQ
How accurate is this Gemini 2.5 Flash token count?
Exact when a server API key is configured — counts come from Google's own count-tokens endpoint. Otherwise a clearly-labeled local estimate is shown.
Does my prompt leave the browser?
Only to Google's count-tokens API (which doesn't run the model or store your prompt) — nothing is logged by this site.
What does a Gemini 2.5 Flash request cost?
Input tokens × $0.3/1M plus output tokens × $2.5/1M (standard tier, as of 2026-07-07). The calculator above does this for your actual prompt.