- Model
anthropic/claude-haiku-4.5- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- 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": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "anthropic/claude-haiku-4.5",
"name": "Anthropic: 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": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}