🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix: update DeepSeek cache hit pricing (#14209)
YuTengjing4e309e6f2682
diff --git a/packages/model-bank/src/aiModels/deepseek.ts b/packages/model-bank/src/aiModels/deepseek.tsindex bf7d51814c1..41bd17aa33f 100644--- a/packages/model-bank/src/aiModels/deepseek.ts+++ b/packages/model-bank/src/aiModels/deepseek.ts@@ -17,8 +17,9 @@ const deepseekChatModels: AIChatModelCard[] = [maxOutput: 384_000,pricing: {currency: 'CNY',+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.units: [- { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.02, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },],@@ -50,9 +51,10 @@ const deepseekChatModels: AIChatModelCard[] = [maxOutput: 384_000,pricing: {currency: 'CNY',- // Official limited-time 75% off discount is valid until 2026-05-05 23:59 Beijing time.+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.+ // DeepSeek V4 Pro limited-time 75% off discount is valid until 2026-05-05 23:59 Beijing time.units: [- { name: 'textInput_cacheRead', rate: 0.25, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.025, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 6, strategy: 'fixed', unit: 'millionTokens' },],@@ -86,8 +88,9 @@ const deepseekChatModels: AIChatModelCard[] = [maxOutput: 384_000,pricing: {currency: 'CNY',+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.units: [- { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.02, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },],@@ -111,8 +114,9 @@ const deepseekChatModels: AIChatModelCard[] = [maxOutput: 384_000,pricing: {currency: 'CNY',+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.units: [- { name: 'textInput_cacheRead', rate: 0.2, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.02, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 1, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 2, strategy: 'fixed', unit: 'millionTokens' },],diff --git a/packages/model-bank/src/aiModels/lobehub/chat/deepseek.ts b/packages/model-bank/src/aiModels/lobehub/chat/deepseek.tsindex 2c37cd091e1..9b66c5d9a3b 100644--- a/packages/model-bank/src/aiModels/lobehub/chat/deepseek.ts+++ b/packages/model-bank/src/aiModels/lobehub/chat/deepseek.ts@@ -14,8 +14,9 @@ export const deepseekChatModels: AIChatModelCard[] = [id: 'deepseek-v4-flash',maxOutput: 384_000,pricing: {+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.units: [- { name: 'textInput_cacheRead', rate: 0.028, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.0028, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 0.14, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 0.28, strategy: 'fixed', unit: 'millionTokens' },],@@ -45,9 +46,10 @@ export const deepseekChatModels: AIChatModelCard[] = [id: 'deepseek-v4-pro',maxOutput: 384_000,pricing: {- // Official limited-time 75% off discount is valid until 2026-05-05 15:59 UTC.+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.+ // DeepSeek V4 Pro limited-time 75% off discount is valid until 2026-05-05 15:59 UTC.units: [- { name: 'textInput_cacheRead', rate: 0.03625, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.003625, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 0.435, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 0.87, strategy: 'fixed', unit: 'millionTokens' },],@@ -79,8 +81,9 @@ export const deepseekChatModels: AIChatModelCard[] = [legacy: true,maxOutput: 384_000,pricing: {+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.units: [- { name: 'textInput_cacheRead', rate: 0.028, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.0028, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 0.14, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 0.28, strategy: 'fixed', unit: 'millionTokens' },],@@ -103,8 +106,9 @@ export const deepseekChatModels: AIChatModelCard[] = [legacy: true,maxOutput: 384_000,pricing: {+ // Official cache-hit input price is permanently reduced to 1/10 of the launch price.units: [- { name: 'textInput_cacheRead', rate: 0.028, strategy: 'fixed', unit: 'millionTokens' },+ { name: 'textInput_cacheRead', rate: 0.0028, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textInput', rate: 0.14, strategy: 'fixed', unit: 'millionTokens' },{ name: 'textOutput', rate: 0.28, strategy: 'fixed', unit: 'millionTokens' },],