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:
すずねーう 2026-02-19 09:59:44 +09:00 committed by GitHub
parent d83bd86816
commit 4e2a3f888c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -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;
}
}