- Model
claude-opus-4-20250514- Provider
anthropic- API
anthropic-messages- Base URL
https://api.anthropic.com- 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": {
"anthropic": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "claude-opus-4-20250514",
"name": "Claude Opus 4",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 200000,
"maxTokens": 32000,
"cost": {
"input": 15,
"output": 75,
"cacheRead": 1.5,
"cacheWrite": 18.75
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://api.anthropic.com"
}
}
}