DeepSeek
未注明子路由
直接向该服务商购买
US$1.50
100万输入 + 100万输出token小计
输入 / 输出每百万token: US$0.30 / US$1.20
本组参考价最低;接入前确认输出与可用性。
接入这个端点
在服务商创建 API 密钥,在本地终端设置环境变量 DEEPSEEK_API_KEY,再运行下方示例。
https://api.deepseek.com/chat/completions
Base URL: https://api.deepseek.com Catalog model: deepseek-flash Request API model: deepseek-flash Protocol: openai API key env: DEEPSEEK_API_KEY Docs: https://api-docs.deepseek.com/
curl "https://api.deepseek.com/chat/completions" -H "Authorization: Bearer $DEEPSEEK_API_KEY" -H "Content-Type: application/json" -d '{
"model": "deepseek-flash",
"messages": [
{
"role": "user",
"content": "阅读下面的客服工单,返回一个 JSON 对象,包含摘要(summary)、紧急程度(urgency,取 low、medium 或 high)和下一步(next_step)。缺失的信息用 null 表示。\n\n工单:我昨天支付了专业版费用,但账号仍显示免费版。我们团队需要在明天演示前开通。"
}
]
}'使用 https://api.deepseek.com 上的 OpenAI 兼容接口,模型名 "deepseek-flash"。API 密钥从环境变量 DEEPSEEK_API_KEY 读取,不要写死在代码里。2026-11-20 观察到的价格:input $0.30 / 1M tokens,output $1.20 / 1M tokens,cache read $0.006 / 1M tokens。接入文档:https://api-docs.deepseek.com/。计费范围与条件:Official current model version: DeepSeek-V4.1-Flash-1017; API identifier: deepseek-flash. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Off-peak: all other times, including weekends and Chinese public holidays. Selected billing window: peak. Cache-hit input uses the cache-read rate; cache-miss input uses the input rate. Thinking tokens are billed as output. Context: 1M tokens; documented maximum output: 384K. Standalone Search and Fetch APIs are billed per successful request. Since November 18, 2026 at 12:00 Beijing time, model-triggered server-side search and fetch carry no separate tool fee; returned content is billed as model token usage. Token reference subtotals exclude independent API calls. Billing currency: USD. Deployment region and account availability are not established by this price page; region is unspecified, not inferred from currency or document language. Supports documented JSON output and tool calls, with thinking enabled by default and thinking/reasoning_effort controls. Control documentation: https://api-docs.deepseek.com/guides/thinking_mode/; internal evidence SHA-256: 5ab9a7b03778a41ea37046b88936a3066fcfe9085d6b7436b5fc0ec371b08a88. Output quality and strict schema adherence are not established.。来源:https://api-docs.deepseek.com/quick_start/pricing/。
阅读下面的客服工单,返回一个 JSON 对象,包含摘要(summary)、紧急程度(urgency,取 low、medium 或 high)和下一步(next_step)。缺失的信息用 null 表示。 工单:我昨天支付了专业版费用,但账号仍显示免费版。我们团队需要在明天演示前开通。
Input: $0.30 / 1M tokens (Applies in peak window. Cache miss. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Off-peak: all other times, including weekends and Chinese public holidays.) Output: $1.20 / 1M tokens (Applies in peak window. Includes thinking tokens. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Off-peak: all other times, including weekends and Chinese public holidays.) Cache read: $0.006 / 1M tokens (Applies in peak window. Cache hit. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Off-peak: all other times, including weekends and Chinese public holidays.) Currency: USD Regions: unspecified Unit source: manual Checked: 2026-11-20 Source: https://api-docs.deepseek.com/quick_start/pricing/
来源核对日期: 2026-11-20 · 最晚有效至 2026-11-23 09:20 UTC
计费依据与来源
deepseek/deepseek-flash · direct
计费条件
Official current model version: DeepSeek-V4.1-Flash-1017; API identifier: deepseek-flash. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Off-peak: all other times, including weekends and Chinese public holidays. Selected billing window: peak. Cache-hit input uses the cache-read rate; cache-miss input uses the input rate. Thinking tokens are billed as output. Context: 1M tokens; documented maximum output: 384K. Standalone Search and Fetch APIs are billed per successful request. Since November 18, 2026 at 12:00 Beijing time, model-triggered server-side search and fetch carry no separate tool fee; returned content is billed as model token usage. Token reference subtotals exclude independent API calls. Billing currency: USD. Deployment region and account availability are not established by this price page; region is unspecified, not inferred from currency or document language. Supports documented JSON output and tool calls, with thinking enabled by default and thinking/reasoning_effort controls. Control documentation: https://api-docs.deepseek.com/guides/thinking_mode/; internal evidence SHA-256: 5ab9a7b03778a41ea37046b88936a3066fcfe9085d6b7436b5fc0ec371b08a88. Output quality and strict schema adherence are not established.
- 缓存读 / 1M
- US$0.006
- 缓存写 / 1M
- 未公布
- 每请求
- 未公布
- 币种
- USD · 地区未注明
声明支持的参数: tools, response_format, thinking, reasoning_effort