Skip to content

Commit b824d48

Browse files
authored
Merge pull request #198 from rajbos/copilot/update-token-estimators-json
Add Claude Opus 4.6 model support
2 parents 10beee6 + 7c3ee30 commit b824d48

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

src/modelPricing.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"description": "Model pricing data - costs per million tokens for input and output",
44
"metadata": {
5-
"lastUpdated": "2026-02-08",
5+
"lastUpdated": "2026-02-09",
66
"sources": [
77
{
88
"name": "OpenAI API Pricing",
@@ -206,6 +206,20 @@
206206
"tier": "premium",
207207
"multiplier": 3
208208
},
209+
"claude-opus-4.6": {
210+
"inputCostPerMillion": 5.0,
211+
"outputCostPerMillion": 25.0,
212+
"category": "Claude models (Anthropic)",
213+
"tier": "premium",
214+
"multiplier": 3
215+
},
216+
"claude-opus-4.6-(fast-mode)-(preview)": {
217+
"inputCostPerMillion": 5.0,
218+
"outputCostPerMillion": 25.0,
219+
"category": "Claude models (Anthropic)",
220+
"tier": "premium",
221+
"multiplier": 9
222+
},
209223
"claude-opus-4.6-fast": {
210224
"inputCostPerMillion": 5.0,
211225
"outputCostPerMillion": 25.0,

src/tokenEstimators.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"claude-haiku-4.5": 0.24,
3131
"claude-opus-4.1": 0.24,
3232
"claude-opus-4.5": 0.24,
33+
"claude-opus-4.6": 0.24,
34+
"claude-opus-4.6-(fast-mode)-(preview)": 0.24,
3335
"claude-opus-4.6-fast": 0.24,
3436
"gemini-2.5-pro": 0.25,
3537
"gemini-3-flash": 0.25,

0 commit comments

Comments
 (0)