← Models
opencode

DeepSeek V4 Pro

deepseek-v4-pro
Reasoning

Model details

Model
deepseek-v4-pro
Provider
opencode
API
openai-completions
Base URL
https://opencode.ai/inference/openai/v1
Input
text
Reasoning
Yes
Context window
1,000,000
Max tokens
384,000

Pricing

USD per million tokens.

Input
$1.74
Output
$3.48
Cache read
$0.145
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.28
Uncached input
$0.14
Cache reads
$0.09
Cache writes
$0.0000
Output
$0.05
Without caching
$1.31

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

supportsStore
No
supportsStrictMode
Yes
maxTokensField
max_tokens
supportsLongCacheRetention
No
requiresReasoningContentOnAssistantMessages
Yes