Gemini Token Counter
Paste a prompt to estimate its Gemini tokens and what it costs on each Google model.
~0
estimated tokens
0
words
0
characters
This is a character/word-based approximation, not the real tokenizer each provider uses internally — expect it to land within roughly 10–15% of the actual count for plain English text. For an exact count against Claude's own tokenizer, use the Messages API's
count_tokens endpoint.0 tokens
1.00× your input length — drag to model a shorter reply or a long generated response.
Gemini 4 Argon
Google
$0.00
$2/$10 per 1M
Gemini 3.8 Flash
Google
$0.00
$0.75/$3.75 per 1M
Gemini 3.1 Pro (preview)
Google
$0.00
$2/$12 per 1M
Gemini 3.5 Flash-Lite
Google
$0.00
$0.3/$2.5 per 1M
Claude Fable 5.1
Anthropic
$0.00
$10/$50 per 1M
Claude Opus 5.5
Anthropic
$0.00
$4/$20 per 1M
Claude Sonnet 5.5
Anthropic
$0.00
$2/$10 per 1M
Claude Haiku 5.5
Anthropic
$0.00
$0.1/$0.5 per 1M
GPT-6 Astra
OpenAI
$0.00
$10/$50 per 1M
GPT-6.1 Sol
OpenAI
$0.00
$2/$10 per 1M
GPT-6.1 Terra
OpenAI
$0.00
$1/$5 per 1M
GPT-6 Luna
OpenAI
$0.00
$0.1/$0.5 per 1M
Standard list prices from the Anthropic, OpenAI and Google pricing pages, checked 2026-10-31. For a monthly budget with caching and batch discounts, use the LLM API Cost Calculator.
Google prices per 1M tokens
| Model | Input | Cached input | Output |
|---|---|---|---|
| Gemini 4 Argon | $2 | $0.1 | $10 |
| Gemini 3.8 Flash | $0.75 | $0.075 | $3.75 |
| Gemini 3.1 Pro (preview) | $2 | $0.2 | $12 |
| Gemini 3.5 Flash-Lite | $0.3 | $0.03 | $2.5 |
Standard rates from Google's pricing page, checked 2026-10-31. Batch requests cost half. Estimate a monthly bill →
Counting Gemini tokens
For an exact count, call the Gemini API's countTokens method with your model, or read usageMetadata from a response.
- →Google's rule of thumb is about 4 characters per token for Gemini models.
- →Gemini 3.1 Pro charges higher rates for prompts over 200K tokens, for the whole request.
- →Some Gemini prices have announced increases (Gemini 4 Argon from 1 December 2026, Gemini 3.8 Flash from 1 January 2027); the cost column switches automatically on those dates.
Frequently asked
How do I count Gemini tokens exactly?
Use the countTokens method of the Gemini API (or the SDK's count_tokens) with the model you'll call. It returns the token count without generating anything.
Do thinking tokens count for Gemini?
Yes. Gemini bills thinking tokens at the output price, which Google's pricing page notes as "output price (including thinking tokens)".