🤖

AI Token Counter

Estimate GPT/Claude token count and cost — live pricing, all major models

⚠️ Fallback pricing

Frequently Asked Questions

How accurate is this estimate?

This uses a character-based heuristic (~4 characters per token for English text, ~3.5 for code). For exact counts use the model's tokenizer (e.g. tiktoken for GPT). Typically within 5–10% accuracy.

Where does the model list come from?

The model list and pricing are fetched live from the OpenRouter public API and cached locally for 24 hours.

What is context window usage?

Each model has a maximum context window (the total tokens it can process at once). The bar shows how much of that window your text fills — over 90% risks truncation.