Claude Sonnet 4

Model details

Claude Sonnet 4

Model
claude-sonnet-4
Provider
github-copilot
API
anthropic-messages
Base URL
https://api.individual.githubcopilot.com
Input
text, image
Reasoning
Yes
Context window
216,000
Max tokens
16,000
Cost / million input
$0
Cost / million output
$0
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "github-copilot": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "claude-sonnet-4",
          "name": "Claude Sonnet 4",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 216000,
          "maxTokens": 16000,
          "cost": {
            "input": 0,
            "output": 0,
            "cacheRead": 0,
            "cacheWrite": 0
          },
          "compat": {
            "supportsEagerToolInputStreaming": false
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://api.individual.githubcopilot.com"
    }
  }
}