From 4e2a3f888cf2f6f6c5a2dc2fd37c60d42b2c0d2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=99=E3=81=9A=E3=81=AD=E3=83=BC=E3=81=86?= <67305123+waki285@users.noreply.github.com> Date: Thu, 19 Feb 2026 09:59:44 +0900 Subject: [PATCH] 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 --- open-sse/config/providerModels.js | 1 + src/shared/constants/pricing.js | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/open-sse/config/providerModels.js b/open-sse/config/providerModels.js index 5f5a44d..b3502b9 100644 --- a/open-sse/config/providerModels.js +++ b/open-sse/config/providerModels.js @@ -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" }, diff --git a/src/shared/constants/pricing.js b/src/shared/constants/pricing.js index d9abdb0..937b2d5 100644 --- a/src/shared/constants/pricing.js +++ b/src/shared/constants/pricing.js @@ -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; -} \ No newline at end of file +}