Claude Opus 4.6

Model details

Claude Opus 4.6

Model
claude-opus-4-6
Provider
anthropic
API
anthropic-messages
Base URL
https://api.anthropic.com
Input
text, image
Reasoning
Yes
Context window
1,000,000
Max tokens
128,000
Cost / million input
$5
Cost / million output
$25
Cost / million cache read
$0.5
Cost / million cache write
$6.25
Model config JSON
{
  "providers": {
    "anthropic": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "claude-opus-4-6",
          "name": "Claude Opus 4.6",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 1000000,
          "maxTokens": 128000,
          "cost": {
            "input": 5,
            "output": 25,
            "cacheRead": 0.5,
            "cacheWrite": 6.25
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://api.anthropic.com"
    }
  }
}