- Model
claude-opus-4-5- Provider
opencode- API
anthropic-messages- Base URL
https://opencode.ai/zen- Input
- text, image
- Reasoning
- Yes
- Context window
- 200,000
- Max tokens
- 64,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": {
"opencode": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "claude-opus-4-5",
"name": "Claude Opus 4.5",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 200000,
"maxTokens": 64000,
"cost": {
"input": 5,
"output": 25,
"cacheRead": 0.5,
"cacheWrite": 6.25
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://opencode.ai/zen"
}
}
}