From beeb5d78fe0a8c39f9bd9d13c8d19c20cdfa0db9 Mon Sep 17 00:00:00 2001 From: Luca Steeb Date: Fri, 22 Aug 2025 02:12:24 +0100 Subject: [PATCH] feat(models): add new Alibaba and Moonshot model entries Added support for new models: 1. Qwen3 Coder 480B A35B Instruct 2. Qwen3 Coder 30B A3B Instruct 3. Qwen3 30B A3B Instruct 2507 4. Qwen3 30B A3B Thinking 2507 5. Moonshot Kimi-K2 Instruct These models include metadata for pricing, features, and configurations. --- packages/models/src/models/alibaba.ts | 89 ++++++++++++++++++++++++++ packages/models/src/models/moonshot.ts | 12 ++++ 2 files changed, 101 insertions(+) diff --git a/packages/models/src/models/alibaba.ts b/packages/models/src/models/alibaba.ts index f99bb8af36..1c0bf717b3 100644 --- a/packages/models/src/models/alibaba.ts +++ b/packages/models/src/models/alibaba.ts @@ -287,4 +287,93 @@ export const alibabaModels = [ ], jsonOutput: true, }, + { + id: "qwen3-coder-480b-a35b-instruct", + name: "Qwen3 Coder 480B A35B Instruct", + family: "alibaba", + deprecatedAt: undefined, + deactivatedAt: undefined, + providers: [ + { + providerId: "nebius", + modelName: "Qwen/Qwen3-Coder-480B-A35B-Instruct", + inputPrice: 0.4 / 1e6, + outputPrice: 1.8 / 1e6, + requestPrice: 0, + contextSize: 262000, + maxOutput: 8192, + streaming: true, + vision: false, + tools: true, + }, + ], + jsonOutput: true, + }, + { + id: "qwen3-coder-30b-a3b-instruct", + name: "Qwen3 Coder 30B A3B Instruct", + family: "alibaba", + deprecatedAt: undefined, + deactivatedAt: undefined, + providers: [ + { + providerId: "nebius", + modelName: "Qwen/Qwen3-Coder-30B-A3B-Instruct", + inputPrice: 0.1 / 1e6, + outputPrice: 0.3 / 1e6, + requestPrice: 0, + contextSize: 262000, + maxOutput: 8192, + streaming: true, + vision: false, + tools: true, + }, + ], + jsonOutput: true, + }, + { + id: "qwen3-30b-a3b-instruct-2507", + name: "Qwen3 30B A3B Instruct 2507", + family: "alibaba", + deprecatedAt: undefined, + deactivatedAt: undefined, + providers: [ + { + providerId: "nebius", + modelName: "Qwen/Qwen3-30B-A3B-Instruct-2507", + inputPrice: 0.1 / 1e6, + outputPrice: 0.3 / 1e6, + requestPrice: 0, + contextSize: 262000, + maxOutput: 8192, + streaming: true, + vision: false, + tools: true, + }, + ], + jsonOutput: true, + }, + { + id: "qwen3-30b-a3b-thinking-2507", + name: "Qwen3 30B A3B Thinking 2507", + family: "alibaba", + deprecatedAt: undefined, + deactivatedAt: undefined, + providers: [ + { + providerId: "nebius", + modelName: "Qwen/Qwen3-30B-A3B-Thinking-2507", + inputPrice: 0.1 / 1e6, + outputPrice: 0.3 / 1e6, + requestPrice: 0, + contextSize: 262000, + maxOutput: 8192, + streaming: true, + vision: false, + tools: true, + reasoning: true, + }, + ], + jsonOutput: true, + }, ] as const satisfies ModelDefinition[]; diff --git a/packages/models/src/models/moonshot.ts b/packages/models/src/models/moonshot.ts index 9e7ce783db..e91985f773 100644 --- a/packages/models/src/models/moonshot.ts +++ b/packages/models/src/models/moonshot.ts @@ -46,6 +46,18 @@ export const moonshotModels = [ tools: true, test: "skip", }, + { + providerId: "nebius", + modelName: "moonshotai/Kimi-K2-Instruct", + inputPrice: 0.5 / 1e6, + outputPrice: 2.4 / 1e6, + requestPrice: 0, + contextSize: 131072, + maxOutput: 8192, + streaming: true, + vision: false, + tools: true, + }, ], jsonOutput: true, },