- Model
qwen3.7-max- Provider
opencode-go- API
anthropic-messages- Base URL
https://opencode.ai/zen/go- Input
- text
- Reasoning
- Yes
- Context window
- 1,000,000
- Max tokens
- 65,536
- Cost / million input
- $2.5
- Cost / million output
- $7.5
- Cost / million cache read
- $0.5
- Cost / million cache write
- $3.125
Model config JSON
{
"providers": {
"opencode-go": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "qwen3.7-max",
"name": "Qwen3.7 Max",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1000000,
"maxTokens": 65536,
"cost": {
"input": 2.5,
"output": 7.5,
"cacheRead": 0.5,
"cacheWrite": 3.125
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://opencode.ai/zen/go"
}
}
}