Skip to content

Commit 238654e

Browse files
authored
feat: Add more models support for doubao (RooCodeInc#2736)
* feat: Add more models siport for doubao * fix: package-lock.json should not be submitted
1 parent 643319f commit 238654e

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.changeset/great-onions-jump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": minor
3+
---
4+
5+
Add more models support for doubao

src/shared/api.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,26 @@ export const doubaoModels = {
11651165
cacheWritesPrice: 0,
11661166
cacheReadsPrice: 0,
11671167
},
1168+
"deepseek-v3-250324": {
1169+
maxTokens: 12_288,
1170+
contextWindow: 128_000,
1171+
supportsImages: false,
1172+
supportsPromptCache: false,
1173+
inputPrice: 0.55,
1174+
outputPrice: 2.19,
1175+
cacheWritesPrice: 0,
1176+
cacheReadsPrice: 0,
1177+
},
1178+
"deepseek-r1-250120": {
1179+
maxTokens: 32_768,
1180+
contextWindow: 64_000,
1181+
supportsImages: false,
1182+
supportsPromptCache: false,
1183+
inputPrice: 0.27,
1184+
outputPrice: 1.09,
1185+
cacheWritesPrice: 0,
1186+
cacheReadsPrice: 0,
1187+
},
11681188
} as const satisfies Record<string, ModelInfo>
11691189

11701190
// Mistral

0 commit comments

Comments
 (0)