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": 200000,
 17      "default_max_tokens": 16000,
 18      "can_reason": false,
 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": 200000,
 30      "default_max_tokens": 16000,
 31      "can_reason": false,
 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": false,
 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": 200000,
 56      "default_max_tokens": 16000,
 57      "can_reason": false,
 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": false,
 71      "supports_attachments": true,
 72      "options": {}
 73    },
 74    {
 75      "id": "gemini-3-flash-preview",
 76      "name": "Gemini 3 Flash (Preview)",
 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": 128000,
 82      "default_max_tokens": 64000,
 83      "can_reason": false,
 84      "supports_attachments": true,
 85      "options": {}
 86    },
 87    {
 88      "id": "gemini-3-pro-preview",
 89      "name": "Gemini 3 Pro (Preview)",
 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": 128000,
 95      "default_max_tokens": 64000,
 96      "can_reason": false,
 97      "supports_attachments": true,
 98      "options": {}
 99    },
100    {
101      "id": "gpt-3.5-turbo-0613",
102      "name": "GPT 3.5 Turbo",
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": 16384,
108      "default_max_tokens": 4096,
109      "can_reason": false,
110      "supports_attachments": false,
111      "options": {}
112    },
113    {
114      "id": "gpt-4-0125-preview",
115      "name": "GPT 4 Turbo",
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": 4096,
122      "can_reason": false,
123      "supports_attachments": false,
124      "options": {}
125    },
126    {
127      "id": "gpt-4-0613",
128      "name": "GPT 4",
129      "cost_per_1m_in": 0,
130      "cost_per_1m_out": 0,
131      "cost_per_1m_in_cached": 0,
132      "cost_per_1m_out_cached": 0,
133      "context_window": 32768,
134      "default_max_tokens": 4096,
135      "can_reason": false,
136      "supports_attachments": false,
137      "options": {}
138    },
139    {
140      "id": "gpt-5",
141      "name": "GPT-5",
142      "cost_per_1m_in": 0,
143      "cost_per_1m_out": 0,
144      "cost_per_1m_in_cached": 0,
145      "cost_per_1m_out_cached": 0,
146      "context_window": 400000,
147      "default_max_tokens": 128000,
148      "can_reason": false,
149      "supports_attachments": true,
150      "options": {}
151    },
152    {
153      "id": "gpt-5-codex",
154      "name": "GPT-5-Codex (Preview)",
155      "cost_per_1m_in": 0,
156      "cost_per_1m_out": 0,
157      "cost_per_1m_in_cached": 0,
158      "cost_per_1m_out_cached": 0,
159      "context_window": 400000,
160      "default_max_tokens": 128000,
161      "can_reason": false,
162      "supports_attachments": true,
163      "options": {}
164    },
165    {
166      "id": "gpt-5-mini",
167      "name": "GPT-5 mini",
168      "cost_per_1m_in": 0,
169      "cost_per_1m_out": 0,
170      "cost_per_1m_in_cached": 0,
171      "cost_per_1m_out_cached": 0,
172      "context_window": 264000,
173      "default_max_tokens": 64000,
174      "can_reason": false,
175      "supports_attachments": true,
176      "options": {}
177    },
178    {
179      "id": "gpt-5.1",
180      "name": "GPT-5.1",
181      "cost_per_1m_in": 0,
182      "cost_per_1m_out": 0,
183      "cost_per_1m_in_cached": 0,
184      "cost_per_1m_out_cached": 0,
185      "context_window": 264000,
186      "default_max_tokens": 64000,
187      "can_reason": false,
188      "supports_attachments": true,
189      "options": {}
190    },
191    {
192      "id": "gpt-5.1-codex",
193      "name": "GPT-5.1-Codex",
194      "cost_per_1m_in": 0,
195      "cost_per_1m_out": 0,
196      "cost_per_1m_in_cached": 0,
197      "cost_per_1m_out_cached": 0,
198      "context_window": 400000,
199      "default_max_tokens": 128000,
200      "can_reason": false,
201      "supports_attachments": true,
202      "options": {}
203    },
204    {
205      "id": "gpt-5.1-codex-max",
206      "name": "GPT-5.1-Codex-Max",
207      "cost_per_1m_in": 0,
208      "cost_per_1m_out": 0,
209      "cost_per_1m_in_cached": 0,
210      "cost_per_1m_out_cached": 0,
211      "context_window": 400000,
212      "default_max_tokens": 128000,
213      "can_reason": false,
214      "supports_attachments": true,
215      "options": {}
216    },
217    {
218      "id": "gpt-5.1-codex-mini",
219      "name": "GPT-5.1-Codex-Mini",
220      "cost_per_1m_in": 0,
221      "cost_per_1m_out": 0,
222      "cost_per_1m_in_cached": 0,
223      "cost_per_1m_out_cached": 0,
224      "context_window": 400000,
225      "default_max_tokens": 128000,
226      "can_reason": false,
227      "supports_attachments": true,
228      "options": {}
229    },
230    {
231      "id": "gpt-5.2",
232      "name": "GPT-5.2",
233      "cost_per_1m_in": 0,
234      "cost_per_1m_out": 0,
235      "cost_per_1m_in_cached": 0,
236      "cost_per_1m_out_cached": 0,
237      "context_window": 264000,
238      "default_max_tokens": 64000,
239      "can_reason": false,
240      "supports_attachments": true,
241      "options": {}
242    },
243    {
244      "id": "gpt-5.2-codex",
245      "name": "GPT-5.2-Codex",
246      "cost_per_1m_in": 0,
247      "cost_per_1m_out": 0,
248      "cost_per_1m_in_cached": 0,
249      "cost_per_1m_out_cached": 0,
250      "context_window": 400000,
251      "default_max_tokens": 128000,
252      "can_reason": false,
253      "supports_attachments": true,
254      "options": {}
255    },
256    {
257      "id": "grok-code-fast-1",
258      "name": "Grok Code Fast 1",
259      "cost_per_1m_in": 0,
260      "cost_per_1m_out": 0,
261      "cost_per_1m_in_cached": 0,
262      "cost_per_1m_out_cached": 0,
263      "context_window": 128000,
264      "default_max_tokens": 64000,
265      "can_reason": false,
266      "supports_attachments": false,
267      "options": {}
268    }
269  ]
270}