deepseek-v4-flash
Capability: 64K context · tool use · streaming · structured output
Pricing: per-token, flash tier (live rate)
DeepSeek V4 Flash takes the V4 base and tunes for latency. Same
strong code generation on bounded prompts, half the wait of V4 Pro
on short inputs. Right pick for inline code suggestions, lint-style
fixes, and any agent step where one or two seconds matters.
Request
Body parameters
Response
Code examples
Streaming + caching
"stream": true for SSE. Automatic prompt caching.
Errors
When to use
- Inline code suggestions, lint-style fixes, IDE-integrated agents.
- Latency-bound code routing.
- For full V4 Pro quality on hard problems, see DeepSeek V4 Pro.