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": true,
 19      "supports_attachments": true,
 20      "options": {}
 21    },
 22    {
 23      "id": "claude-opus-4.5",
 24      "name": "Claude Opus 4.5",
 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": 160000,
 30      "default_max_tokens": 16000,
 31      "can_reason": true,
 32      "supports_attachments": true,
 33      "options": {}
 34    },
 35    {
 36      "id": "claude-sonnet-4",
 37      "name": "Claude Sonnet 4",
 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": 216000,
 43      "default_max_tokens": 16000,
 44      "can_reason": true,
 45      "supports_attachments": true,
 46      "options": {}
 47    },
 48    {
 49      "id": "claude-sonnet-4.5",
 50      "name": "Claude Sonnet 4.5",
 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": 144000,
 56      "default_max_tokens": 16000,
 57      "can_reason": true,
 58      "supports_attachments": true,
 59      "options": {}
 60    },
 61    {
 62      "id": "gemini-2.5-pro",
 63      "name": "Gemini 2.5 Pro",
 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": 128000,
 69      "default_max_tokens": 64000,
 70      "can_reason": true,
 71      "reasoning_levels": [
 72        "low",
 73        "medium",
 74        "high"
 75      ],
 76      "default_reasoning_effort": "medium",
 77      "supports_attachments": true,
 78      "options": {}
 79    },
 80    {
 81      "id": "gpt-3.5-turbo-0613",
 82      "name": "GPT 3.5 Turbo",
 83      "cost_per_1m_in": 0,
 84      "cost_per_1m_out": 0,
 85      "cost_per_1m_in_cached": 0,
 86      "cost_per_1m_out_cached": 0,
 87      "context_window": 16384,
 88      "default_max_tokens": 4096,
 89      "can_reason": false,
 90      "supports_attachments": false,
 91      "options": {}
 92    },
 93    {
 94      "id": "gpt-4-0613",
 95      "name": "GPT 4",
 96      "cost_per_1m_in": 0,
 97      "cost_per_1m_out": 0,
 98      "cost_per_1m_in_cached": 0,
 99      "cost_per_1m_out_cached": 0,
100      "context_window": 32768,
101      "default_max_tokens": 4096,
102      "can_reason": false,
103      "supports_attachments": false,
104      "options": {}
105    },
106    {
107      "id": "gpt-5",
108      "name": "GPT-5",
109      "cost_per_1m_in": 0,
110      "cost_per_1m_out": 0,
111      "cost_per_1m_in_cached": 0,
112      "cost_per_1m_out_cached": 0,
113      "context_window": 400000,
114      "default_max_tokens": 128000,
115      "can_reason": true,
116      "reasoning_levels": [
117        "low",
118        "medium",
119        "high"
120      ],
121      "default_reasoning_effort": "medium",
122      "supports_attachments": true,
123      "options": {}
124    },
125    {
126      "id": "gpt-5-mini",
127      "name": "GPT-5 mini",
128      "cost_per_1m_in": 0,
129      "cost_per_1m_out": 0,
130      "cost_per_1m_in_cached": 0,
131      "cost_per_1m_out_cached": 0,
132      "context_window": 264000,
133      "default_max_tokens": 64000,
134      "can_reason": true,
135      "reasoning_levels": [
136        "low",
137        "medium",
138        "high"
139      ],
140      "default_reasoning_effort": "medium",
141      "supports_attachments": true,
142      "options": {}
143    },
144    {
145      "id": "gpt-5.1",
146      "name": "GPT-5.1",
147      "cost_per_1m_in": 0,
148      "cost_per_1m_out": 0,
149      "cost_per_1m_in_cached": 0,
150      "cost_per_1m_out_cached": 0,
151      "context_window": 264000,
152      "default_max_tokens": 64000,
153      "can_reason": true,
154      "reasoning_levels": [
155        "low",
156        "medium",
157        "high"
158      ],
159      "default_reasoning_effort": "medium",
160      "supports_attachments": true,
161      "options": {}
162    },
163    {
164      "id": "gpt-5.1-codex",
165      "name": "GPT-5.1-Codex",
166      "cost_per_1m_in": 0,
167      "cost_per_1m_out": 0,
168      "cost_per_1m_in_cached": 0,
169      "cost_per_1m_out_cached": 0,
170      "context_window": 400000,
171      "default_max_tokens": 128000,
172      "can_reason": true,
173      "reasoning_levels": [
174        "low",
175        "medium",
176        "high"
177      ],
178      "default_reasoning_effort": "medium",
179      "supports_attachments": true,
180      "options": {}
181    },
182    {
183      "id": "gpt-5.1-codex-max",
184      "name": "GPT-5.1-Codex-Max",
185      "cost_per_1m_in": 0,
186      "cost_per_1m_out": 0,
187      "cost_per_1m_in_cached": 0,
188      "cost_per_1m_out_cached": 0,
189      "context_window": 400000,
190      "default_max_tokens": 128000,
191      "can_reason": true,
192      "reasoning_levels": [
193        "low",
194        "medium",
195        "high"
196      ],
197      "default_reasoning_effort": "medium",
198      "supports_attachments": true,
199      "options": {}
200    },
201    {
202      "id": "gpt-5.2",
203      "name": "GPT-5.2",
204      "cost_per_1m_in": 0,
205      "cost_per_1m_out": 0,
206      "cost_per_1m_in_cached": 0,
207      "cost_per_1m_out_cached": 0,
208      "context_window": 264000,
209      "default_max_tokens": 64000,
210      "can_reason": true,
211      "reasoning_levels": [
212        "low",
213        "medium",
214        "high"
215      ],
216      "default_reasoning_effort": "medium",
217      "supports_attachments": true,
218      "options": {}
219    },
220    {
221      "id": "gpt-5.2-codex",
222      "name": "GPT-5.2-Codex",
223      "cost_per_1m_in": 0,
224      "cost_per_1m_out": 0,
225      "cost_per_1m_in_cached": 0,
226      "cost_per_1m_out_cached": 0,
227      "context_window": 400000,
228      "default_max_tokens": 128000,
229      "can_reason": true,
230      "reasoning_levels": [
231        "low",
232        "medium",
233        "high"
234      ],
235      "default_reasoning_effort": "medium",
236      "supports_attachments": true,
237      "options": {}
238    },
239    {
240      "id": "grok-code-fast-1",
241      "name": "Grok Code Fast 1",
242      "cost_per_1m_in": 0,
243      "cost_per_1m_out": 0,
244      "cost_per_1m_in_cached": 0,
245      "cost_per_1m_out_cached": 0,
246      "context_window": 128000,
247      "default_max_tokens": 64000,
248      "can_reason": true,
249      "reasoning_levels": [
250        "low",
251        "medium",
252        "high"
253      ],
254      "default_reasoning_effort": "medium",
255      "supports_attachments": false,
256      "options": {}
257    }
258  ]
259}