- Model
z-ai/glm-4.5-air- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text
- Reasoning
- Yes
- Context window
- 131,072
- Max tokens
- 98,304
- Cost / million input
- $0.13
- Cost / million output
- $0.85
- Cost / million cache read
- $0.025
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "z-ai/glm-4.5-air",
"name": "Z.ai: GLM 4.5 Air",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 131072,
"maxTokens": 98304,
"cost": {
"input": 0.13,
"output": 0.85,
"cacheRead": 0.024999999999999998,
"cacheWrite": 0
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}