deepseek-v4.1-flash
Provided by DeepSeek · Text model
Parameters
| Context window | 1.0M tokens |
|---|
| Max output | 944K tokens |
|---|
| Input modalities | text, image |
|---|
| Output modalities | text |
|---|
Capabilities
Tool callingVision inputReasoningPrompt cachingStructured output
Official pricing
| Input | $0.2987/M |
|---|
| Output | $1.1949/M |
|---|
| Cache read | $0.006/M |
|---|
Call example
curl -s https://api.deepseek.com/chat/completions -H "Authorization: Bearer $DEEPSEEK_API_KEY" -H "Content-Type: application/json" -d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"你好"}],"reasoning_effort":"high"}'