GPT-5.2-Codex

Model details

GPT-5.2-Codex

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