Claude Haiku 4.5

Model details

Claude Haiku 4.5

Model
anthropic/claude-haiku-4.5
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text, image
Reasoning
Yes
Context window
200,000
Max tokens
64,000
Cost / million input
$1
Cost / million output
$5
Cost / million cache read
$0.1
Cost / million cache write
$1.25
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "anthropic/claude-haiku-4.5",
          "name": "Claude Haiku 4.5",
          "reasoning": true,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 200000,
          "maxTokens": 64000,
          "cost": {
            "input": 1,
            "output": 5,
            "cacheRead": 0.09999999999999999,
            "cacheWrite": 1.25
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}