- Model
anthropic/claude-opus-4.8-fast- 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
- $10
- Cost / million output
- $50
- Cost / million cache read
- $1
- Cost / million cache write
- $12.5
Model config JSON
{
"providers": {
"openrouter": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "anthropic/claude-opus-4.8-fast",
"name": "Anthropic: Claude Opus 4.8 (Fast)",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 128000,
"cost": {
"input": 10,
"output": 50,
"cacheRead": 1,
"cacheWrite": 12.5
}
}
],
"api": "openai-completions",
"baseUrl": "https://openrouter.ai/api/v1"
}
}
}