Procházet zdrojové kódy

Merge pull request #3379 from TsFreddie/ds-3.2

Update pricing for DeepSeek V3.2
Christiaan Arnoldus před 3 měsíci
rodič
revize
bbef54336a

+ 5 - 0
.changeset/gorgeous-shoes-search.md

@@ -0,0 +1,5 @@
+---
+"kilo-code": patch
+---
+
+Update pricing for DeepSeek V3.2

+ 12 - 8
packages/types/src/providers/deepseek.ts

@@ -11,10 +11,12 @@ export const deepSeekModels = {
 		contextWindow: 128_000,
 		supportsImages: false,
 		supportsPromptCache: true,
-		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
+		// kilocode_change start pricing updated
+		inputPrice: 0.28, // $0.28 per million tokens (cache miss) - Updated Oct 29, 2025
+		outputPrice: 0.42, // $0.42 per million tokens - Updated Oct 29, 2025
+		cacheWritesPrice: 0.28, // $0.28 per million tokens (cache miss) - Updated Oct 29, 2025
+		cacheReadsPrice: 0.028, // $0.028 per million tokens (cache hit) - Updated Oct 29, 2025
+		// kilocode_change end
 		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 +24,12 @@ export const deepSeekModels = {
 		contextWindow: 128_000,
 		supportsImages: false,
 		supportsPromptCache: true,
-		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
+		// kilocode_change start pricing updated
+		inputPrice: 0.28, // $0.28 per million tokens (cache miss) - Updated Oct 29, 2025
+		outputPrice: 0.42, // $0.42 per million tokens - Updated Oct 29, 2025
+		cacheWritesPrice: 0.28, // $0.28 per million tokens (cache miss) - Updated Oct 29, 2025
+		cacheReadsPrice: 0.028, // $0.028 per million tokens (cache hit) - Updated Oct 29, 2025
+		// kilocode_change end
 		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>