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 4.6 - Model - OpenSmartRoute
Modelv1.0.0
GLM 4.6
Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex.
Reference model card from the OpenRouter listing - model z-ai/glm-4.6. Prices are per million tokens as listed; ratings and installs below are from this marketplace.
GLM 4.6
Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex...
Facts
Vendor
Z.ai
Context window
204,800 tokens
Max output
16,384 tokens
Input price
$0.43 / 1M tokens
Output price
$1.75 / 1M tokens
Input
text
Output
text
Tool calling
yes
Structured outputs
yes
Reasoning
yes
Open weights
zai-org/GLM-4.6
Endpoint: https://openrouter.ai/api/v1 (OpenAI-compatible), model z-ai/glm-4.6
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-4-6", ...}
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-4-6.ocm.jsonjson
{
"ocm": "1",
"id": "model-z-ai-glm-4-6",
"kind": "llm",
"name": "GLM 4.6",
"description": "Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex...",
"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": [
"Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex..."
],
"primary": false,
"metadata": {
"source": {
"provider": "models",
"ref": "1759235576",
"url": "https://openrouter.ai/z-ai/glm-4.6",
"key": "z-ai/glm-4.6",
"catalogue": "https://openrouter.ai/api/v1"
},
"model": "z-ai/glm-4.6",
"pricing": {
"input_usd_per_1m": 0.43,
"output_usd_per_1m": 1.75,
"cache_read_usd_per_1m": 0.08
},
"max_output_tokens": 16384,
"output_modalities": [
"text"
],
"hugging_face_id": "zai-org/GLM-4.6",
"reasoning": true,
"created": 1759235576,
"benchmarks": {
"coding_index": 45.8,
"hub_likes": 1235,
"hub_trending": 1,
"hub_downloads": 19026,
"hub_downloads_total": 800703
}
},
"cost": {
"usd_per_1k_tokens": 0.00109
},
"endpoints": [
{
"protocol": "openai",
"url": "https://openrouter.ai/api/v1"
}
]
}
Fetch it by URL: GET /api/v1/registry/model-z-ai-glm-4-6/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.