- Model
anthropic/claude-3.5-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
- 8,192
- Cost / million input
- $0.8
- Cost / million output
- $4
- Cost / million cache read
- $0.08
- Cost / million cache write
- $1
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "anthropic/claude-3.5-haiku",
"name": "Claude 3.5 Haiku",
"reasoning": false,
"input": [
"text",
"image"
],
"contextWindow": 200000,
"maxTokens": 8192,
"cost": {
"input": 0.7999999999999999,
"output": 4,
"cacheRead": 0.08,
"cacheWrite": 1
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}