Skip to content

Commit d68c8e5

Browse files
committed
fix: update Deepseek v3.1 configuration with correct context length and pricing
- Updated context length from 128,000 to 163,840 tokens - Updated input pricing from $0.90 to $0.56 per 1M tokens - Updated output pricing from $0.90 to $1.68 per 1M tokens - Updated test expectations to match new configuration
1 parent ff3c1c9 commit d68c8e5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/types/src/providers/fireworks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ export const fireworksModels = {
6565
},
6666
"accounts/fireworks/models/deepseek-v3p1": {
6767
maxTokens: 16384,
68-
contextWindow: 128000,
68+
contextWindow: 163840,
6969
supportsImages: false,
7070
supportsPromptCache: false,
71-
inputPrice: 0.9,
72-
outputPrice: 0.9,
71+
inputPrice: 0.56,
72+
outputPrice: 1.68,
7373
description:
7474
"DeepSeek v3.1 is an improved version of the v3 model with enhanced performance, better reasoning capabilities, and improved code generation. This Mixture-of-Experts (MoE) model maintains the same 671B total parameters with 37B activated per token.",
7575
},

src/api/providers/__tests__/fireworks.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@ describe("FireworksHandler", () => {
190190
expect(model.info).toEqual(
191191
expect.objectContaining({
192192
maxTokens: 16384,
193-
contextWindow: 128000,
193+
contextWindow: 163840,
194194
supportsImages: false,
195195
supportsPromptCache: false,
196-
inputPrice: 0.9,
197-
outputPrice: 0.9,
196+
inputPrice: 0.56,
197+
outputPrice: 1.68,
198198
description: expect.stringContaining("DeepSeek v3.1 is an improved version"),
199199
}),
200200
)

0 commit comments

Comments
 (0)