Vendor-neutral · Pricing updated daily

The reference toolkit for LLM engineers.

Token counting, cost estimation and model comparison — computed in your browser, with no affiliation to any model provider. Nothing you paste is uploaded.

Covers OpenAI, Anthropic, Google, Meta, Mistral and Cohere

Tools

Why the numbers differ

llmtools runs the real tokenizers rather than a chars-divided-by-four rule of thumb, because the two disagree badly on anything that is not plain English. The same paragraph of Chinese can differ by nearly half between OpenAI’s two encodings alone. Where a genuine tokenizer is unavailable — Gemini has no public browser implementation — the figure is marked as an estimate rather than dressed up as a count.