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.

0tokens (est.)
0words
0characters
0chars, no spaces

Token count uses the exact GPT (o200k) tokenizer. Counted in your browser, never uploaded.

Models
Claude Haiku 4.5 (latest)Claude Opus 4.8Claude Sonnet 4.6
ModelTokensPer requestMonthlyContext
Claude Haiku 4.5 (latest)cheapest0 est.$0.0025$2.500.3%
Claude Opus 4.80 est.$0.013$12.500.1%
Claude Sonnet 4.60 est.$0.0075$7.500.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

ModelProviderInputCachedOutputContextVerified
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.