You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: update Deepseek configurations
* fix: restore the "disable" reasoning effort option
* fix: remove deepseek-chat and deekseek-reasoner tests, or change them to deepseek-v4-flash or deepseek-v4-pro
* fix: normalizeDeepSeekReasoningEffort
* chore: add unit testing for normalizeDeepSeekReasoningEffort
inputPrice: 0.14,// $0.14 per million tokens (cache miss) - Updated Apr 29, 2026
21
-
outputPrice: 0.28,// $0.28 per million tokens - Updated Apr 29, 2026
22
-
cacheWritesPrice: 0.14,// $0.14 per million tokens (cache miss) - Updated Apr 29, 2026
23
-
cacheReadsPrice: 0.0028,// $0.0028 per million tokens (cache hit) - Updated Apr 29, 2026
20
+
inputPrice: 0,// the inputs are priced as cache read/write, so `inputPrice` should be 0
21
+
// the peak/off-peak pricing policy has not been implemented yet - Updated 2026-08-01
22
+
outputPrice: 0.28,// $0.28 per million tokens - Updated 2026-08-01
23
+
cacheWritesPrice: 0.14,// $0.14 per million tokens (cache miss) - Updated 2026-08-01
24
+
cacheReadsPrice: 0.0028,// $0.0028 per million tokens (cache hit) - Updated 2026-08-01
24
25
description: `DeepSeek-V4-Flash is DeepSeek's fast, cost-efficient V4 model. It supports thinking and non-thinking modes, JSON output, tool calls, chat prefix completion (beta), and FIM completion (beta) in non-thinking mode.`,
// TODO(deepseek): Re-check V4 Pro discounted prices after DeepSeek's 2026-05-31 discount end date.
35
-
inputPrice: 0.435,// $0.435 per million tokens (cache miss, discounted) - Updated Apr 29, 2026
36
-
outputPrice: 0.87,// $0.87 per million tokens (discounted) - Updated Apr 29, 2026
37
-
cacheWritesPrice: 0.435,// $0.435 per million tokens (cache miss, discounted) - Updated Apr 29, 2026
38
-
cacheReadsPrice: 0.003625,// $0.003625 per million tokens (cache hit, discounted) - Updated Apr 29, 2026
35
+
inputPrice: 0,// the inputs are priced as cache read/write, so `inputPrice` should be 0
36
+
// the peak/off-peak pricing policy has not been implemented yet - Updated 2026-08-01
37
+
outputPrice: 0.87,// $0.87 per million tokens - Updated 2026-08-01
38
+
cacheWritesPrice: 0.435,// $0.435 per million tokens (cache miss) - Updated 2026-08-01
39
+
cacheReadsPrice: 0.003625,// $0.003625 per million tokens (cache hit) - Updated 2026-08-01
39
40
description: `DeepSeek-V4-Pro is DeepSeek's strongest V4 model for reasoning, coding, long-context, and agentic workloads. It supports thinking and non-thinking modes, JSON output, tool calls, chat prefix completion (beta), and FIM completion (beta) in non-thinking mode.`,
40
41
},
41
-
// TODO(deepseek): Remove this compatibility alias after DeepSeek's 2026-07-24 retirement date.
42
-
"deepseek-chat": {
43
-
maxTokens: 8192,// 8K max output
44
-
contextWindow: 128_000,
45
-
supportsImages: false,
46
-
supportsPromptCache: true,
47
-
inputPrice: 0.28,// $0.28 per million tokens (cache miss) - Updated Dec 9, 2025
48
-
outputPrice: 0.42,// $0.42 per million tokens - Updated Dec 9, 2025
49
-
cacheWritesPrice: 0.28,// $0.28 per million tokens (cache miss) - Updated Dec 9, 2025
50
-
cacheReadsPrice: 0.028,// $0.028 per million tokens (cache hit) - Updated Dec 9, 2025
51
-
description: `Legacy compatibility alias for the non-thinking mode of deepseek-v4-flash. DeepSeek plans to deprecate this model name on 2026-07-24.`,
52
-
},
53
-
// TODO(deepseek): Remove this compatibility alias after DeepSeek's 2026-07-24 retirement date.
54
-
"deepseek-reasoner": {
55
-
maxTokens: 8192,// 8K max output
56
-
contextWindow: 128_000,
57
-
supportsImages: false,
58
-
supportsPromptCache: true,
59
-
preserveReasoning: true,
60
-
inputPrice: 0.28,// $0.28 per million tokens (cache miss) - Updated Dec 9, 2025
61
-
outputPrice: 0.42,// $0.42 per million tokens - Updated Dec 9, 2025
62
-
cacheWritesPrice: 0.28,// $0.28 per million tokens (cache miss) - Updated Dec 9, 2025
63
-
cacheReadsPrice: 0.028,// $0.028 per million tokens (cache hit) - Updated Dec 9, 2025
64
-
description: `Legacy compatibility alias for the thinking mode of deepseek-v4-flash. DeepSeek plans to deprecate this model name on 2026-07-24.`,
0 commit comments