# Claude Haiku 5.5 API

The fastest, cheapest Claude. Good for quick questions and high volume.

Canonical page: https://routerhub.si/models/claude-haiku-5-5

- ID: `claude-haiku-5-5`
- Details and setup: https://routerhub.si/models/claude-haiku-5-5
- Provider: Anthropic
- Variant: Standard
- Protocols: messages (Anthropic-compatible Messages API, https://routerhub.si/v1/messages)
- Availability: preview
- Input per million tokens: $0.0179375
- Output per million tokens: $0.0896875
- Cached input per million tokens (cache hit): $0.00179375
- Cache write per million tokens: $0.022421875
- Context limit: 1,000,000 tokens
- Maximum output: 128,000 tokens
- Compatible tools: OpenCode, Claude Code, VS Code + Continue, VS Code + Cline, Claude Desktop, cURL / Python

## cURL

```bash
curl --connect-timeout 30 --max-time 600 https://routerhub.si/v1/messages \
  -H "x-api-key: $ROUTERHUB_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-haiku-5-5","max_tokens":256,"messages":[{"role":"user","content":"Write a short noir scene set in a lighthouse."}]}'
```

## Python

```python
import os
from anthropic import Anthropic

client = Anthropic(
    api_key=os.environ["ROUTERHUB_API_KEY"],
    base_url="https://routerhub.si",
    timeout=600.0,
    max_retries=0,
)
response = client.messages.create(
    model="claude-haiku-5-5",
    max_tokens=256,
    messages=[{"role": "user", "content": "Write a short noir scene set in a lighthouse."}],
)
print(response.content)
```

## Setup guides

- OpenCode: https://routerhub.si/guides/opencode
- Claude Code: https://routerhub.si/guides/claude-code
- VS Code + Continue: https://routerhub.si/guides/vscode-continue
- VS Code + Cline: https://routerhub.si/guides/vscode-cline (If the model is in Cline's Anthropic model picker.)
- Claude Desktop: https://routerhub.si/docs/tools/claude-desktop
- cURL / Python: https://routerhub.si/docs/tools/api-request
