Skip to content

Commit 7261867

Browse files
bennyliiDeepSeek V4 Pro
andcommitted
DeepSeek 模型升级至 V4 系列,使用官方 API 命名体系
- 新增 deepseek-v4-pro(专家模式)和 deepseek-v4-flash(快速模式) - 模型通过后缀 -think / -search 独立控制思考和搜索 - chat completion 新增 model_type / parent_message_id / preempt 字段 - 保留 deepseek-chat / deepseek-reasoner 兼容旧名 - 移除已下线的 DeepSeek-V3.2 / R1 / Search / R1-Search Co-Authored-By: DeepSeek V4 Pro <noreply@deepseek.com>
1 parent 4eec87f commit 7261867

9 files changed

Lines changed: 1091 additions & 40 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
| Provider | Auth Type | OAuth | Models |
5151
| ---------------- | ------------- | ----- | ------------------------------------------------------------------------------- |
52-
| DeepSeek | User Token | Yes | DeepSeek-V3.2 |
52+
| DeepSeek | User Token | Yes | deepseek-v4-pro, deepseek-v4-flash |
5353
| GLM | Refresh Token | Yes | GLM-5 |
5454
| Kimi | JWT Token | Yes | kimi-k2.5 |
5555
| MiniMax | JWT Token | Yes | MiniMax-M2.5 |
@@ -145,7 +145,7 @@ client = OpenAI(
145145
)
146146

147147
response = client.chat.completions.create(
148-
model="DeepSeek-V3.2",
148+
model="deepseek-v4-pro",
149149
messages=[
150150
{"role": "user", "content": "Hello, who are you?"}
151151
]

README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
| 服务商 | 认证类型 | OAuth | 模型 |
5151
| ------------- | ------------- | ----- | ------------------------------------------------------------------------------- |
52-
| DeepSeek | User Token || DeepSeek-V3.2 |
52+
| DeepSeek | User Token || deepseek-v4-pro, deepseek-v4-flash |
5353
| GLM | Refresh Token || GLM-5 |
5454
| Kimi | JWT Token || kimi-k2.5 |
5555
| MiniMax | JWT Token || MiniMax-M2.5 |
@@ -145,7 +145,7 @@ client = OpenAI(
145145
)
146146

147147
response = client.chat.completions.create(
148-
model="DeepSeek-V3.2",
148+
model="deepseek-v4-pro",
149149
messages=[
150150
{"role": "user", "content": "你好,你是谁?"}
151151
]

0 commit comments

Comments
 (0)