Models / Anthropic
Anthropic

Claude Sonnet 4.6

anthropic/claude-sonnet-4.6

Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with...

Input
$3.9 / 1M tokens
Output
$19.5 / 1M tokens
Context
1000K tokens

Capabilities

✓ Streaming✓ Tool / function calling✓ JSON / structured output✓ Vision (image input)

Call this model

Pass anthropic/claude-sonnet-4.6 as the model. Change only the base URL from your existing OpenAI SDK setup.

quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
  -H "Authorization: Bearer $MDB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.6",
    "messages": [{"role":"user","content":"Hello!"}]
  }'

Prices are final — the routing margin is already included. See the full pricing table or the API docs.