- Model
anthropic/claude-opus-4.1- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text, image
- Reasoning
- Yes
- Context window
- 200,000
- Max tokens
- 32,000
- Cost / million input
- $15
- Cost / million output
- $75
- Cost / million cache read
- $1.5
- Cost / million cache write
- $18.75
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "anthropic/claude-opus-4.1",
"name": "Anthropic: Claude Opus 4.1",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 200000,
"maxTokens": 32000,
"cost": {
"input": 15,
"output": 75,
"cacheRead": 1.5,
"cacheWrite": 18.75
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}