- Model
zai/glm-4.6v- Provider
vercel-ai-gateway- API
anthropic-messages- Base URL
https://ai-gateway.vercel.sh- Input
- text, image
- Reasoning
- Yes
- Context window
- 128,000
- Max tokens
- 24,000
- Cost / million input
- $0.3
- Cost / million output
- $0.9
- Cost / million cache read
- $0.05
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "zai/glm-4.6v",
"name": "GLM-4.6V",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 128000,
"maxTokens": 24000,
"cost": {
"input": 0.3,
"output": 0.8999999999999999,
"cacheRead": 0.049999999999999996,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}