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.1 - Model - OpenSmartRoute
Modelv1.0.0
GLM 5.1
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work
Reference model card from the OpenRouter listing - model z-ai/glm-5.1. Prices are per million tokens as listed; ratings and installs below are from this marketplace.
GLM 5.1
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
Facts
Vendor
Z.ai
Context window
204,800 tokens
Max output
128,000 tokens
Input price
$0.97 / 1M tokens
Output price
$3.04 / 1M tokens
Input
text
Output
text
Tool calling
yes
Structured outputs
yes
Reasoning
yes
Open weights
zai-org/GLM-5.1
Endpoint: https://openrouter.ai/api/v1 (OpenAI-compatible), model z-ai/glm-5.1
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-1", ...}
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-1.ocm.jsonjson
{
"ocm": "1",
"id": "model-z-ai-glm-5-1",
"kind": "llm",
"name": "GLM 5.1",
"description": "GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...",
"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.264,
"examples": [
"GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on..."
],
"primary": false,
"metadata": {
"source": {
"provider": "models",
"ref": "1775578025",
"url": "https://openrouter.ai/z-ai/glm-5.1",
"key": "z-ai/glm-5.1",
"catalogue": "https://openrouter.ai/api/v1"
},
"model": "z-ai/glm-5.1",
"pricing": {
"input_usd_per_1m": 0.966,
"output_usd_per_1m": 3.036,
"cache_read_usd_per_1m": 0.1794
},
"max_output_tokens": 128000,
"output_modalities": [
"text"
],
"hugging_face_id": "zai-org/GLM-5.1",
"reasoning": true,
"created": 1775578025,
"benchmarks": {
"intelligence_index": 26.4,
"coding_index": 55.8,
"agentic_index": 25.2,
"hub_downloads": 88838,
"hub_downloads_total": 756107,
"hub_likes": 1841,
"hub_trending": 0,
"osr_index": 35.4,
"osr_coverage": 0.4
}
},
"cost": {
"usd_per_1k_tokens": 0.002001
},
"endpoints": [
{
"protocol": "openai",
"url": "https://openrouter.ai/api/v1"
}
]
}
Fetch it by URL: GET /api/v1/registry/model-z-ai-glm-5-1/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.