Skip to content

Commit 61fa160

Browse files
committed
feat: add GLM 4.5 Air models to OpenRouter reasoning budget models
- Added z-ai/glm-4.5-air and z-ai/glm-4.5-air:free to OPEN_ROUTER_REASONING_BUDGET_MODELS - These models support reasoning parameters as confirmed by OpenRouter API - Fixes issue where GLM 4.5 Air models were not appearing in chat interface Fixes #8313
1 parent bf1aafa commit 61fa160

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/types/src/providers/openrouter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
8686
"google/gemini-2.5-flash-preview-05-20",
8787
"google/gemini-2.5-flash",
8888
"google/gemini-2.5-flash-lite-preview-06-17",
89+
"z-ai/glm-4.5-air",
90+
"z-ai/glm-4.5-air:free",
8991
// Also include the models that require the reasoning budget to be enabled
9092
// even though `OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS` takes precedence.
9193
"anthropic/claude-3.7-sonnet:thinking",

0 commit comments

Comments
 (0)