Claude models & context windows

Compare Claude model IDs, context limits, and when to use each model for token budgeting.

Claude Opus 4.6

claude-opus-4-6

Most capable model for complex reasoning and coding.

Context window
200,000

Claude Sonnet 4.6

claude-sonnet-4-6

Balanced performance and speed; strong default for most apps.

Context window
200,000

Claude Haiku 4.5

claude-haiku-4-5

Fastest and most economical; good for high-volume tasks.

Context window
200,000

Claude Opus 4.5

claude-opus-4-5

High capability Opus generation for demanding workloads.

Context window
200,000

Claude Sonnet 4.5

claude-sonnet-4-5

Prior Sonnet generation; still widely used in production.

Context window
200,000

Claude 3.5 Sonnet

claude-3-5-sonnet-20241022

Legacy Claude 3.5 Sonnet for existing integrations.

Context window
200,000