feat(pricing): add MiniMax M2.5/M2.5-lightning and Qwen3 series (max/plus/flash/coder) model pricing

- Add MiniMax M2.5 and M2.5-lightning pricing
- Fix MiniMax M2.1-lightning input price (0.3 -> 0.6)
- Add Qwen3 series: qwen3-max, qwen3.5-plus, qwen3.5-flash, qwen3-coder-plus, qwen3-coder-flash
- Include date-stamped and preview variants for qwen3-max
This commit is contained in:
George·Dong
2026-02-25 14:24:20 +08:00
parent 1dae52014b
commit 089aa08136
+58 -1
View File
@@ -559,6 +559,18 @@ const PRICING_REGISTRY: Record<string, ModelPricing> = {
// ---------------------------------------------------------------------------
// MiniMax Models - Source: https://platform.minimax.io/docs/pricing/pay-as-you-go
// ---------------------------------------------------------------------------
'MiniMax-M2.5': {
inputPerMillion: 0.3,
outputPerMillion: 1.2,
cacheCreationPerMillion: 0.375,
cacheReadPerMillion: 0.03,
},
'MiniMax-M2.5-lightning': {
inputPerMillion: 0.6,
outputPerMillion: 2.4,
cacheCreationPerMillion: 0.375,
cacheReadPerMillion: 0.03,
},
'MiniMax-M2.1': {
inputPerMillion: 0.3,
outputPerMillion: 1.2,
@@ -566,7 +578,7 @@ const PRICING_REGISTRY: Record<string, ModelPricing> = {
cacheReadPerMillion: 0.03,
},
'MiniMax-M2.1-lightning': {
inputPerMillion: 0.3,
inputPerMillion: 0.6,
outputPerMillion: 2.4,
cacheCreationPerMillion: 0.375,
cacheReadPerMillion: 0.03,
@@ -577,6 +589,51 @@ const PRICING_REGISTRY: Record<string, ModelPricing> = {
cacheCreationPerMillion: 0.375,
cacheReadPerMillion: 0.03,
},
// ---------------------------------------------------------------------------
// Qwen Models - Source: https://www.alibabacloud.com/help/zh/model-studio/model-pricing
// ---------------------------------------------------------------------------
'qwen3-max': {
inputPerMillion: 1.2,
outputPerMillion: 6,
cacheCreationPerMillion: 1.2,
cacheReadPerMillion: 0.24,
},
'qwen3-max-2026-01-23': {
inputPerMillion: 1.2,
outputPerMillion: 6,
cacheCreationPerMillion: 1.2,
cacheReadPerMillion: 0.24,
},
'qwen3-max-preview': {
inputPerMillion: 1.2,
outputPerMillion: 6,
cacheCreationPerMillion: 1.2,
cacheReadPerMillion: 0.24,
},
'qwen3.5-plus': {
inputPerMillion: 0.4,
outputPerMillion: 2.4,
cacheCreationPerMillion: 0.4,
cacheReadPerMillion: 0.08,
},
'qwen3.5-flash': {
inputPerMillion: 0.1,
outputPerMillion: 0.4,
cacheCreationPerMillion: 0.1,
cacheReadPerMillion: 0.02,
},
'qwen3-coder-plus': {
inputPerMillion: 1,
outputPerMillion: 5,
cacheCreationPerMillion: 1,
cacheReadPerMillion: 0.2,
},
'qwen3-coder-flash': {
inputPerMillion: 0.3,
outputPerMillion: 1.5,
cacheCreationPerMillion: 0.3,
cacheReadPerMillion: 0.06,
},
// ---------------------------------------------------------------------------
// DeepSeek Models - Source: better-ccusage