Claude Haiku 3

Model details

Claude Haiku 3

Model
claude-3-haiku-20240307
Provider
anthropic
API
anthropic-messages
Base URL
https://api.anthropic.com
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": {
    "anthropic": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "claude-3-haiku-20240307",
          "name": "Claude Haiku 3",
          "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://api.anthropic.com"
    }
  }
}