copilot.json

  1{
  2  "name": "GitHub Copilot",
  3  "id": "copilot",
  4  "api_endpoint": "https://api.githubcopilot.com",
  5  "type": "openai-compat",
  6  "default_large_model_id": "claude-sonnet-4.5",
  7  "default_small_model_id": "claude-haiku-4.5",
  8  "models": [
  9    {
 10      "id": "claude-haiku-4.5",
 11      "name": "Claude Haiku 4.5",
 12      "cost_per_1m_in": 0,
 13      "cost_per_1m_out": 0,
 14      "cost_per_1m_in_cached": 0,
 15      "cost_per_1m_out_cached": 0,
 16      "context_window": 144000,
 17      "default_max_tokens": 16000,
 18      "can_reason": false,
 19      "supports_attachments": false,
 20      "options": {}
 21    },
 22    {
 23      "id": "claude-sonnet-4",
 24      "name": "Claude Sonnet 4",
 25      "cost_per_1m_in": 0,
 26      "cost_per_1m_out": 0,
 27      "cost_per_1m_in_cached": 0,
 28      "cost_per_1m_out_cached": 0,
 29      "context_window": 216000,
 30      "default_max_tokens": 16000,
 31      "can_reason": false,
 32      "supports_attachments": false,
 33      "options": {}
 34    },
 35    {
 36      "id": "claude-sonnet-4.5",
 37      "name": "Claude Sonnet 4.5",
 38      "cost_per_1m_in": 0,
 39      "cost_per_1m_out": 0,
 40      "cost_per_1m_in_cached": 0,
 41      "cost_per_1m_out_cached": 0,
 42      "context_window": 144000,
 43      "default_max_tokens": 16000,
 44      "can_reason": false,
 45      "supports_attachments": false,
 46      "options": {}
 47    },
 48    {
 49      "id": "gemini-2.5-pro",
 50      "name": "Gemini 2.5 Pro",
 51      "cost_per_1m_in": 0,
 52      "cost_per_1m_out": 0,
 53      "cost_per_1m_in_cached": 0,
 54      "cost_per_1m_out_cached": 0,
 55      "context_window": 128000,
 56      "default_max_tokens": 64000,
 57      "can_reason": false,
 58      "supports_attachments": false,
 59      "options": {}
 60    },
 61    {
 62      "id": "gpt-3.5-turbo-0613",
 63      "name": "GPT 3.5 Turbo",
 64      "cost_per_1m_in": 0,
 65      "cost_per_1m_out": 0,
 66      "cost_per_1m_in_cached": 0,
 67      "cost_per_1m_out_cached": 0,
 68      "context_window": 16384,
 69      "default_max_tokens": 4096,
 70      "can_reason": false,
 71      "supports_attachments": false,
 72      "options": {}
 73    },
 74    {
 75      "id": "gpt-4-0613",
 76      "name": "GPT 4",
 77      "cost_per_1m_in": 0,
 78      "cost_per_1m_out": 0,
 79      "cost_per_1m_in_cached": 0,
 80      "cost_per_1m_out_cached": 0,
 81      "context_window": 32768,
 82      "default_max_tokens": 4096,
 83      "can_reason": false,
 84      "supports_attachments": false,
 85      "options": {}
 86    },
 87    {
 88      "id": "gpt-5",
 89      "name": "GPT-5",
 90      "cost_per_1m_in": 0,
 91      "cost_per_1m_out": 0,
 92      "cost_per_1m_in_cached": 0,
 93      "cost_per_1m_out_cached": 0,
 94      "context_window": 400000,
 95      "default_max_tokens": 128000,
 96      "can_reason": false,
 97      "supports_attachments": false,
 98      "options": {}
 99    },
100    {
101      "id": "gpt-5-mini",
102      "name": "GPT-5 mini",
103      "cost_per_1m_in": 0,
104      "cost_per_1m_out": 0,
105      "cost_per_1m_in_cached": 0,
106      "cost_per_1m_out_cached": 0,
107      "context_window": 264000,
108      "default_max_tokens": 64000,
109      "can_reason": false,
110      "supports_attachments": false,
111      "options": {}
112    },
113    {
114      "id": "grok-code-fast-1",
115      "name": "Grok Code Fast 1",
116      "cost_per_1m_in": 0,
117      "cost_per_1m_out": 0,
118      "cost_per_1m_in_cached": 0,
119      "cost_per_1m_out_cached": 0,
120      "context_window": 128000,
121      "default_max_tokens": 64000,
122      "can_reason": false,
123      "supports_attachments": false,
124      "options": {}
125    }
126  ]
127}