DeepSeek V4 Pro

Model details

DeepSeek V4 Pro

Model
deepseek-v4-pro
Provider
opencode-go
API
openai-completions
Base URL
https://opencode.ai/zen/go/v1
Input
text
Reasoning
Yes
Context window
1,000,000
Max tokens
384,000
Cost / million input
$1.74
Cost / million output
$3.48
Cost / million cache read
$0.0145
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "opencode-go": {
      "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.48,
            "cacheRead": 0.0145,
            "cacheWrite": 0
          },
          "compat": {
            "requiresReasoningContentOnAssistantMessages": true
          }
        }
      ],
      "api": "openai-completions",
      "baseUrl": "https://opencode.ai/zen/go/v1"
    }
  }
}