From c734913b3f249676a25b1ec72090e82394590d31 Mon Sep 17 00:00:00 2001 From: Tran Long Date: Sat, 9 May 2026 10:11:39 +0700 Subject: [PATCH] Update DeepSeek model pricing and add V4 Pro (#938) Update all DeepSeek model prices to match current V4 Flash pricing ($0.14/$0.28 per 1M input/output tokens), and add V4 Pro model with its own pricing ($0.435/$0.87). Also add deepseek-v4-pro to the provider model list. Co-authored-by: smarthomeblack --- open-sse/config/providerModels.js | 1 + src/shared/constants/pricing.js | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/open-sse/config/providerModels.js b/open-sse/config/providerModels.js index 5a8d2f2..14c5a92 100644 --- a/open-sse/config/providerModels.js +++ b/open-sse/config/providerModels.js @@ -415,6 +415,7 @@ export const PROVIDER_MODELS = { { id: "gpt-oss-120b-250805", name: "GPT-OSS-120B" }, ], deepseek: [ + { id: "deepseek-v4-pro", name: "DeepSeek V4 Pro" }, { id: "deepseek-v4-flash", name: "DeepSeek V4 Flash" }, { id: "deepseek-chat", name: "DeepSeek V3.2 Chat" }, { id: "deepseek-reasoner", name: "DeepSeek V3.2 Reasoner" }, diff --git a/src/shared/constants/pricing.js b/src/shared/constants/pricing.js index 8df1bf6..d2914c0 100644 --- a/src/shared/constants/pricing.js +++ b/src/shared/constants/pricing.js @@ -77,11 +77,13 @@ export const MODEL_PRICING = { "kimi-latest": { input: 1.00, output: 4.00, cached: 0.50, reasoning: 6.00, cache_creation: 1.00 }, // === DeepSeek === - "deepseek-chat": { input: 0.28, output: 0.42, cached: 0.028, reasoning: 0.42, cache_creation: 0.28 }, - "deepseek-reasoner": { input: 0.28, output: 0.42, cached: 0.028, reasoning: 0.42, cache_creation: 0.28 }, - "deepseek-r1": { input: 0.75, output: 3.00, cached: 0.375, reasoning: 4.50, cache_creation: 0.75 }, - "deepseek-v3.2-chat": { input: 0.50, output: 2.00, cached: 0.25, reasoning: 3.00, cache_creation: 0.50 }, - "deepseek-v3.2-reasoner": { input: 0.75, output: 3.00, cached: 0.375, reasoning: 4.50, cache_creation: 0.75 }, + "deepseek-chat": { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 }, + "deepseek-reasoner": { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 }, + "deepseek-r1": { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 }, + "deepseek-v3.2-chat": { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 }, + "deepseek-v3.2-reasoner": { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 }, + "deepseek-v4-flash": { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 }, + "deepseek-v4-pro": { input: 0.435, output: 0.87, cached: 0.003625, reasoning: 0.87, cache_creation: 0.435 }, // === GLM === "glm-4.6": { input: 0.50, output: 2.00, cached: 0.25, reasoning: 3.00, cache_creation: 0.50 }, @@ -180,10 +182,10 @@ export const PATTERN_PRICING = [ { pattern: "kimi-*", pricing: { input: 1.00, output: 4.00, cached: 0.50, reasoning: 6.00, cache_creation: 1.00 } }, // --- DeepSeek --- - { pattern: "deepseek-*reasoner*", pricing: { input: 0.75, output: 3.00, cached: 0.375, reasoning: 4.50, cache_creation: 0.75 } }, - { pattern: "deepseek-r*", pricing: { input: 0.75, output: 3.00, cached: 0.375, reasoning: 4.50, cache_creation: 0.75 } }, - { pattern: "deepseek-v*", pricing: { input: 0.50, output: 2.00, cached: 0.25, reasoning: 3.00, cache_creation: 0.50 } }, - { pattern: "deepseek-*", pricing: { input: 0.28, output: 0.42, cached: 0.028, reasoning: 0.42, cache_creation: 0.28 } }, + { pattern: "deepseek-*reasoner*", pricing: { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 } }, + { pattern: "deepseek-r*", pricing: { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 } }, + { pattern: "deepseek-v*", pricing: { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 } }, + { pattern: "deepseek-*", pricing: { input: 0.14, output: 0.28, cached: 0.0028, reasoning: 0.28, cache_creation: 0.14 } }, // --- GLM --- { pattern: "glm-5*", pricing: { input: 1.00, output: 4.00, cached: 0.50, reasoning: 6.00, cache_creation: 1.00 } },