Repository navigation
feat(models): add Nebius & Zhipu; align pricing & entries #1289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
371bd70
2ecbe70
9a4021d
4178929
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -25,7 +25,6 @@ export const deepseekModels = [ | |||||||||
| }, | ||||||||||
| { | ||||||||||
| providerId: "nebius", | ||||||||||
| stability: "unstable" as const, | ||||||||||
| modelName: "deepseek-ai/DeepSeek-V3", | ||||||||||
| inputPrice: 0.5 / 1e6, | ||||||||||
| outputPrice: 1.5 / 1e6, | ||||||||||
|
|
@@ -36,7 +35,29 @@ export const deepseekModels = [ | |||||||||
| vision: false, | ||||||||||
| tools: false, | ||||||||||
| jsonOutput: false, | ||||||||||
| deactivatedAt: new Date("2025-11-03"), | ||||||||||
| }, | ||||||||||
| ], | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| id: "deepseek-v3-0324", | ||||||||||
| name: "DeepSeek V3 (0324)", | ||||||||||
| description: "March 2024 version of DeepSeek V3 with improved performance.", | ||||||||||
| family: "deepseek", | ||||||||||
| releasedAt: new Date("2025-03-24"), | ||||||||||
| publishedAt: new Date("2025-03-24"), | ||||||||||
|
Comment on lines
+46
to
+47
|
||||||||||
| releasedAt: new Date("2025-03-24"), | |
| publishedAt: new Date("2025-03-24"), | |
| releasedAt: new Date("2024-03-24"), | |
| publishedAt: new Date("2024-03-24"), |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| import type { ModelDefinition } from "@/models.js"; | ||
|
|
||
| export const nebiusModels = [ | ||
| { | ||
| id: "gpt-oss-120b", | ||
| name: "GPT-OSS 120B", | ||
| description: "Nebius open-source 120B parameter model.", | ||
| family: "nebius", | ||
| releasedAt: new Date("2025-01-01"), | ||
| publishedAt: new Date("2025-01-01"), | ||
| providers: [ | ||
| { | ||
| providerId: "nebius", | ||
| modelName: "nvidia/gpt-oss-120b", | ||
| inputPrice: 0.15 / 1e6, | ||
| outputPrice: 0.6 / 1e6, | ||
| requestPrice: 0, | ||
| contextSize: 128000, | ||
| maxOutput: undefined, | ||
| streaming: true, | ||
| vision: false, | ||
| tools: false, | ||
| jsonOutput: false, | ||
| }, | ||
| ], | ||
| }, | ||
| { | ||
| id: "gpt-oss-20b", | ||
| name: "GPT-OSS 20B", | ||
| description: "Nebius open-source 20B parameter model.", | ||
| family: "nebius", | ||
| releasedAt: new Date("2025-01-01"), | ||
| publishedAt: new Date("2025-01-01"), | ||
| providers: [ | ||
| { | ||
| providerId: "nebius", | ||
| modelName: "nvidia/gpt-oss-20b", | ||
| inputPrice: 0.05 / 1e6, | ||
| outputPrice: 0.2 / 1e6, | ||
| requestPrice: 0, | ||
| contextSize: 128000, | ||
| maxOutput: undefined, | ||
| streaming: true, | ||
| vision: false, | ||
| tools: false, | ||
| jsonOutput: false, | ||
| }, | ||
| ], | ||
| }, | ||
| ] as const satisfies ModelDefinition[]; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| import type { ModelDefinition } from "@/models.js"; | ||
|
|
||
| export const zhipuModels = [ | ||
| { | ||
| id: "glm-4-5", | ||
| name: "GLM-4.5", | ||
| description: "Zhipu AI's GLM-4.5 large language model.", | ||
| family: "zhipu", | ||
| releasedAt: new Date("2025-01-01"), | ||
| publishedAt: new Date("2025-01-01"), | ||
| providers: [ | ||
| { | ||
| providerId: "nebius", | ||
| modelName: "THUDM/GLM-4.5", | ||
| inputPrice: 0.6 / 1e6, | ||
| outputPrice: 2.2 / 1e6, | ||
| requestPrice: 0, | ||
| contextSize: 128000, | ||
| maxOutput: undefined, | ||
| streaming: true, | ||
| vision: false, | ||
| tools: true, | ||
| jsonOutput: true, | ||
| }, | ||
| ], | ||
| }, | ||
| { | ||
| id: "glm-4-5-air", | ||
| name: "GLM-4.5 Air", | ||
| description: "Zhipu AI's lightweight GLM-4.5 Air model.", | ||
| family: "zhipu", | ||
| releasedAt: new Date("2025-01-01"), | ||
| publishedAt: new Date("2025-01-01"), | ||
| providers: [ | ||
| { | ||
| providerId: "nebius", | ||
| modelName: "THUDM/GLM-4.5-Air", | ||
| inputPrice: 0.2 / 1e6, | ||
| outputPrice: 1.2 / 1e6, | ||
| requestPrice: 0, | ||
| contextSize: 128000, | ||
| maxOutput: undefined, | ||
| streaming: true, | ||
| vision: false, | ||
| tools: true, | ||
| jsonOutput: true, | ||
| }, | ||
| ], | ||
| }, | ||
| ] as const satisfies ModelDefinition[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align DeepSeek V3 (0324) description year with releasedAt/publishedAt
Description says “March 2024 version” but
releasedAt/publishedAtare2025-03-24. One of these is likely off by a year; please align description and dates so downstream consumers don’t get confused when sorting/filtering by release date.🤖 Prompt for AI Agents