Model specifications
- Context
- 204,800 tokens
- Maximum output
- 131,072 tokens
- Architecture
- text->text
- Tokenizer
- Other
- Knowledge cutoff
- Not provided
- Moderated
- No
Complete pricing
Synchronized OpenRouter rates. Token prices are shown per one million tokens.
- Input
- $0.54 per 1M tokens
- Output
- $1.98 per 1M tokens
- Cache read
- $0.099 per 1M tokens
Model configuration
Default parameters
temperature- 1
top_p- 0.95
Reasoning
- Reasoning required
- No
- Default parameters
- Yes
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.7","messages":[{"role":"user","content":"Hello!"}]}'Input → Output
Yes
Supported API parameters
frequency_penaltyinclude_reasoninglogit_biasmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_atop_ktop_p7 providers
Checked: October 19, 2026
Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.
DeepInfra
fp4- Context
- 203K
- Maximum output
- 131K
- Input
- $0.32
- Output
- $1.4
- Cache read
- $0.064
- Cache write
- Not provided
DeepInfra
fp4- Context
- 203K
- Maximum output
- 131K
- Input
- $0.4
- Output
- $1.75
- Cache read
- $0.08
- Cache write
- Not provided
Venice
fp4- Context
- 198K
- Maximum output
- 16K
- Input
- $0.4004
- Output
- $1.9292
- Cache read
- $0.0801
- Cache write
- Not provided
Novita
fp8- Context
- 205K
- Maximum output
- 131K
- Input
- $0.54
- Output
- $1.98
- Cache read
- $0.099
- Cache write
- Not provided
- Context
- 200K
- Maximum output
- 128K
- Input
- $0.6
- Output
- $2.2
- Cache read
- Not provided
- Cache write
- Not provided
Z.AI
fp4- Context
- 203K
- Maximum output
- 131K
- Input
- $0.6
- Output
- $2.2
- Cache read
- $0.11
- Cache write
- Not provided
Mancer 2
fp4- Context
- 131K
- Maximum output
- 118K
- Input
- $0.7
- Output
- $2.5
- Cache read
- Not provided
- Cache write
- Not provided