Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
GLM 5 - Model - OpenSmartRoute
Modelv1.0.0
GLM 5
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on l
Reference model card from the OpenRouter listing - model z-ai/glm-5. Prices are per million tokens as listed; ratings and installs below are from this marketplace.
GLM 5
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...
Facts
Vendor
Z.ai
Context window
204,800 tokens
Max output
128,000 tokens
Input price
$0.60 / 1M tokens
Output price
$1.92 / 1M tokens
Input
text
Output
text
Tool calling
yes
Structured outputs
yes
Reasoning
yes
Open weights
zai-org/GLM-5
Endpoint: https://openrouter.ai/api/v1 (OpenAI-compatible), model z-ai/glm-5
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - nothing else to configure
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
# or pin it on the OpenAI-compatible endpoint: {"model": "model-z-ai-glm-5", ...}
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
model-z-ai-glm-5.ocm.jsonjson
{
"ocm": "1",
"id": "model-z-ai-glm-5",
"kind": "llm",
"name": "GLM 5",
"description": "GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...",
"publisher": "Z.ai",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"llm",
"z-ai",
"openrouter",
"open-weights",
"reasoning",
"tool-calling",
"models"
],
"languages": [
"en"
],
"modalities": [
"text"
],
"supports_tools": true,
"supports_streaming": true,
"context_window": 204800
},
"quality_prior": 0.6,
"examples": [
"GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading..."
],
"primary": false,
"metadata": {
"source": {
"provider": "models",
"ref": "1770829182",
"url": "https://openrouter.ai/z-ai/glm-5",
"key": "z-ai/glm-5",
"catalogue": "https://openrouter.ai/api/v1"
},
"model": "z-ai/glm-5",
"pricing": {
"input_usd_per_1m": 0.6,
"output_usd_per_1m": 1.92,
"cache_read_usd_per_1m": 0.12
},
"max_output_tokens": 128000,
"output_modalities": [
"text"
],
"hugging_face_id": "zai-org/GLM-5",
"reasoning": true,
"created": 1770829182,
"benchmarks": {
"hub_trending": 0,
"hub_downloads": 56466,
"hub_downloads_total": 1352343,
"hub_likes": 2120
}
},
"cost": {
"usd_per_1k_tokens": 0.00126
},
"endpoints": [
{
"protocol": "openai",
"url": "https://openrouter.ai/api/v1"
}
]
}
Fetch it by URL: GET /api/v1/registry/model-z-ai-glm-5/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.