deepseek-v4-pro vs deepseek-v4.1-flash-1017
| deepseek-v4-pro | deepseek-v4.1-flash-1017 | |
|---|---|---|
| Providers | DeepSeek | DeepSeek |
| Input $/M | $0.69 | $0.15 |
| Output $/M | $2.08 | $0.60 |
| Output multiplier | ×3.00 | ×4.00 |
| Context window | 1M tokens | 1M tokens |
| Intelligence index | 36.0 | — |
| Coding index | 68.8 | — |
What the numbers mean
deepseek-v4.1-flash-1017 is roughly 4.6× cheaper on input than deepseek-v4-pro. If your workload passes the quality bar on the cheaper model, that gap compounds across every request; route to deepseek-v4-pro deliberately rather than by default.
Tags: deepseek-v4-pro — Chat, Reasoning, Coding, Vision, 工具调用, Long context, 超大输出 · deepseek-v4.1-flash-1017 — Chat, Reasoning, Coding, Vision, 工具调用, Long context, 超大输出, 快速
Code
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# deepseek-v4-pro
client.chat.completions.create(model="deepseek-v4-pro", messages=[{"role":"user","content":"Hi"}])
# deepseek-v4.1-flash-1017
client.chat.completions.create(model="deepseek-v4.1-flash-1017", messages=[{"role": "user", "content": "Hi"}])