- Model
anthropic/claude-3-haiku- Provider
vercel-ai-gateway- API
anthropic-messages- Base URL
https://ai-gateway.vercel.sh- Input
- text, image
- Reasoning
- No
- Context window
- 200,000
- Max tokens
- 4,096
- Cost / million input
- $0.25
- Cost / million output
- $1.25
- Cost / million cache read
- $0.03
- Cost / million cache write
- $0.3
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "anthropic/claude-3-haiku",
"name": "Claude 3 Haiku",
"reasoning": false,
"input": [
"text",
"image"
],
"contextWindow": 200000,
"maxTokens": 4096,
"cost": {
"input": 0.25,
"output": 1.25,
"cacheRead": 0.03,
"cacheWrite": 0.3
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}