| deepseek-v4-flash-0731 | deepseek-v4.1-flash | |
|---|---|---|
| Providers | DeepSeek | DeepSeek |
| Input $/M | $0.15 | $0.15 |
| Output $/M | $0.61 | $0.61 |
| Output multiplier | ×4.00 | ×4.00 |
| Context window | 1M tokens | — |
| Intelligence index | — | — |
| Coding index | — | — |
Input pricing is close — 1.00× apart — so the decision should come down to measured quality on your own evaluation set rather than headline cost.
Tags: deepseek-v4-flash-0731 — Chat, Reasoning, Coding, Vision · deepseek-v4.1-flash — Chat, Reasoning, Coding, Vision
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# deepseek-v4-flash-0731
client.chat.completions.create(model="deepseek-v4-flash-0731", messages=[{"role":"user","content":"Hi"}])
# deepseek-v4.1-flash
client.chat.completions.create(model="deepseek-v4.1-flash", messages=[{"role": "user", "content": "Hi"}])