- Model
zai/glm-5.2-fast- Provider
vercel-ai-gateway- API
anthropic-messages- Base URL
https://ai-gateway.vercel.sh- Input
- text
- Reasoning
- Yes
- Context window
- 1,000,000
- Max tokens
- 128,000
- Cost / million input
- $3
- Cost / million output
- $10.25
- Cost / million cache read
- $0.5
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "zai/glm-5.2-fast",
"name": "GLM 5.2 Fast",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1000000,
"maxTokens": 128000,
"cost": {
"input": 3,
"output": 10.25,
"cacheRead": 0.5,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}