Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export default {
providerId: 'zai-coding',
recommendedModels: [
{
id: 'glm-5.1',
name: 'GLM-5.1',
context_length: 200000,
id: 'glm-5.2',
name: 'GLM-5.2',
context_length: 1000000,
max_completion_tokens: 131072,
},
],
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/lib/ai-gateway/providers/zai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export function isGlmModel(model: string) {
return model.includes('glm');
}

export const GLM_CURRENT_MODEL_ID = 'z-ai/glm-5.1';
export const GLM_CURRENT_MODEL_ID = 'z-ai/glm-5.2';
1 change: 1 addition & 0 deletions apps/web/src/tests/openrouter-models-config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ describe('OpenRouter Models Config', () => {
'google/gemini-3.1-pro-preview',
'anthropic/claude-sonnet-4.6',
'openai/gpt-5.5',
'z-ai/glm-5.2',
];

expectedModels.forEach(model => {
Expand Down