Claude token calculator
Paste text to count tokens for Claude (Anthropic) models and estimate input, cached and output cost. Token counts are estimates; only OpenAI models have an exact browser tokenizer.
Token count uses the exact GPT (o200k) tokenizer. Counted in your browser, never uploaded.
| Model | Tokens | Per request | Monthly | Context |
|---|---|---|---|---|
| Claude Haiku 4.5 (latest)cheapest | 0 est. | $0.0025 | $2.50 | 0.3% |
| Claude Opus 4.8 | 0 est. | $0.013 | $12.50 | 0.1% |
| Claude Sonnet 4.6 | 0 est. | $0.0075 | $7.50 | 0.1% |
Token counts vary by tokenizer and model; non-OpenAI counts are estimates. Cost is an estimate and provider pricing can change. See each model's source on the pricing page.
FAQ
Which Claude (Anthropic) models are included?
Claude Haiku 4.5 (latest), Claude Opus 4.8, Claude Sonnet 4.6, with pricing verified against the Anthropic official source.
Pricing for these models
| Model | Provider | Input | Cached | Output | Context | Verified |
|---|---|---|---|---|---|---|
| Claude Fable 5 | Anthropic | $10 | $1 | $50 | 1 000k | 2026-06-09 |
| Claude Haiku 4.5 | Anthropic | $1 | $0.1 | $5 | 200k | 2025-10-15 |
| Claude Haiku 4.5 (latest) | Anthropic | $1 | $0.1 | $5 | 200k | 2025-10-15 |
| Claude Opus 4.1 | Anthropic | $15 | $1.5 | $75 | 200k | 2025-08-05 |
| Claude Opus 4.1 (latest) | Anthropic | $15 | $1.5 | $75 | 200k | 2025-08-05 |
| Claude Opus 4.5 | Anthropic | $5 | $0.5 | $25 | 200k | 2025-11-01 |
| Claude Opus 4.5 (latest) | Anthropic | $5 | $0.5 | $25 | 200k | 2025-11-24 |
| Claude Opus 4.6 | Anthropic | $5 | $0.5 | $25 | 1 000k | 2026-03-13 |
| Claude Opus 4.7 | Anthropic | $5 | $0.5 | $25 | 1 000k | 2026-04-16 |
| Claude Opus 4.8 | Anthropic | $5 | $0.5 | $25 | 1 000k | 2026-05-28 |
| Claude Opus 5 | Anthropic | $5 | $0.5 | $25 | 1 000k | 2026-07-24 |
| Claude Sonnet 4.5 | Anthropic | $3 | $0.3 | $15 | 1 000k | 2025-09-29 |
| Claude Sonnet 4.5 (latest) | Anthropic | $3 | $0.3 | $15 | 1 000k | 2025-09-29 |
| Claude Sonnet 4.6 | Anthropic | $3 | $0.3 | $15 | 1 000k | 2026-03-13 |
| Claude Sonnet 5 | Anthropic | $2 | $0.2 | $10 | 1 000k | 2026-06-30 |
Prices per 1M tokens (USD). Each model links to its official source. Seed values pending re-verification. See the methodology.