- Model
zai-org/GLM-4.5-Air- Provider
huggingface- API
openai-completions- Base URL
https://router.huggingface.co/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
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"huggingface": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "zai-org/GLM-4.5-Air",
"name": "GLM-4.5-Air",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 131072,
"maxTokens": 98304,
"cost": {
"input": 0.13,
"output": 0.85,
"cacheRead": 0,
"cacheWrite": 0
},
"compat": {
"supportsDeveloperRole": false
}
}
],
"api": "openai-completions",
"baseUrl": "https://router.huggingface.co/v1"
}
}
}