Is DeepSeek's API About to Break Your Code? Model Name Deprecation Hits July 24
DeepSeek will retire its legacy API model names `deepseek-chat` and `deepseek-reasoner` on July 24, 2026. Developers must migrate to `deepseek-v4-pro` (reasoning) and `deepseek-v4-flash` (chat) before the hard deadline — or their API calls will return errors. The migration is a simple model name swap, but the 75% promotional discount on V4 Pro has also ended, meaning costs may increase. A new Anthropic API-compatible endpoint is now available for easier migration from Claude.
2026年6月16日 · 阅读约 1 分钟
TL;DR
DeepSeek API deepseek-chat **2026724 deepseek-chat deepseek-reasoner ** API deepseek-v4-pro reasoning deepseek-v4-flash chat
What's Changing?
DeepSeek API legacy ——deepseek-chat deepseek-reasoner—— 2026724 15:59 UTC API
What You Need to Change
response = client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "Hello"}]
)
response = client.chat.completions.create(
model="deepseek-reasoner",
messages=[{"role": "user", "content": "Solve this math problem"}]
)response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello"}]
)
response = client.chat.completions.create(
model="deepseek-v4-pro",
messages=[{"role": "user", "content": "Solve this math problem"}]
)| / per 1M tokens | ||||
|---|---|---|---|---|
deepseek-chat | deepseek-v4-flash | 1M | $0.14 / $0.28 | |
deepseek-reasoner | deepseek-v4-pro | 1M | $0.435 / $0.87 |
DeepSeek Anthropic Messages API Claude DeepSeek
import anthropic
client = anthropic.Anthropic(
base_url="https://api.deepseek.com/anthropic",
api_key="your-deepseek-api-key"
)-
** OpenAI SDK DeepSeek ** —
model -
** LangChain / LlamaIndex ** — model name
-
** OpenRouter ** — provider
-
****
grep -r "deepseek-chat\|deepseek-reasoner" . -
****
deepseek-chat→deepseek-v4-flash``deepseek-reasoner→deepseek-v4-pro -
****V4 Pro reasoner V4 Flash reasoning
—— breaking change with a hard deadline 7 24 5
主题中心
2026 AI 编程工具全景指南
从 Copilot 改版到 Claude Code / DeepSeek 低成本方案——把分散资讯收成可搜索、可对比的工具矩阵。
进入「2026 AI 编程工具全景指南」 →赚钱视角
这个趋势怎么赚钱?
WayToClawEarn 的差异在可验证的赚钱案例,而不只是资讯。从这些复盘开始:
浏览全部案例 →