← Models
opencode

DeepSeek V4.1 Flash 1017

deepseek-v4.1-flash
ReasoningVision

Model details

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

Pricing

USD per million tokens.

Input
$0.12
Output
$0.48
Cache read
$0.0024
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.02
Uncached input
$0.0096
Cache reads
$0.0015
Cache writes
$0.0000
Output
$0.0072
Without caching
$0.09

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