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-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": false,
 32      "supports_attachments": false,
 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": false,
 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": false,
 58      "supports_attachments": false,
 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": false,
 72      "options": {}
 73    },
 74    {
 75      "id": "gpt-3.5-turbo-0613",
 76      "name": "GPT 3.5 Turbo",
 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": 16384,
 82      "default_max_tokens": 4096,
 83      "can_reason": false,
 84      "supports_attachments": false,
 85      "options": {}
 86    },
 87    {
 88      "id": "gpt-4-0613",
 89      "name": "GPT 4",
 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": 32768,
 95      "default_max_tokens": 4096,
 96      "can_reason": false,
 97      "supports_attachments": false,
 98      "options": {}
 99    },
100    {
101      "id": "gpt-5",
102      "name": "GPT-5",
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": 400000,
108      "default_max_tokens": 128000,
109      "can_reason": false,
110      "supports_attachments": false,
111      "options": {}
112    },
113    {
114      "id": "gpt-5-mini",
115      "name": "GPT-5 mini",
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": 264000,
121      "default_max_tokens": 64000,
122      "can_reason": false,
123      "supports_attachments": false,
124      "options": {}
125    },
126    {
127      "id": "gpt-5.1",
128      "name": "GPT-5.1",
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": 264000,
134      "default_max_tokens": 64000,
135      "can_reason": false,
136      "supports_attachments": false,
137      "options": {}
138    },
139    {
140      "id": "gpt-5.1-codex",
141      "name": "GPT-5.1-Codex",
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": false,
150      "options": {}
151    },
152    {
153      "id": "gpt-5.1-codex-max",
154      "name": "GPT-5.1-Codex-Max",
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": false,
163      "options": {}
164    },
165    {
166      "id": "gpt-5.2",
167      "name": "GPT-5.2",
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": false,
176      "options": {}
177    },
178    {
179      "id": "gpt-5.2-codex",
180      "name": "GPT-5.2-Codex",
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": 400000,
186      "default_max_tokens": 128000,
187      "can_reason": false,
188      "supports_attachments": false,
189      "options": {}
190    },
191    {
192      "id": "grok-code-fast-1",
193      "name": "Grok Code Fast 1",
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": 128000,
199      "default_max_tokens": 64000,
200      "can_reason": false,
201      "supports_attachments": false,
202      "options": {}
203    }
204  ]
205}