Models / Anthropic
Anthropic

Claude Opus 4

anthropic/claude-opus-4

Claude Opus 4 is benchmarked as the world’s best coding model, at time of release, bringing sustained performance on complex, long-running tasks and agent workflows. It sets new benchmarks in...

Input
$19.5 / 1M tokens
Output
$97.5 / 1M tokens
Context
200K tokens

Capabilities

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

Call this model

Pass anthropic/claude-opus-4 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-opus-4",
    "messages": [{"role":"user","content":"Hello!"}]
  }'

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