From fb853be09a7b8a00c9acb364f38c7d37ef54d6fd Mon Sep 17 00:00:00 2001 From: Roo Code Date: Fri, 5 Sep 2025 01:29:37 +0000 Subject: [PATCH] fix: update DeepSeek pricing to new unified rates effective Sept 5, 2025 - Updated deepseek-chat pricing: $0.56 input (cache miss), $0.07 (cache hit), $1.68 output - Updated deepseek-reasoner pricing: same unified rates as deepseek-chat - Both models now have identical pricing as per DeepSeek announcement - Pricing takes effect at 16:00 UTC, Sept 5th, 2025 Fixes #7685 --- packages/types/src/providers/deepseek.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/types/src/providers/deepseek.ts b/packages/types/src/providers/deepseek.ts index 8ce5ef87b245..f91655723535 100644 --- a/packages/types/src/providers/deepseek.ts +++ b/packages/types/src/providers/deepseek.ts @@ -11,10 +11,10 @@ export const deepSeekModels = { contextWindow: 128_000, supportsImages: false, supportsPromptCache: true, - inputPrice: 0.27, // $0.27 per million tokens (cache miss) - outputPrice: 1.1, // $1.10 per million tokens - cacheWritesPrice: 0.27, // $0.27 per million tokens (cache miss) - cacheReadsPrice: 0.07, // $0.07 per million tokens (cache hit). + inputPrice: 0.56, // $0.56 per million tokens (cache miss) - Updated Sept 5, 2025 + outputPrice: 1.68, // $1.68 per million tokens - Updated Sept 5, 2025 + cacheWritesPrice: 0.56, // $0.56 per million tokens (cache miss) - Updated Sept 5, 2025 + cacheReadsPrice: 0.07, // $0.07 per million tokens (cache hit) - Updated Sept 5, 2025 description: `DeepSeek-V3 achieves a significant breakthrough in inference speed over previous models. It tops the leaderboard among open-source models and rivals the most advanced closed-source models globally.`, }, "deepseek-reasoner": { @@ -22,10 +22,10 @@ export const deepSeekModels = { contextWindow: 128_000, supportsImages: false, supportsPromptCache: true, - inputPrice: 0.55, // $0.55 per million tokens (cache miss) - outputPrice: 2.19, // $2.19 per million tokens - cacheWritesPrice: 0.55, // $0.55 per million tokens (cache miss) - cacheReadsPrice: 0.14, // $0.14 per million tokens (cache hit) + inputPrice: 0.56, // $0.56 per million tokens (cache miss) - Updated Sept 5, 2025 + outputPrice: 1.68, // $1.68 per million tokens - Updated Sept 5, 2025 + cacheWritesPrice: 0.56, // $0.56 per million tokens (cache miss) - Updated Sept 5, 2025 + cacheReadsPrice: 0.07, // $0.07 per million tokens (cache hit) - Updated Sept 5, 2025 description: `DeepSeek-R1 achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks. Supports Chain of Thought reasoning with up to 64K output tokens.`, }, } as const satisfies Record