module

Anthropic::Model

Model ID constants for all available Claude models

Constants

CLAUDE_FABLE = "claude-fable-5"
CLAUDE_FABLE_5 = "claude-fable-5"

Claude Fable 5 — Next generation of intelligence for the hardest knowledge work and coding.

CLAUDE_HAIKU = "claude-haiku-4-5"
CLAUDE_HAIKU_4_5 = "claude-haiku-4-5-20251001"
CLAUDE_MYTHOS_5 = "claude-mythos-5"

Claude Mythos 5 — Most capable model for cybersecurity and biology research.

CLAUDE_OPUS = "claude-opus-5"
CLAUDE_OPUS_4_1 = "claude-opus-4-1-20250805"

@deprecated Will reach end-of-life on August 5th, 2026. Migrate to claude-opus-4-5 or newer.

CLAUDE_OPUS_4_5 = "claude-opus-4-5-20251101"

Claude 4.5 models

CLAUDE_OPUS_4_6 = "claude-opus-4-6"

Claude 4.6

CLAUDE_OPUS_4_7 = "claude-opus-4-7"

Claude 4.7 — Frontier intelligence for long-running agents and coding

CLAUDE_OPUS_4_8 = "claude-opus-4-8"

Claude 4.8

CLAUDE_OPUS_5 = "claude-opus-5"

Claude Opus 5 — Powerful intelligence for long-running agents and coding.

CLAUDE_SONNET = "claude-sonnet-5"

Latest rolling aliases.

These intentionally point at the current default API names and may duplicate the latest precise constants when Anthropic's rolling alias already resolves to a single concrete model name.

CLAUDE_SONNET_4 = "claude-sonnet-4-20250514"

@deprecated Will reach end-of-life on June 15th, 2026. Migrate to claude-sonnet-4-5 or newer.

CLAUDE_SONNET_4_5 = "claude-sonnet-4-5-20250929"
CLAUDE_SONNET_4_6 = "claude-sonnet-4-6"
CLAUDE_SONNET_5 = "claude-sonnet-5"

Claude Sonnet 5 — High-performance model for coding and agents.