Claude Haiku 3.5

Model details

Claude Haiku 3.5

Model
claude-3-5-haiku-20241022
Provider
anthropic
API
anthropic-messages
Base URL
https://api.anthropic.com
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": {
    "anthropic": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "claude-3-5-haiku-20241022",
          "name": "Claude Haiku 3.5",
          "reasoning": false,
          "input": [
            "text",
            "image"
          ],
          "contextWindow": 200000,
          "maxTokens": 8192,
          "cost": {
            "input": 0.8,
            "output": 4,
            "cacheRead": 0.08,
            "cacheWrite": 1
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://api.anthropic.com"
    }
  }
}