Gemini token counter.
Count tokens for Gemini 2.5 Pro, Gemini 2.5 Flash, and Gemini Flash Lite. Free, browser-only. No API key. No signup. Instant cost estimate at current Google AI rates — including the 1M-token context window.
Gemini API pricing — 2026.
tokcount calculates Gemini costs automatically — including the two-tier pricing for Gemini 2.5 Pro above 200K tokens.
Gemini 2.5 Pro
Gemini 2.5 Flash
Flash Lite
Pricing from Google AI Studio public docs. Gemini 2.5 Flash thinking tokens are billed separately. Context caching available at discounted rates.
Count Gemini tokens in the Gemini app.
The tokcount browser extension shows live token counts as you type in the Gemini chat interface — including the remaining context budget from Gemini's 1,000,000-token window.
tokcount- handles 1M-token docs natively
- two-tier Pro pricing auto-calculated
- multi-model comparison (
--all) - pipe files and stdin
- inline count as you type
- % of 1M context used
- cost estimate per message
- Chrome + Firefox + Edge
Gemini tokenization — FAQ.
How does Gemini's tokenizer compare to GPT-4o?
What is the maximum context window for Gemini?
Why does Gemini 2.5 Pro have two pricing tiers?
Can I count Gemini tokens without an API key?
countTokens method in the Google AI SDK, which calls the API. tokcount is accurate to within 1–3% for typical text, which is sufficient for cost planning.How do thinking tokens work in Gemini Flash?
power user?
use tokcount daily? tools.voiddo Pro · $9 one-time
supports 67 free tools · Pro license via Paddle · one flat price, no subscription