- Model
zai/glm-4.5-air- Provider
vercel-ai-gateway- API
anthropic-messages- Base URL
https://ai-gateway.vercel.sh- Input
- text
- Reasoning
- Yes
- Context window
- 128,000
- Max tokens
- 96,000
- Cost / million input
- $0.2
- Cost / million output
- $1.1
- Cost / million cache read
- $0.03
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "zai/glm-4.5-air",
"name": "GLM 4.5 Air",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 128000,
"maxTokens": 96000,
"cost": {
"input": 0.19999999999999998,
"output": 1.1,
"cacheRead": 0.03,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}