Guide
Gemini token count and cost: how Gemini counts tokens and what each request costs
Prices checked Nov 26, 2026 · 4 min read

A Gemini token is about 4 characters of English text, and 100 tokens is about 60 to 80 words, according to Google's own token documentation. You pay per token, for both input and output. On TapModels, Gemini 4 Hydrogen costs $0.60 per million input tokens and $3.00 per million output tokens, and Gemini 4 Neon costs $1.20 and $6.00. A request with 2,000 tokens in and 500 out costs $0.0027 on Hydrogen.
How Gemini counts tokens
We read Google's token page on 2026-11-26. The rules that matter:
- A token is about 4 characters, and 100 tokens is about 60 to 80 English words. These are rules of thumb, not exact counts.
- Tokenization applies to all input and output, including text, images and other media.
- System instructions and tool definitions count toward input tokens.
- Gemini 4 models share a single 1M-token context window of 1,048,576 tokens across input, thinking and output.
- Synchronous responses default to a cap of 65,536 output tokens, unless you use long decode.
So a 1,000 character prompt is roughly 250 tokens. A 4,000 word document is closer to 5,000 to 6,700 tokens, since 100 tokens is 60 to 80 words (4,000 / 80 x 100 = 5,000 and 4,000 / 60 x 100 = 6,667).
How images, audio and video are counted
| Input | Rule from Google's page | Example |
|---|---|---|
| Image, 384 px or less on both sides | 258 tokens | 10 small images = 2,580 tokens |
| Larger image | Tiled into 768x768 tiles, 258 tokens each | 3 tiles = 774 tokens |
| Audio | 32 tokens per second | 60 seconds = 1,920 tokens |
| Video | Counted by frames, 1 frame per second by default | Use count_tokens |
Video is the one to measure rather than assume. Google's page gives about 263 tokens per second in one place and about 100 (default resolution) to about 300 (high resolution) per second in its video table, and does not reconcile the two. By the table, a 60 second clip comes to 6,000 to 18,000 tokens. Count a real file before you budget.
Two numbers matter: what you are about to send and what the model used.
How to read the count
- Before. Google's docs describe a
count_tokensmethod that returns the count for your input only. For a rough check without code, paste text into our token counter. - After. The response reports actual use. Google's page lists total input, output, thought, cached and tool-use tokens, plus a total.
On TapModels, chat uses the OpenAI-compatible route, so the response carries the usual usage object. Our contract says chat is billed per token at the model's price. It does not describe a separate field for thinking tokens, so read usage on your first real call and see what it reports.
from openai import OpenAI
import os
client = OpenAI(base_url="https://api.tapmodels.com/v1", api_key=os.environ["TAPMODELS_API_KEY"])
res = client.chat.completions.create(
model="gemini-4-hydrogen",
messages=[{"role": "user", "content": "Summarize the trade-offs of event sourcing in 5 bullets."}],
max_tokens=500,
)
print(res.usage) # input and output tokens for this request
Google's pricing page says "Every token the model processes is counted and billed, including thinking tokens" for its Gemini 4 models, and labels output prices as including thinking tokens. So a reasoning-heavy answer can cost more output tokens than the visible text suggests. Set max_tokens with that in mind, and compare usage against the length of the reply you got.
Thinking tokens
List price is the provider's published rate as recorded in our catalog on 2026-11-26. Credits are 100 per dollar.
| Model | Input per 1M | Output per 1M | List input | List output |
|---|---|---|---|---|
| Gemini 4 Hydrogen | $0.60 | $3.00 | $1.50 | $7.50 |
| Gemini 4 Neon | $1.20 | $6.00 | $3.00 | $15.00 |
Per token, Hydrogen costs $0.0000006 in and $0.000003 out. The catalog lists one input price per model, so check the Gemini pricing page for any difference by input type before you budget a media-heavy job.
Gemini API cost per token on TapModels
Worked examples
A support-bot call: you send an 8,000 character prompt (about 2,000 tokens) and get 500 tokens back.
- Hydrogen: 2,000 x $0.60 / 1M = $0.0012, plus 500 x $3.00 / 1M = $0.0015. Total $0.0027.
- Neon: $0.0024 + $0.0030 = $0.0054.
- At list price on Hydrogen: $0.0030 + $0.00375 = $0.00675.
At 100,000 requests that is $270 on Hydrogen, $540 on Neon and $675 on Hydrogen at list price.
Transcribing audio into the prompt: a 10 minute recording is 600 s x 32 = 19,200 tokens. On Hydrogen input that is 19,200 x $0.60 / 1M = $0.01152, before the output. Ten such recordings are about $0.12 of input.
Reading 20 small images: 20 x 258 = 5,160 tokens, or 5,160 x $0.60 / 1M = $0.0031 on Hydrogen.
Put your own sizes into the LLM cost calculator. For the cheaper way to run Gemini by API, read cheap Gemini API.
Ways to spend fewer tokens
- Trim the system prompt and chat history, since both count as input on every call.
- Cap
max_tokensto the length you need. - Send images at 384 px when detail does not matter: one tile costs 258 tokens.
- Use the smaller model for easy calls. Neon costs exactly twice Hydrogen per token.
Next step: estimate your own prompt in the token counter.
Frequently asked questions
How many characters is a Gemini token?
Google's token documentation says a Gemini token is equivalent to about 4 characters, and that 100 tokens is about 60 to 80 English words. Those are estimates for English text. Code, other languages and symbols can tokenize differently, so measure real prompts with a token counter.
How do I count Gemini tokens before I send a request?
Google's docs describe a count_tokens method that returns the token count for your input only, so you can check size before sending. You can also paste text into our free token counter for an estimate, then read the usage object in the real response for the exact figure.
How much does Gemini cost per token?
On TapModels, Gemini 4 Hydrogen costs $0.60 per million input tokens and $3.00 per million output tokens. Gemini 4 Neon costs $1.20 and $6.00. That is $0.0000006 per input token for Hydrogen. A request of 2,000 input and 500 output tokens costs $0.0027 on Hydrogen.
Are Gemini thinking tokens billed?
Google's pricing page says every token the model processes is counted and billed, including thinking tokens, for Gemini 4 models. Check the usage object on a real response to see what your request used. Our contract says chat is billed per token at the model's price.
Sources
- Google AI Studio docs: understand and count tokens · checked Nov 26, 2026
- Google AI Studio docs: pricing (thinking tokens) · checked Nov 26, 2026
- Provider list prices as recorded in the TapModels model catalog · checked Nov 26, 2026