- Model
z-ai/glm-5-turbo- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text
- Reasoning
- Yes
- Context window
- 202,752
- Max tokens
- 131,072
- Cost / million input
- $1.2
- Cost / million output
- $4
- Cost / million cache read
- $0.24
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "z-ai/glm-5-turbo",
"name": "Z.ai: GLM 5 Turbo",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 202752,
"maxTokens": 131072,
"cost": {
"input": 1.2,
"output": 4,
"cacheRead": 0.24,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}