fix(models): refresh DeepSeek V4 pricing
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"verifiedAt": "2026-08-18",
|
||||
"verifiedAt": "2026-08-20",
|
||||
"source": "https://commandcode.ai/docs/resources/pricing-limits",
|
||||
"tierPolicy": "Use request-wide input tiers; the highest threshold exceeded by input plus cache tokens applies to the full request.",
|
||||
"tiers": {
|
||||
@@ -25,8 +25,8 @@
|
||||
"MiniMaxAI/MiniMax-M3": [0.3, 1.2, 0.06, 0],
|
||||
"MiniMaxAI/MiniMax-M2.7": [0.3, 1.2, 0.06, 0],
|
||||
"MiniMaxAI/MiniMax-M2.5": [0.3, 1.2, 0.03, 0],
|
||||
"deepseek/deepseek-v4-pro": [0.435, 0.87, 0.003625, 0],
|
||||
"deepseek/deepseek-v4-flash": [0.14, 0.28, 0.0028, 0],
|
||||
"deepseek/deepseek-v4-pro": [0.66, 1.98, 0.022, 0],
|
||||
"deepseek/deepseek-v4-flash": [0.22, 0.66, 0.007, 0],
|
||||
"Qwen/Qwen3.8-Max": [2, 6, 0.25, 2.5],
|
||||
"Qwen/Qwen3.7-Max": [2.5, 7.5, 0.5, 3.13],
|
||||
"Qwen/Qwen3.7-Plus": [0.4, 1.6, 0.08, 0.5],
|
||||
|
||||
+10
-4
@@ -108,10 +108,16 @@ describe("MODEL_COSTS pricing overlay", () => {
|
||||
})
|
||||
|
||||
it("matches corrected official rates", () => {
|
||||
assertCost("deepseek/deepseek-v4-pro", {
|
||||
input: 0.66,
|
||||
output: 1.98,
|
||||
cacheRead: 0.022,
|
||||
cacheWrite: 0,
|
||||
})
|
||||
assertCost("deepseek/deepseek-v4-flash", {
|
||||
input: 0.14,
|
||||
output: 0.28,
|
||||
cacheRead: 0.0028,
|
||||
input: 0.22,
|
||||
output: 0.66,
|
||||
cacheRead: 0.007,
|
||||
cacheWrite: 0,
|
||||
})
|
||||
assertCost("Qwen/Qwen3.7-Max", {
|
||||
@@ -163,7 +169,7 @@ describe("MODEL_COSTS pricing overlay", () => {
|
||||
|
||||
it("tracks pricing provenance", () => {
|
||||
assert.equal(PRICING_SOURCE_URL, "https://commandcode.ai/docs/resources/pricing-limits")
|
||||
assert.equal(PRICING_LAST_VERIFIED, "2026-08-18")
|
||||
assert.equal(PRICING_LAST_VERIFIED, "2026-08-20")
|
||||
})
|
||||
|
||||
it("fails once temporary pricing needs review", () => {
|
||||
|
||||
Reference in New Issue
Block a user