claude-sonnet-5 · Anthropic · text
Sonnet 5 is Anthropic's recommended model, balancing intelligence and speed. With 1M context and support for Extended Thinking, visual understanding, tool calling, and Computer Use, it is the best choice for everyday coding, document analysis, and agent tasks.
1M context; Extended Thinking; Computer Use; visual understanding; tool calling; MCP compatible; prompt caching; JSON mode; Function Calling.
Everyday code generation and refactoring; multi-turn conversational agents; long-document analysis; image understanding; structured data extraction; enterprise customer support and assistants.
Does not generate images; max_tokens capped at 64K; high concurrency requires an enterprise quota; Extended Thinking consumes additional tokens.
Anthropic official CLI coding agent. Multi-file edits, tool use, long-context reasoning.
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_BASE_URL="https://api.robovai.com"
export ANTHROPIC_MODEL="claude-sonnet-5"
claude