- Model
~anthropic/claude-opus-latest- Provider
openrouter- API
openai-completions- Base URL
https://openrouter.ai/api/v1- Input
- text, image
- Reasoning
- Yes
- Context window
- 1,000,000
- Max tokens
- 128,000
- Cost / million input
- $5
- Cost / million output
- $25
- Cost / million cache read
- $0.5
- Cost / million cache write
- $6.25
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "~anthropic/claude-opus-latest",
"name": "Anthropic: Claude Opus Latest",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 128000,
"cost": {
"input": 5,
"output": 25,
"cacheRead": 0.5,
"cacheWrite": 6.25
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}