All information verified from Anthropic's official documentation as of May 2026. Models Model ID Context Best For Claude Opus 4.7 claude-opus-4-7 1M Complex reasoning, hardest tasks Claude Sonnet 4.6 claude-sonnet-4-6 1M Most production workloads Claude Haiku 4.5 claude-haiku-4-5-20251001 200K Fast, simple tasks 💡 Opus 4.7 and Sonnet 4.6 both support 1M token context at flat rate — no surcharge. API Pricing (per million tokens) Model Input Output Batch Input Batch Output Opus 4.7 $5.00 $25.00 $2.50 $12.50 Sonnet 4.6 $3.00 $15.00 $1.50 $7.50 Haiku 4.5 $1.00 $5.00 $0.50 $2.50 ⚠️ Batch API = 50% discount, but processes within 24 hours (async only). Prompt Caching Cache Type Cost Cache write (5 min TTL) 1.25x input rate Cache write (1 hour TTL) 2x input rate Cache hit ~0.1x input rate (up to 90% savings) 💡 Best for: system prompts, repeated context, long documents.…