feat: Add Claude Sonnet 4.6 to GitHub Copilot (#149)
* Add Claude Sonnet 4.6 to GitHub Copilot Claude Sonnet 4.6 is available in GitHub Copilot now. https://github.blog/changelog/2026-02-17-claude-sonnet-4-6-is-now-generally-available-in-github-copilot/ * Add pricing constants for Claude Sonnet 4.6 for GitHub Copilot
This commit is contained in:
parent
d83bd86816
commit
4e2a3f888c
2 changed files with 9 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ export const PROVIDER_MODELS = {
|
|||
{ id: "claude-opus-4.5", name: "Claude Opus 4.5" },
|
||||
{ id: "claude-sonnet-4", name: "Claude Sonnet 4" },
|
||||
{ id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
|
||||
{ id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
|
||||
{ id: "claude-opus-4.6", name: "Claude Opus 4.6" },
|
||||
// GitHub Copilot - Google models
|
||||
{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" },
|
||||
|
|
|
|||
|
|
@ -493,6 +493,13 @@ export const DEFAULT_PRICING = {
|
|||
reasoning: 22.50,
|
||||
cache_creation: 3.00
|
||||
},
|
||||
"claude-sonnet-4.6": {
|
||||
input: 3.00,
|
||||
output: 15.00,
|
||||
cached: 0.30,
|
||||
reasoning: 22.50,
|
||||
cache_creation: 3.00
|
||||
},
|
||||
"claude-opus-4.6": {
|
||||
input: 5.00,
|
||||
output: 25.00,
|
||||
|
|
@ -802,4 +809,4 @@ export function calculateCostFromTokens(tokens, pricing) {
|
|||
}
|
||||
|
||||
return cost;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue