Checked November 12, 2026 against OpenAI's API pricing docs, Anthropic's pricing and token counting docs, and Google's Gemini token and pricing docs (US prices). This is a documentation-based explainer, not a hands-on test.
Quick verdict
What a token is: a small chunk of text. Google's rule of thumb is about 4 characters per token, or 60 to 80 English words per 100 tokens.
What you pay for: input tokens you send, output tokens the model writes (including hidden thinking), and sometimes cached tokens at a discount.
The big lever: output usually costs 5 times as much as input or more on current flagship models, so long answers drive the bill.

Illustration: AI Tool Audit, created with Google Gemini
On this page
What a token is
Language models do not read words or letters. They read tokens, which are pieces of text produced by a tokenizer. A token can be a single character, part of a word or a whole short word. Long or unusual words split into several tokens. Code, numbers and non-English text often take more tokens than plain English.
Google's Gemini docs give the easiest rule of thumb: one token is roughly four characters, and 100 tokens is about 60 to 80 English words. So a 1,000-word article is very roughly 1,300 to 1,700 tokens. Treat that as a starting estimate, not a rule, because every vendor uses its own tokenizer.
Tokenizers differ, even inside one company
The same sentence can produce different token counts on different models. Anthropic says plainly that Claude Opus 4.7 and later models use a newer tokenizer that produces about 30% more tokens for the same text than earlier Claude models. It warns developers not to reuse old token counts when they switch models.
That matters for cost comparisons. A model with a lower price per token can still cost more for your workload if it splits your text into more tokens. The only reliable test is to count the same prompt on each model you are considering.
The kinds of tokens on your bill
| Token type | What it is | How it is billed |
|---|---|---|
| Input | Your prompt, system instructions, chat history, documents and tool definitions | Base input rate |
| Output | The text the model writes back | Output rate, much higher than input |
| Thinking | Hidden reasoning on thinking models | Google counts it as output; it uses the context window too |
| Cached input | A repeated prompt prefix the provider has stored | A fraction of the input rate |
| Tool overhead | Extra tokens added when you enable tools | Billed as input |
Two of these surprise people. First, every turn of a chat resends the earlier messages as input, so long conversations grow more expensive with each reply. Second, tools are not free to declare. Anthropic's docs list a tool-use system prompt that is added whenever tools are present, and Google says system instructions and tools both count toward input.
Images, audio and video become tokens too
Multimodal input is converted into tokens and billed like text. Google publishes clear numbers for Gemini:
- Images: an image 384 pixels or smaller on both sides counts as 258 tokens. Larger images are cut into 768 x 768 tiles, each counted as 258 tokens.
- Audio: 32 tokens per second.
- Video: counted per second; Google's page gives more than one figure depending on resolution, so count your own files.
Anthropic's token counting endpoint accepts images and PDFs too, so you can measure a document before you send it.
Why output costs more than input
Writing new tokens takes more computing than reading them, and the price lists show it. A few examples from the vendors' current pages, per million tokens:
| Model | Input | Output | Output vs input |
|---|---|---|---|
| OpenAI gpt-6-astra | $10.00 | $50.00 | 5x |
| OpenAI gpt-5.4-mini | $0.75 | $4.50 | 6x |
| Claude Opus 5.5 | $4 | $20 | 5x |
| Claude Sonnet 5.5 | $2 | $10 | 5x |
| Gemini 4 Carbon | $2.00 | $10.00 | 5x |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | about 8x |
Google lists Gemini 4 Carbon prices rising to $4 input and $20 output on December 1, 2026. In practice, a request that sends a long document and gets a short summary back is cheap. A short prompt that asks for a long report is the expensive one.
Cached tokens: the discount for repeating yourself
If you send the same long prefix again and again, such as a big system prompt or a reference document, providers can cache it. OpenAI lists cached input on gpt-6-astra at $1 per million, a tenth of the normal input price. Anthropic charges cache hits on Opus 5.5 and Sonnet 5.5 at 0.05x the base input price, but writing to the cache costs more than normal input. Caching pays off only when the same prefix is reused many times.
How to count tokens before you pay
- Anthropic: the token counting endpoint is free to use, with its own rate limits. Anthropic says the result is an estimate that can differ slightly from the final count, and you are not billed for tokens it adds for system purposes.
- Google: call countTokens before sending. After a request, the usage data reports input, output, thinking, cached and tool tokens separately.
- Every provider: the API response reports the real usage. Log it, because that is the number on your invoice.
Once you can count tokens, you can estimate a monthly bill. We walk through that step by step in how to estimate AI API costs. For each vendor's full price list, see our OpenAI API pricing, Anthropic API pricing and Gemini API pricing explainers, plus the AI tool price table.
FAQ
How many words is 1,000 tokens?
Using Google's rule of thumb of 60 to 80 English words per 100 tokens, 1,000 tokens is roughly 600 to 800 words. Other tokenizers will differ.
Do thinking tokens cost money?
Yes. Google bills thinking at the output rate, and its usage data reports thought tokens separately. They also take up space in the context window.
Why did my token count go up when I switched models?
Tokenizers differ. Anthropic says its newer tokenizer, used from Claude Opus 4.7 onward, produces about 30% more tokens for the same text.
Is counting tokens free?
Anthropic's token counting endpoint is free, subject to rate limits. Google offers a countTokens call for Gemini.
Sources
- OpenAI API pricing docs (checked November 12, 2026)
- Anthropic pricing docs (checked November 12, 2026)
- Anthropic token counting docs (checked November 12, 2026)
- Google Gemini API: understand and count tokens (checked November 12, 2026)
- Google Gemini API pricing (checked November 12, 2026)




