feat: add github copilot claude sonnet 4.6 model#953
feat: add github copilot claude sonnet 4.6 model#953rekram1-node merged 2 commits intoanomalyco:devfrom
Conversation
Model list sourced from GitHub Settings page showing currently available models. Specifications cross-referenced with Anthropic provider implementation.
| [limit] | ||
| context = 200_000 | ||
| output = 64_000 |
There was a problem hiding this comment.
How so? I took the information from the official documentation, where it says that the context window for sonnet 4.6 is 200K tokens and that the max output is 64K tokens.
The small print does mention a context window up to 1M tokens, but it is not clear as to whether or not Github supports that:
3 - Claude Opus 4.6 and Sonnet 4.6 support a 1M token context window when using the context-1m-2025-08-07 beta header. Long context pricing applies to requests exceeding 200K tokens.
Do you have more insight on this? is there any other number you had in mind?
There was a problem hiding this comment.
Github copilot does not support the 64k output tokens, are you not fetching the stats from the copilot models endpoint? that's the only way to get accurate numbers.
There was a problem hiding this comment.
also it doesnt support pdfs.
There was a problem hiding this comment.
{
"capabilities": {
"family": "claude-sonnet-4.6",
"limits": {
"max_context_window_tokens": 200000,
"max_non_streaming_output_tokens": 16000,
"max_output_tokens": 32000,
"max_prompt_tokens": 128000,
"vision": {
"max_prompt_image_size": 3145728,
"max_prompt_images": 5,
"supported_media_types": ["image/jpeg", "image/png", "image/webp"]
}
},
"object": "model_capabilities",
"supports": {
"adaptive_thinking": true,
"max_thinking_budget": 32000,
"min_thinking_budget": 1024,
"parallel_tool_calls": true,
"streaming": true,
"structured_outputs": true,
"tool_calls": true,
"vision": true
},
"tokenizer": "o200k_base",
"type": "chat"
},
"id": "claude-sonnet-4.6",
"model_picker_category": "versatile",
"model_picker_enabled": true,
"name": "Claude Sonnet 4.6",
"object": "model",
"policy": {
"state": "enabled",
"terms": "Enable access to the latest Claude Sonnet 4.6 model from Anthropic. [Learn more about how GitHub Copilot serves Claude Sonnet 4.6](https://gh.io/copilot-claude-opus)."
},
"preview": false,
"supported_endpoints": ["/chat/completions"],
"vendor": "Anthropic",
"version": "claude-sonnet-4.6"
},
Model list sourced from GitHub Settings page showing currently available models. Specifications cross-referenced with Anthropic provider implementation.