fix(pricing): add missing Kiro model pricing rows (#3835)

The kiro table in DEFAULT_PRICING was missing models the Kiro registry serves
(most visibly claude-sonnet-4.6), so getPricingForModel() returned null and their
usage cost was reported as $0.00. Adds the missing rows.

Integrated into release/v3.8.25.

Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
This commit is contained in:
NOXX - Commiter
2026-06-14 16:24:24 +03:00
committed by GitHub
parent 315ac98b49
commit bcb7ed00c7
3 changed files with 71 additions and 4 deletions

View File

@@ -1348,6 +1348,13 @@ export const DEFAULT_PRICING = {
reasoning: 75.0,
cache_creation: 15.0,
},
"claude-sonnet-4.6": {
input: 3.0,
output: 15.0,
cached: 1.5,
reasoning: 15.0,
cache_creation: 3.0,
},
"deepseek-v3.2": {
input: 0.27,
output: 1.1,
@@ -1355,6 +1362,14 @@ export const DEFAULT_PRICING = {
reasoning: 1.1,
cache_creation: 0.27,
},
// Registry exposes this model as "deepseek-3.2" (no "v") — keep both keys priced.
"deepseek-3.2": {
input: 0.27,
output: 1.1,
cached: 0.07,
reasoning: 1.1,
cache_creation: 0.27,
},
"minimax-m2.1": {
input: 0.4,
output: 1.6,
@@ -1362,6 +1377,21 @@ export const DEFAULT_PRICING = {
reasoning: 1.6,
cache_creation: 0.4,
},
// MiniMax M2.5 — cheaper than M2.1, reasoning + tools
"minimax-m2.5": {
input: 0.27,
output: 0.95,
cached: 0.135,
reasoning: 1.425,
cache_creation: 0.27,
},
"glm-5": {
input: 1.0,
output: 3.2,
cached: 0.2,
reasoning: 4.8,
cache_creation: 1.0,
},
"qwen3-coder-next": {
input: 2.0,
output: 8.0,
@@ -1377,6 +1407,14 @@ export const DEFAULT_PRICING = {
reasoning: 15.0,
cache_creation: 3.0,
},
// Registry exposes the Auto model as id "auto-kiro" — keep both keys priced.
"auto-kiro": {
input: 3.0,
output: 15.0,
cached: 1.5,
reasoning: 15.0,
cache_creation: 3.0,
},
},
};