GPT-5.1

Model details

GPT-5.1

Model
gpt-5.1
Provider
github-copilot
API
openai-responses
Base URL
https://api.individual.githubcopilot.com
Input
text, image
Reasoning
Yes
Context window
264,000
Max tokens
64,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": "gpt-5.1",
          "name": "GPT-5.1",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 264000,
          "maxTokens": 64000,
          "cost": {
            "input": 0,
            "output": 0,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "openai-responses",
      "baseUrl": "https://api.individual.githubcopilot.com"
    }
  }
}