fix: update DeepSeek pricing to new rates effective Sept 5, 2025

- Updated deepseek-chat pricing:
  - Input (cache miss): $0.27 -> $0.56 per million tokens
  - Output: $1.10 -> $1.68 per million tokens
  - Cache reads remain at $0.07 per million tokens

- Updated deepseek-reasoner pricing:
  - Input (cache miss): $0.55 -> $0.56 per million tokens
  - Output: $2.19 -> $1.68 per million tokens
  - Cache reads: $0.14 -> $0.07 per million tokens

Both models now have unified pricing as per the new pricing structure.

Fixes #7685
This commit is contained in:
Roo Code 2025-09-05 00:09:40 +00:00
parent 7935c94827
commit 2c3d392db0

View file

@ -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)
outputPrice: 1.68, // $1.68 per million tokens
cacheWritesPrice: 0.56, // $0.56 per million tokens (cache miss)
cacheReadsPrice: 0.07, // $0.07 per million tokens (cache hit)
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)
outputPrice: 1.68, // $1.68 per million tokens
cacheWritesPrice: 0.56, // $0.56 per million tokens (cache miss)
cacheReadsPrice: 0.07, // $0.07 per million tokens (cache hit)
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<string, ModelInfo>