- Model
deepseek-v4-pro- Provider
opencode- API
openai-completions- Base URL
https://opencode.ai/zen/v1- Input
- text
- Reasoning
- Yes
- Context window
- 1,000,000
- Max tokens
- 384,000
- Cost / million input
- $1.74
- Cost / million output
- $3.84
- Cost / million cache read
- $0.145
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"opencode": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "deepseek-v4-pro",
"name": "DeepSeek V4 Pro",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1000000,
"maxTokens": 384000,
"cost": {
"input": 1.74,
"output": 3.84,
"cacheRead": 0.145,
"cacheWrite": 0
},
"compat": {
"maxTokensField": "max_tokens",
"requiresReasoningContentOnAssistantMessages": true,
"thinkingFormat": "deepseek"
}
}
],
"api": "openai-completions",
"baseUrl": "https://opencode.ai/zen/v1"
}
}
}