feat(pricing): refresh catalog pricing snapshot

Add the free minimax/minimax-m3-free and minimax/minimax-m2.7-free
promotional variants (free through September 5, 2026) and
tencent/hy4-preview, drop the retired stealth/ox-alpha, and refresh the
model-id and pricing snapshots to the current 62-model catalog verified
on 2026-08-28.
This commit is contained in:
Thomas Byr
2026-08-28 16:41:15 +02:00
parent b267241e33
commit 21a2c05185
4 changed files with 30 additions and 9 deletions
+9 -2
View File
@@ -20,7 +20,7 @@ export interface TemporaryPricing {
}
export const PRICING_SOURCE_URL = "https://commandcode.ai/docs/resources/pricing-limits"
export const PRICING_LAST_VERIFIED = "2026-08-25"
export const PRICING_LAST_VERIFIED = "2026-08-28"
export const ZERO_MODEL_COST: CommandCodeModelCost = {
input: 0,
@@ -40,10 +40,12 @@ export const ZERO_MODEL_COST: CommandCodeModelCost = {
export const MODEL_COSTS: Readonly<Record<string, CommandCodeModelCost>> = {
// Free models
"poolside/laguna-s-2.1-free": { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
"stealth/ox-alpha": { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
"minimax/minimax-m3-free": { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
"minimax/minimax-m2.7-free": { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
// Open and open-weight models
"tencent/hy3-paid": { input: 0.14, output: 0.58, cacheRead: 0.035, cacheWrite: 0 },
"tencent/hy4-preview": { input: 0.834, output: 2.501, cacheRead: 0.042, cacheWrite: 0 },
"moonshotai/Kimi-K3": { input: 3, output: 15, cacheRead: 0.3, cacheWrite: 0 },
"moonshotai/Kimi-K2.7-Code": { input: 0.95, output: 4, cacheRead: 0.19, cacheWrite: 0 },
"moonshotai/Kimi-K2.7-Code-Highspeed": {
@@ -233,4 +235,9 @@ export const TEMPORARY_PRICING: readonly TemporaryPricing[] = [
expiresOn: "2026-12-31",
description: "50% promotional pricing",
},
{
models: ["minimax/minimax-m3-free", "minimax/minimax-m2.7-free"],
expiresOn: "2026-09-05",
description: "free promotional pricing",
},
]