>_CLI agent· 5 models rankedAnthropic only
Best Claude Models for Claude Code
Anthropic's terminal coding agent — pointed at a local model
Claude Code is Anthropic's agentic coder — and it runs only on Anthropic's own models, so "which model" really means picking across the Claude lineup: Opus, Sonnet, and Haiku. The interesting part is token usage. Opus 4.8 carries the same $5/$25 sticker price as Opus 4.7, but finishes the same work in roughly 35% fewer output tokens and 15% fewer turns — so the effective cost per task is meaningfully lower on the newer model even though the per-token rate is identical. This page ranks every Claude model Claude Code can drive, by capability and by real token efficiency.
