Model specifications
- Context
- 131,072 tokens
- Maximum output
- 98,304 tokens
- Architecture
- text->text
- Tokenizer
- Other
- Knowledge cutoff
- 2024-12-31
- Moderated
- No
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $0.6 per 1M tokens
- Output
- $2.2 per 1M tokens
- Cache read
- $0.11 per 1M tokens
Model configuration
Default parameters
temperature- 0.75
Reasoning
- Reasoning required
- No
- Default parameters
- No
Quick start
Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.
curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-4.5","messages":[{"role":"user","content":"Hello!"}]}'Input → Output
No
Supported API parameters
include_reasoningmax_tokensreasoningresponse_formattemperaturetool_choicetoolstop_ktop_p1 Provider
Checked: September 7, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
Z.AI
fp8- Context
- 131K
- Maximum output
- 98K
- Input
- $0.6
- Output
- $2.2
- Cache read
- $0.11
- Cache write
- Not provided