Add Z.AI provider support for GLM-5 (#938)

This commit is contained in:
Reid
2026-03-12 03:43:32 -07:00
committed by GitHub
parent 5d9d17bf71
commit e2eb340c04
3 changed files with 47 additions and 2 deletions
+21 -1
View File
@@ -238,6 +238,26 @@
"can_list_models": false
}
},
{
"id": "zai",
"aliases": [
"bigmodel"
],
"protocol": "open_ai_completions",
"default_base_url": "https://api.z.ai/api/paas/v4",
"api_key_env": "ZAI_API_KEY",
"api_key_required": true,
"model_env": "ZAI_MODEL",
"default_model": "glm-5",
"description": "Z.AI GLM inference API",
"setup": {
"kind": "api_key",
"secret_name": "llm_zai_api_key",
"key_url": "https://z.ai/manage-apikey/apikey-list",
"display_name": "Z.AI",
"can_list_models": false
}
},
{
"id": "cerebras",
"aliases": [],
@@ -382,4 +402,4 @@
"can_list_models": false
}
}
]
]