claude-sonnet-4-6 · Anthropic · text
Sonnet 4.6 is Anthropic's balanced model, offering 1M context with a blend of intelligence and speed. It supports Extended Thinking, visual understanding, tool calling, and Computer Use, making it well suited for everyday coding, document analysis, and agent tasks.
1M context; Extended Thinking; Computer Use; visual understanding; tool calling; MCP compatible; prompt caching (cache_read 10%, cache_write 1.25×); 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-4-6"
claude