deepseek-v4-flash
能力: 64K context · tool use · streaming · structured output
价格: 按 token,flash 档(实时价格)
DeepSeek V4 Flash 拿 V4 基础往延迟方向调。在受限 prompt 上保留 V4 同
样的强代码生成,对短输入的等待时间只有 V4 Pro 的一半。适合内联代码
建议、lint 风格的修复,以及任何一两秒就敏感的 agent 步骤。
请求
Body 参数
响应
代码示例
流式 + 缓存
"stream": true 走 SSE。自动 prompt caching。
错误
何时使用
- 内联代码建议、lint 风格修复、IDE 集成 agent。
- 延迟敏感的代码路由。
- 难题上要完整 V4 Pro 品质,见 DeepSeek V4 Pro。