mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
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:
@@ -89,6 +89,7 @@ export const PROVIDER_MODELS = {
|
|||||||
{ id: "claude-opus-4.5", name: "Claude Opus 4.5" },
|
{ id: "claude-opus-4.5", name: "Claude Opus 4.5" },
|
||||||
{ id: "claude-sonnet-4", name: "Claude Sonnet 4" },
|
{ id: "claude-sonnet-4", name: "Claude Sonnet 4" },
|
||||||
{ id: "claude-sonnet-4.5", name: "Claude Sonnet 4.5" },
|
{ 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" },
|
{ id: "claude-opus-4.6", name: "Claude Opus 4.6" },
|
||||||
// GitHub Copilot - Google models
|
// GitHub Copilot - Google models
|
||||||
{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" },
|
{ id: "gemini-2.5-pro", name: "Gemini 2.5 Pro" },
|
||||||
|
|||||||
@@ -493,6 +493,13 @@ export const DEFAULT_PRICING = {
|
|||||||
reasoning: 22.50,
|
reasoning: 22.50,
|
||||||
cache_creation: 3.00
|
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": {
|
"claude-opus-4.6": {
|
||||||
input: 5.00,
|
input: 5.00,
|
||||||
output: 25.00,
|
output: 25.00,
|
||||||
@@ -802,4 +809,4 @@ export function calculateCostFromTokens(tokens, pricing) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return cost;
|
return cost;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user