Skip to content

Commit ee06c08

Browse files
stephen8339aicccodesaoudrizwan刘耸
authored
add all qwen2.5 coder models (RooCodeInc#1797)
* add alibaba qwen-max qwen-plus qwen-turbo qwen-coder-plus stable/latest models * add alibaba qwen-max qwen-plus qwen-turbo qwen-coder-plus stable/latest models * Provide the api line choice for international user * Remove redundant code * Copy fixes * Create dry-socks-talk.md * fix problem what is when you use Qwen api provider and then you want to change the api provider ,the apiline dropdown will obscure your api provider drop-down options * feat: add qwen2.5-coder models Description Add new models as list: qwen2.5-coder-32b-instruct qwen2.5-coder-14b-instruct qwen2.5-coder-7b-instruct qwen2.5-coder-3b-instruct Doc: https://help.aliyun.com/zh/model-studio/getting-started/models#9f8890ce29g5u * add changeset * feat: add all alibaba qwen2.5 coder models --------- Co-authored-by: yaojunWang <[email protected]> Co-authored-by: Saoud Rizwan <[email protected]> Co-authored-by: 刘耸 <[email protected]>
1 parent 8e12bdb commit ee06c08

File tree

3 files changed

+70
-0
lines changed

3 files changed

+70
-0
lines changed

.changeset/gentle-glasses-flow.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 alibaba qwen2.5 coder models

.changeset/slimy-roses-dance.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 alibaba qwen2.5-coder models

src/shared/api.ts

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,66 @@ export const deepSeekModels = {
451451
export type QwenModelId = keyof typeof qwenModels
452452
export const qwenDefaultModelId: QwenModelId = "qwen-coder-plus-latest"
453453
export const qwenModels = {
454+
"qwen2.5-coder-32b-instruct": {
455+
maxTokens: 8_192,
456+
contextWindow: 131_072,
457+
supportsImages: false,
458+
supportsPromptCache: false,
459+
inputPrice: 0.002,
460+
outputPrice: 0.006,
461+
cacheWritesPrice: 0.002,
462+
cacheReadsPrice: 0.006,
463+
},
464+
"qwen2.5-coder-14b-instruct": {
465+
maxTokens: 8_192,
466+
contextWindow: 131_072,
467+
supportsImages: false,
468+
supportsPromptCache: false,
469+
inputPrice: 0.002,
470+
outputPrice: 0.006,
471+
cacheWritesPrice: 0.002,
472+
cacheReadsPrice: 0.006,
473+
},
474+
"qwen2.5-coder-7b-instruct": {
475+
maxTokens: 8_192,
476+
contextWindow: 131_072,
477+
supportsImages: false,
478+
supportsPromptCache: false,
479+
inputPrice: 0.001,
480+
outputPrice: 0.002,
481+
cacheWritesPrice: 0.001,
482+
cacheReadsPrice: 0.002,
483+
},
484+
"qwen2.5-coder-3b-instruct": {
485+
maxTokens: 8_192,
486+
contextWindow: 32_768,
487+
supportsImages: false,
488+
supportsPromptCache: false,
489+
inputPrice: 0.0,
490+
outputPrice: 0.0,
491+
cacheWritesPrice: 0.0,
492+
cacheReadsPrice: 0.0,
493+
},
494+
"qwen2.5-coder-1.5b-instruct": {
495+
maxTokens: 8_192,
496+
contextWindow: 32_768,
497+
supportsImages: false,
498+
supportsPromptCache: false,
499+
inputPrice: 0.0,
500+
outputPrice: 0.0,
501+
cacheWritesPrice: 0.0,
502+
cacheReadsPrice: 0.0,
503+
},
504+
"qwen2.5-coder-0.5b-instruct": {
505+
maxTokens: 8_192,
506+
contextWindow: 32_768,
507+
supportsImages: false,
508+
supportsPromptCache: false,
509+
inputPrice: 0.0,
510+
outputPrice: 0.0,
511+
cacheWritesPrice: 0.0,
512+
cacheReadsPrice: 0.0,
513+
},
454514
"qwen-coder-plus-latest": {
455515
maxTokens: 129_024,
456516
contextWindow: 131_072,

0 commit comments

Comments
 (0)