Skip to content

feat(models): add Nebius & Zhipu; align pricing & entries - #1289

Closed
steebchen wants to merge 4 commits into
mainfrom
terragon/adapt-nebius-models-prices-474w7f
Closed

steebchen wants to merge 4 commits into
mainfrom
terragon/adapt-nebius-models-prices-474w7f

Conversation

@steebchen

@steebchen steebchen commented Dec 2, 2025

Copy link
Copy Markdown
Member

Summary

  • Integrate Nebius and Zhipu model entries across the catalog, align pricing with official sources, and update several existing variants
  • Add nebiusModels and zhipuModels data sets and export them via the global models registry

Changes

Core Registry

  • Import zhipuModels in packages/models/src/models.ts
  • Extend the main models array with ...nebiusModels and ...zhipuModels

New Nebius models

  • Add nebius.ts containing:
    • GPT-OSS 120B
      • id: gpt-oss-120b
      • provider: nebius -> modelName: nvidia/gpt-oss-120b
      • pricing: inputPrice 0.15 / 1e6, outputPrice 0.6 / 1e6
    • GPT-OSS 20B
      • id: gpt-oss-20b
      • provider: nebius -> modelName: nvidia/gpt-oss-20b
      • pricing: inputPrice 0.05 / 1e6, outputPrice 0.2 / 1e6

New Zhipu models

  • Add zhipu.ts containing:
    • GLM-4.5
      • id: glm-4-5
      • provider: nebius -> modelName: THUDM/GLM-4.5
      • pricing: inputPrice 0.6 / 1e6, outputPrice 2.2 / 1e6
    • GLM-4.5 Air
      • id: glm-4-5-air
      • provider: nebius -> modelName: THUDM/GLM-4.5-Air
      • pricing: inputPrice 0.2 / 1e6, outputPrice 1.2 / 1e6

Model price updates (alignments and new variants)

  • Alibaba:
    • Qwen/Qwen3-235B-A22B-Thinking-2507: outputPrice updated to 0.8 / 1e6
    • Qwen2.5-Coder-7B-Instruct: modelName changed and pricing updated to input 0.03 / 1e6, output 0.09 / 1e6
  • DeepSeek:
    • Remove unstable flag from existing entry
    • Add DeepSeek-V3-0324 variant with Nebius pricing (input 0.5 / 1e6, output 1.5 / 1e6) and appropriate features
  • Google:
    • Add Gemma-2-2b-it and Gemma-2-9b-it under Nebius with pricing (input 0.02/1e6 & 0.03/1e6; output 0.06/1e6 & 0.09/1e6 respectively) and common traits
  • Mistral:
    • Add Devstral Small 2505 with Nebius pricing (input 0.08 / 1e6, output 0.24 / 1e6, context 128k, streaming, tools, jsonOutput)
  • NousResearch:
    • Rename Hermes-3-Llama-405B to Hermes-3-Llama-3.1-405B
    • Add Hermes-4-405B and Hermes-4-70B with Nebius pricing and capabilities (context, streaming, jsonOutput, etc.)
  • OpenAI:
    • Add Nebius-backed entries under the OpenAI provider:
      • gpt-oss-120b and gpt-oss-20b with Nebius pricing (inputPrice 0.15 / 1e6, outputPrice 0.6 / 1e6; 0.05 / 1e6, 0.2 / 1e6)

New files

  • nebius.ts: Nebius model definitions
  • zhipu.ts: Zhipu model definitions

Test plan

  • Build project to ensure type correctness
  • Verify new Nebius and Zhipu entries appear in the catalog
  • Validate pricing aligns with official price sources for Nebius entries
  • Confirm Alibaba/DeepSeek/Google/Mistral/NousResearch updates compile and reflect intended pricing

🌿 Generated by Terry


ℹ️ Tag @terragon-labs to ask questions and address PR feedback

📎 Task: https://www.terragonlabs.com/task/51954b11-ee99-4b33-885d-4d27750ca923

Summary by CodeRabbit

  • New Features

    • Expanded model catalog with Zhipu GLM-4.5 (and Air), Google Gemma IT variants, Mistral Devstral Small, DeepSeek V3 (0324), and Nous Research Hermes 4 series.
    • Added Nebius provider support across multiple model families and OpenAI OSS models.
  • Updates

    • Updated pricing and model identifiers/specs for select Qwen and Hermes entries.

✏️ Tip: You can customize this high-level summary in your review settings.

…usresearch, and zhipu

- Added new model definitions in nebius and zhipu packages
- Introduced new google gemma-2 variants
- Added devstral-small model to mistral
- Updated nousresearch models and added new Hermes 4 models
- Updated pricing and model details in alibaba and deepseek
- Incorporated new models into main models export array

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title Adapt Nebius Models Using Official Price Source and Add Zhipu feat(models): add Nebius & Zhipu Dec 2, 2025
@coderabbitai

coderabbitai Bot commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

Adds new model definitions (Zhipu GLM-4.5, Mistral Devstral, Google Gemma-2 IT, NousResearch Hermes 4, DeepSeek V3 variant), updates provider pricing/metadata for Alibaba and OpenAI entries, and integrates the new zhipuModels collection into the public models export.

Changes

Cohort / File(s) Summary
Zhipu models integration
packages/models/src/models.ts, packages/models/src/models/zhipu.ts
New zhipu.ts exports zhipuModels with two GLM-4.5 model definitions; models.ts now imports and spreads ...zhipuModels into the exported models array.
Alibaba pricing & metadata
packages/models/src/models/alibaba.ts
Updated provider entries: qwen3-235b-a22b-thinking-2507 outputPrice 0.6→0.8 per 1e6; qwen25-coder-7b modelName and pricing changed (modelName → "Qwen/Qwen2.5-Coder-7B-Instruct", inputPrice 0.01→0.03, outputPrice 0.03→0.09 per 1e6).
DeepSeek model updates
packages/models/src/models/deepseek.ts
Removed stability and deactivatedAt from existing DeepSeek-V3 provider; added new DeepSeek V3 (0324) model entry with nebius provider, metadata, and pricing.
Google Gemma models
packages/models/src/models/google.ts
Added gemma-2-2b-it and gemma-2-9b-it entries (nebius provider) with pricing, contextSize, and capability flags.
Mistral Devstral model
packages/models/src/models/mistral.ts
Added devstral-small-2505 (Devstral Small 2505) entry with nebius provider, pricing (0.08/0.24 per 1e6), contextSize 128k, streaming/tools/jsonOutput enabled.
NousResearch Hermes
packages/models/src/models/nousresearch.ts
Hermes-3 modelName updated to Hermes-3-Llama-3.1-405B and deactivatedAt removed; added hermes-4-405b and hermes-4-70b entries with provider/pricing/context/capability metadata.
OpenAI OSS Nebius
packages/models/src/models/openai.ts
Added nebius provider entries for gpt-oss-120b and gpt-oss-20b mapping to nvidia/... models with pricing (0.15/0.6 and 0.05/0.2 per 1e6), contextSize 128k, streaming enabled.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20–30 minutes

  • Pay attention to: provider object shapes and required fields in zhipu.ts, deepseek.ts, and nousresearch.ts.
  • Verify pricing units and consistency across Alibaba/OpenAI changes.
  • Check models.ts export ordering and that ...zhipuModels is correctly typed and included.

Possibly related PRs

Suggested reviewers

  • smakosh
  • kmk142789

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: adding Nebius and Zhipu models while aligning pricing and model entries across multiple model files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch terragon/adapt-nebius-models-prices-474w7f

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0e30142 and 371bd70.

📒 Files selected for processing (8)
  • packages/models/src/models.ts (2 hunks)
  • packages/models/src/models/alibaba.ts (2 hunks)
  • packages/models/src/models/deepseek.ts (1 hunks)
  • packages/models/src/models/google.ts (1 hunks)
  • packages/models/src/models/mistral.ts (1 hunks)
  • packages/models/src/models/nebius.ts (1 hunks)
  • packages/models/src/models/nousresearch.ts (2 hunks)
  • packages/models/src/models/zhipu.ts (1 hunks)
🧰 Additional context used
📓 Path-based instructions (5)
**/*.{js,ts,jsx,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{js,ts,jsx,tsx}: Always use top-level import, never use require or dynamic imports
No unnecessary code comments

Files:

  • packages/models/src/models/google.ts
  • packages/models/src/models/nebius.ts
  • packages/models/src/models/deepseek.ts
  • packages/models/src/models.ts
  • packages/models/src/models/zhipu.ts
  • packages/models/src/models/mistral.ts
  • packages/models/src/models/nousresearch.ts
  • packages/models/src/models/alibaba.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (AGENTS.md)

Use cookies for user-settings which are not saved in the database to ensure SSR works

**/*.{ts,tsx,js,jsx}: Always use tabs for indentation
Always use top-level import, never use require or dynamic imports
Avoid unnecessary code comments

Files:

  • packages/models/src/models/google.ts
  • packages/models/src/models/nebius.ts
  • packages/models/src/models/deepseek.ts
  • packages/models/src/models.ts
  • packages/models/src/models/zhipu.ts
  • packages/models/src/models/mistral.ts
  • packages/models/src/models/nousresearch.ts
  • packages/models/src/models/alibaba.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx}: Use Drizzle ORM with latest object syntax for database operations
For database reads: Use db().query.<table>.findMany() or db().query.<table>.findFirst()

Never use any or as any in TypeScript code unless absolutely necessary

Files:

  • packages/models/src/models/google.ts
  • packages/models/src/models/nebius.ts
  • packages/models/src/models/deepseek.ts
  • packages/models/src/models.ts
  • packages/models/src/models/zhipu.ts
  • packages/models/src/models/mistral.ts
  • packages/models/src/models/nousresearch.ts
  • packages/models/src/models/alibaba.ts
**/*.ts

📄 CodeRabbit inference engine (CLAUDE.md)

For database reads, use db().query.<table>.findMany() or db().query.<table>.findFirst() with Drizzle ORM

Files:

  • packages/models/src/models/google.ts
  • packages/models/src/models/nebius.ts
  • packages/models/src/models/deepseek.ts
  • packages/models/src/models.ts
  • packages/models/src/models/zhipu.ts
  • packages/models/src/models/mistral.ts
  • packages/models/src/models/nousresearch.ts
  • packages/models/src/models/alibaba.ts
packages/**/*.ts

📄 CodeRabbit inference engine (CLAUDE.md)

Use DRY principles for code reuse across the monorepo with shared packages

Files:

  • packages/models/src/models/google.ts
  • packages/models/src/models/nebius.ts
  • packages/models/src/models/deepseek.ts
  • packages/models/src/models.ts
  • packages/models/src/models/zhipu.ts
  • packages/models/src/models/mistral.ts
  • packages/models/src/models/nousresearch.ts
  • packages/models/src/models/alibaba.ts
🧬 Code graph analysis (2)
packages/models/src/models/nebius.ts (1)
packages/models/src/models.ts (1)
  • ModelDefinition (163-223)
packages/models/src/models/zhipu.ts (1)
packages/models/src/models.ts (1)
  • ModelDefinition (163-223)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: test / run
  • GitHub Check: build / run
  • GitHub Check: lint / run
  • GitHub Check: e2e-shards (3)
  • GitHub Check: e2e-shards (1)
  • GitHub Check: e2e-shards (4)
  • GitHub Check: e2e-shards (5)
  • GitHub Check: e2e-shards (2)
  • GitHub Check: autofix
🔇 Additional comments (8)
packages/models/src/models/alibaba.ts (2)

245-259: Qwen3 235B Thinking Nebius pricing update looks consistent

Raising outputPrice to 0.8 / 1e6 for the reasoning “Thinking” variant matches the intent to align with the new Nebius price sheet. No structural issues.


341-345: Updated Qwen2.5 Coder 7B Nebius mapping/pricing is structurally sound

Switching to Qwen/Qwen2.5-Coder-7B-Instruct with adjusted inputPrice/outputPrice slots into the existing model definition cleanly; types and flags remain consistent with other Nebius-backed Qwen entries.

packages/models/src/models/mistral.ts (1)

97-120: Devstral Small 2505 Nebius entry fits existing Mistral model schema

The new devstral-small-2505 definition is structurally consistent (pricing, contextSize, tools/jsonOutput flags) with other coding-focused models and integrates cleanly into mistralModels.

packages/models/src/models.ts (1)

11-18: Global models registry correctly integrates Nebius and Zhipu model groups

Importing nebiusModels and zhipuModels and appending them to the models array via spread keeps the aggregation pattern intact and ensures the new providers are exposed through the central catalog without type changes.

Also applies to: 242-243

packages/models/src/models/google.ts (1)

1142-1187: Nebius Gemma 2 IT variants are well-formed and non-conflicting

The new gemma-2-2b-it and gemma-2-9b-it entries introduce Nebius-backed Gemma 2 models with sensible pricing, 8K context, and capability flags matching other small IT variants. IDs don’t collide with the existing gemma2-9b-it (Groq) definition.

packages/models/src/models/nebius.ts (1)

1-50: Nebius GPT-OSS model definitions align with shared ModelDefinition schema

gpt-oss-120b and gpt-oss-20b use the expected family: "nebius", providerId: "nebius", and pricing/context/flags layout, and the as const satisfies ModelDefinition[] pattern matches the rest of the catalog.

packages/models/src/models/zhipu.ts (1)

1-50: Zhipu GLM-4.5 variants via Nebius are correctly modeled

The glm-4-5 and glm-4-5-air entries cleanly represent Zhipu family models served by the nebius provider, with coherent pricing, 128K context, and appropriate tools/jsonOutput flags, and conform to ModelDefinition.

packages/models/src/models/nousresearch.ts (1)

5-72: Hermes 3 rename and Hermes 4 Nebius additions are consistent and type-safe

Updating Hermes 3 to NousResearch/Hermes-3-Llama-3.1-405B plus adding hermes-4-405b and hermes-4-70b as separate nousresearch family models with Nebius providers fits the existing schema and pricing conventions; provider blocks are complete (context, streaming, jsonOutput) and satisfy ModelDefinition.

Comment on lines +42 to +47
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"),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Align DeepSeek V3 (0324) description year with releasedAt/publishedAt

Description says “March 2024 version” but releasedAt/publishedAt are 2025-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
In packages/models/src/models/deepseek.ts around lines 42 to 47, the description
string says "March 2024 version" while releasedAt and publishedAt are set to
2025-03-24; update the description to match the 2025 date (e.g., "March 2025
version of DeepSeek V3...") so the textual metadata aligns with
releasedAt/publishedAt and downstream sorting/filtering remains consistent.

…ouping

- Deleted the Nebius models file and removed its import and spreading from main models list.
- Added Nebius model definitions under openaiModels instead, consolidating model definitions.
- This streamlines the codebase by reducing separate Nebius grouping and integrating their models under openaiModels.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
@steebchen steebchen changed the title feat(models): add Nebius & Zhipu feat(models): add Nebius & Zhipu; align pricing & entries Dec 2, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 371bd70 and 2ecbe70.

📒 Files selected for processing (2)
  • packages/models/src/models.ts (2 hunks)
  • packages/models/src/models/openai.ts (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/models/src/models.ts
🧰 Additional context used
📓 Path-based instructions (5)
**/*.{js,ts,jsx,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{js,ts,jsx,tsx}: Always use top-level import, never use require or dynamic imports
No unnecessary code comments

Files:

  • packages/models/src/models/openai.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (AGENTS.md)

Use cookies for user-settings which are not saved in the database to ensure SSR works

**/*.{ts,tsx,js,jsx}: Always use tabs for indentation
Always use top-level import, never use require or dynamic imports
Avoid unnecessary code comments

Files:

  • packages/models/src/models/openai.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx}: Use Drizzle ORM with latest object syntax for database operations
For database reads: Use db().query.<table>.findMany() or db().query.<table>.findFirst()

Never use any or as any in TypeScript code unless absolutely necessary

Files:

  • packages/models/src/models/openai.ts
**/*.ts

📄 CodeRabbit inference engine (CLAUDE.md)

For database reads, use db().query.<table>.findMany() or db().query.<table>.findFirst() with Drizzle ORM

Files:

  • packages/models/src/models/openai.ts
packages/**/*.ts

📄 CodeRabbit inference engine (CLAUDE.md)

Use DRY principles for code reuse across the monorepo with shared packages

Files:

  • packages/models/src/models/openai.ts
🔇 Additional comments (1)
packages/models/src/models/openai.ts (1)

604-616: Pricing and structure are consistent.

The nebius provider entry follows the same pattern as the gpt-oss-120b entry above, with pricing correctly matching the PR objectives (0.05/1e6 input, 0.2/1e6 output). The capability differences mirror those in the 120B variant.

Comment on lines +551 to +563
{
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,
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

# Search for all Nebius provider entries to check consistency
rg -n 'providerId: "nebius"' packages/models/src/models/openai.ts

# Also check the full context around the gpt-oss-120b and gpt-oss-20b entries
cat -n packages/models/src/models/openai.ts | sed -n '514,618p'

Repository: theopenco/llmgateway

Length of output: 3195


🏁 Script executed:

# Check for reasoning field patterns across all providers to understand if omission is standard
rg -n 'reasoning:' packages/models/src/models/openai.ts | head -20

# Check if there are any other provider entries without reasoning field
rg -B 3 -A 3 'tools: false' packages/models/src/models/openai.ts

Repository: theopenco/llmgateway

Length of output: 2141


Add missing reasoning field to Nebius provider entries.

Both Nebius provider entries (lines 552 and 605) are missing the reasoning field, which is present in all other provider entries across the file. Based on the pattern in the codebase, the field should be explicitly set. Since the Nebius entries have tools: false and jsonOutput: false, and the model descriptions attribute reasoning capabilities specifically to Groq ("via Groq inference"), the reasoning field should be added and set to false for both Nebius entries at lines 551-563 and 604-616.

🤖 Prompt for AI Agents
In packages/models/src/models/openai.ts around lines 551 to 563, the Nebius
provider model entry is missing the standardized boolean "reasoning" field found
on other provider entries; add reasoning: false to this object (and likewise add
reasoning: false to the other Nebius entry at ~604-616) so both Nebius entries
explicitly include reasoning set to false to match the file's pattern and
reflect that these models do not support reasoning.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
packages/models/src/models/alibaba.ts (1)

334-355: Qwen2.5 Coder 7B Instruct mapping and pricing look good

Switching modelName to the ...-Instruct variant and bumping inputPrice/outputPrice to 0.03 / 1e6 and 0.09 / 1e6 is coherent with the larger 32B instruct entry and keeps the provider block internally consistent. If you want perfect UX alignment, you might optionally update the human‑readable name/description to mention “Instruct”, but it’s not required for correctness.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2ecbe70 and 9a4021d.

📒 Files selected for processing (1)
  • packages/models/src/models/alibaba.ts (2 hunks)
🧰 Additional context used
📓 Path-based instructions (5)
**/*.{js,ts,jsx,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{js,ts,jsx,tsx}: Always use top-level import, never use require or dynamic imports
No unnecessary code comments

Files:

  • packages/models/src/models/alibaba.ts
**/*.{ts,tsx,js,jsx}

📄 CodeRabbit inference engine (AGENTS.md)

Use cookies for user-settings which are not saved in the database to ensure SSR works

**/*.{ts,tsx,js,jsx}: Always use tabs for indentation
Always use top-level import, never use require or dynamic imports
Avoid unnecessary code comments

Files:

  • packages/models/src/models/alibaba.ts
**/*.{ts,tsx}

📄 CodeRabbit inference engine (AGENTS.md)

**/*.{ts,tsx}: Use Drizzle ORM with latest object syntax for database operations
For database reads: Use db().query.<table>.findMany() or db().query.<table>.findFirst()

Never use any or as any in TypeScript code unless absolutely necessary

Files:

  • packages/models/src/models/alibaba.ts
**/*.ts

📄 CodeRabbit inference engine (CLAUDE.md)

For database reads, use db().query.<table>.findMany() or db().query.<table>.findFirst() with Drizzle ORM

Files:

  • packages/models/src/models/alibaba.ts
packages/**/*.ts

📄 CodeRabbit inference engine (CLAUDE.md)

Use DRY principles for code reuse across the monorepo with shared packages

Files:

  • packages/models/src/models/alibaba.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
  • GitHub Check: test / run
  • GitHub Check: e2e-shards (4)
  • GitHub Check: e2e-shards (5)
  • GitHub Check: e2e-shards (3)
  • GitHub Check: e2e-shards (2)
  • GitHub Check: e2e-shards (1)
  • GitHub Check: autofix
  • GitHub Check: lint / run
  • GitHub Check: generate / run
  • GitHub Check: build / run
🔇 Additional comments (1)
packages/models/src/models/alibaba.ts (1)

238-259: Nebius pricing update for Qwen3 235B Thinking looks consistent

The updated outputPrice: 0.8 / 1e6 aligns with this being the more expensive reasoning variant relative to the instruct entry above; no issues from a schema or consistency standpoint.

Copilot AI review requested due to automatic review settings December 4, 2025 05:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR integrates Nebius and Zhipu model providers into the model catalog, adds new model variants across multiple providers, and updates pricing for several existing models to align with official sources.

Key Changes:

  • Adds Zhipu GLM-4.5 and GLM-4.5 Air models with Nebius provider support
  • Extends Nebius provider support to existing OpenAI GPT-OSS models and adds new model variants for DeepSeek, Google Gemma, Mistral, and NousResearch
  • Updates pricing and model names for Alibaba Qwen models to reflect current specifications

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/models/src/models/zhipu.ts Adds new Zhipu model family with GLM-4.5 and GLM-4.5 Air variants served via Nebius
packages/models/src/models/openai.ts Adds Nebius provider entries for GPT-OSS 120B and 20B models with corresponding pricing
packages/models/src/models/nousresearch.ts Corrects Hermes 3 model name and adds Hermes 4 405B and 70B variants with Nebius support
packages/models/src/models/mistral.ts Introduces Devstral Small 2505 coding model with Nebius provider configuration
packages/models/src/models/google.ts Adds Gemma 2 2B IT and 9B IT instruction-tuned models via Nebius provider
packages/models/src/models/deepseek.ts Removes unstable flag from DeepSeek V3 Nebius provider and adds V3-0324 variant
packages/models/src/models/alibaba.ts Updates output pricing for Qwen3-235B-A22B-Thinking and corrects model name/pricing for Qwen2.5-Coder-7B
packages/models/src/models.ts Imports and registers zhipuModels in the global models array

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +46 to +47
releasedAt: new Date("2025-03-24"),
publishedAt: new Date("2025-03-24"),

Copilot AI Dec 4, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description states "March 2024 version" but the releasedAt date is set to March 2025, creating an inconsistency. If this is truly a March 2024 version, the dates should be new Date("2024-03-24"). Please align the description and dates to reflect the correct release timeframe.

Suggested change
releasedAt: new Date("2025-03-24"),
publishedAt: new Date("2025-03-24"),
releasedAt: new Date("2024-03-24"),
publishedAt: new Date("2024-03-24"),

Copilot uses AI. Check for mistakes.
@steebchen steebchen closed this Dec 4, 2025
@steebchen
steebchen deleted the terragon/adapt-nebius-models-prices-474w7f branch December 4, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants