deepseek-v4-flash
DeepSeek
Faster, lower-cost variant of DeepSeek V4, optimized for coding assistants, high-throughput chat, and latency-sensitive Agent workflows.
$0.187/ M
$0.561/ M
$0.0059/ M
—
Experimental interim release focused on long-context efficiency, with optional reasoning mode and V3.1-level performance overall.
Giá đầu vào
Thị trường: $0.2869
/ M
Giá đầu ra
Thị trường: $0.43
/ M
Đọc cache
/ M
Ghi cache
/ M
Đầu vào
Văn bản
Đầu ra
Văn bản
{
"model": "deepseek/deepseek-v3.2-exp",
"messages": [
{
"role": "user",
"content": "你好!请先介绍一下你自己,包括你的主要能力与适用场景,并给一个简短的使用示例。"
}
],
"stream": false
}{}API
Mã sẵn sàng để gọi mô hình này qua API tương thích OpenAI của EasyAPI.
Tạo API token trong console và đặt làm biến môi trường:
Thay sk-xxxxxxxx bằng mã API từ console (Bearer Token).
Tạo API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxDùng deepseek/deepseek-v3.2-exp với API EasyAPI:
curl https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"deepseek/deepseek-v3.2-exp","messages":[{"role":"user","content":"Hello!"}]}'Thêm "stream": true vào body để nhận phản hồi qua SSE:
curl -N https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"deepseek/deepseek-v3.2-exp","messages":[{"role":"user","content":"Hello!"}],"stream":true}'Gửi yêu cầu chat completion. Hỗ trợ streaming và non-streaming.
https://token.easyapi.com/v1/chat/completionsBearer $EASYAPI_API_KEYapplication/jsondeepseek/deepseek-v3.2-exp发送对话补全请求,支持流式与非流式。 Tài liệu
https://token.easyapi.com/v1/modelsBearer $EASYAPI_API_KEY获取当前账户可用模型列表。 Tài liệu
| Tên | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
model | string | — | 模型 ID,如 openai/gpt-4o、anthropic/claude-3-5-sonnet |
messages | array | — | 对话消息列表,每项含 role 与 content |
stream | boolean | false | 设为 true 时以 SSE 流式返回 |
temperature | float | 1 | 采样温度,越高越随机 |
max_tokens | integer | — | 单次回复最大生成 Token 数 |
top_p | float | 1 | 核采样,限制候选词累积概率 |
frequency_penalty | float | 0 | 频率惩罚,降低重复用词 |
presence_penalty | float | 0 | 存在惩罚,鼓励新话题 |
SDK chính thức OpenAI và khác hoạt động khi đổi base URL. Xem hướng dẫn tích hợp
DeepSeek
Faster, lower-cost variant of DeepSeek V4, optimized for coding assistants, high-throughput chat, and latency-sensitive Agent workflows.
$0.187/ M
$0.561/ M
$0.0059/ M
—
DeepSeek
DeepSeek V4 系列中速度更快、成本更低的版本,保留主力版推理与编程基础,适合高并发对话、编程辅助与对延迟敏感的 Agent 场景。
$0.1451/ M
$0.4353/ M
$0.0048/ M
—
DeepSeek
高效轻量化MoE模型,总参284B,激活13B,原生支持百万超长上下文能力。推理速度快、延迟低、调用成本低廉,综合能力均衡,主打高并发、轻量化任务。
$0.1042/ M
$0.2083/ M
$0.0208/ M
—
DeepSeek
DeepSeek V4 flagship with adjustable reasoning depth, built for full-codebase analysis, multi-step automation, and complex reasoning tasks.
$0.561/ M
$1.683/ M
$0.0187/ M
—