DeepSeek-V4.1-Flash (1017)
聚合模态
渠道
每个渠道均使用输入价格最低的档位参与比较,输入同价时比较输出价格。短横线表示 /api/pricing 未提供该费率。选择渠道会更新下方端点与调用示例。
渠道USD / 1M tokens输入输出缓存读取缓存写入
deepseek/deepseek-v4.1-flash-1017输入
$0.30 USD / 1M tokens
输出
$1.20 USD / 1M tokens
缓存读取
$0.006 USD / 1M tokens
缓存写入
- USD / 1M tokens
端点
POST
/v1/chat/completionsChat CompletionsAPI 调用规格
基于对该渠道的真实测试调用观察得出。名称、路径和取值均与 API 实际使用的完全一致。 已于 2026年10月19日 通过测试调用验证。
POST/v1/chat/completions
支持流式输出在流中返回用量流式选项include_usage
输入系统消息: 是以 data URL 传入图片: 是
请求参数 24 个支持的参数
核心
messagesarraybody必填支持已观察到效果messages[].role=systemarraybody支持已观察到效果modelstringbody必填支持已观察到效果nintegerbody不支持
输出长度
max_tokensintegerbody支持已观察到效果接受的取值384000384001被拒绝的取值1536000- 最大值
- 384001
max_completion_tokensintegerbody不支持
采样
frequency_penaltynumberbody支持已校验接受的取值-202被拒绝的取值-33- 最小值
- -2
- 最大值
- 2
logprobsbooleanbody支持已观察到效果presence_penaltynumberbody支持已校验接受的取值-202被拒绝的取值-33- 最小值
- -2
- 最大值
- 2
seedintegerbody支持已接受接受的取值1temperaturenumberbody支持已校验接受的取值00.712被拒绝的取值-13- 最小值
- 0
- 最大值
- 2
top_kintegerbody支持已接受接受的取值120top_logprobsintegerbody支持已观察到效果top_pnumberbody支持已校验接受的取值0.10.51被拒绝的取值-0.52- 最小值
- 0.1
- 最大值
- 1
停止序列
stoparraybody支持已观察到效果
推理
reasoning_effortstringbody支持已校验接受的取值highlowmedium被拒绝的取值bogusthinking.typestringbody支持已观察到效果接受的取值disabledenabled被拒绝的取值bogus- 开启或关闭推理
结构化输出
response_format.type=json_objectstringbody支持已观察到效果response_format.type=json_schemastringbody不支持
工具
parallel_tool_callsbooleanbody支持已接受tool_choiceobjectbody支持已观察到效果接受的取值autonone被拒绝的取值{"type":"function","function":{"name":"get_weather"}}requiredtoolsarraybody支持已观察到效果tools[].type=functionarraybody支持已观察到效果
流式输出
streambooleanbody支持已观察到效果stream_options.include_usagebooleanbody支持已观察到效果
多模态输入
messages[].content[].type=image_urlarraybody支持已观察到效果
元数据
userstringbody支持已接受接受的取值ops-probe
响应字段 49 个字段
choicesarray始终返回在每个数据块中流式返回choices[].delta.contentstring有条件返回 · 流式输出时在每个数据块中流式返回choices[].delta.reasoning_contentstring有条件返回 · 流式输出时在每个数据块中流式返回choices[].delta.rolestring有条件返回 · 流式输出时在每个数据块中流式返回choices[].finish_reasonstring始终返回在每个数据块中流式返回choices[].indexinteger始终返回在每个数据块中流式返回choices[].logprobsnull始终返回在每个数据块中流式返回choices[].logprobs.contentarray有条件返回 · 请求对数概率时choices[].logprobs.content[].bytesarray有条件返回 · 请求对数概率时choices[].logprobs.content[].bytes[]integer有条件返回 · 请求对数概率时choices[].logprobs.content[].logprobnumber有条件返回 · 请求对数概率时choices[].logprobs.content[].tokenstring有条件返回 · 请求对数概率时choices[].logprobs.content[].top_logprobsarray有条件返回 · 请求对数概率时choices[].logprobs.content[].top_logprobs[].bytesarray有条件返回 · 请求对数概率时choices[].logprobs.content[].top_logprobs[].bytes[]integer有条件返回 · 请求对数概率时choices[].logprobs.content[].top_logprobs[].logprobnumber有条件返回 · 请求对数概率时choices[].logprobs.content[].top_logprobs[].tokenstring有条件返回 · 请求对数概率时choices[].logprobs.reasoning_contentarray有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].bytesarray有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].bytes[]integer有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].logprobnumber有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].tokenstring有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].top_logprobsarray有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].top_logprobs[].bytesarray有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].top_logprobs[].bytes[]integer有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].top_logprobs[].logprobnumber有条件返回 · 请求对数概率时choices[].logprobs.reasoning_content[].top_logprobs[].tokenstring有条件返回 · 请求对数概率时choices[].message.contentstring始终返回choices[].message.reasoning_contentstring始终返回choices[].message.rolestring始终返回choices[].message.tool_callsarray有条件返回 · 使用工具时choices[].message.tool_calls[].function.argumentsstring有条件返回 · 使用工具时choices[].message.tool_calls[].function.namestring有条件返回 · 使用工具时choices[].message.tool_calls[].idstring有条件返回 · 使用工具时choices[].message.tool_calls[].indexinteger有条件返回 · 使用工具时choices[].message.tool_calls[].typestring有条件返回 · 使用工具时createdinteger始终返回在每个数据块中流式返回idstring始终返回在每个数据块中流式返回modelstring始终返回在每个数据块中流式返回objectstring始终返回在每个数据块中流式返回system_fingerprintstring始终返回在每个数据块中流式返回usagenull有条件返回 · 流式输出时在最后一个数据块中返回usage.completion_tokensinteger始终返回在最后一个数据块中返回usage.completion_tokens_details.reasoning_tokensinteger始终返回在最后一个数据块中返回usage.prompt_cache_hit_tokensinteger始终返回在最后一个数据块中返回usage.prompt_cache_miss_tokensinteger始终返回在最后一个数据块中返回usage.prompt_tokensinteger始终返回在最后一个数据块中返回usage.prompt_tokens_details.cached_tokensinteger始终返回在最后一个数据块中返回usage.total_tokensinteger始终返回在最后一个数据块中返回
结束原因lengthstoptool_calls
缓存
自动提示词缓存
缓存有效期5m
实测最小可缓存提示词:4877 个 token
用量字段prompt_cache_hit_tokensprompt_cache_miss_tokensprompt_tokens_details.cached_tokens
发起调用
当前渠道 deepseek/deepseek-v4.1-flash-1017
1from openai import OpenAI23client = OpenAI(4 base_url="https://www.realrelay.ai/v1",5 api_key="sk-***",6)78response = client.chat.completions.create(9 model="deepseek/deepseek-v4.1-flash-1017",10 messages=[{"role": "user", "content": "Hello"}],11)1213print(response.choices[0].message.content)1import OpenAI from "openai";23const client = new OpenAI({4 baseURL: "https://www.realrelay.ai/v1",5 apiKey: process.env.REALRELAY_API_KEY,6});78const response = await client.chat.completions.create({9 model: "deepseek/deepseek-v4.1-flash-1017",10 messages: [{ role: "user", content: "Hello" }],11});1213console.log(response.choices[0].message.content);1curl https://www.realrelay.ai/v1/chat/completions \2 -H "Authorization: Bearer $REALRELAY_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "deepseek/deepseek-v4.1-flash-1017",6 "messages": [{ "role": "user", "content": "Hello" }]7 }'价格与可用性为 2026年10月19日 发布的数据。
能力
推理工具调用视觉
输入
文本图像
输出
文本
常见问题
- DeepSeek-V4.1-Flash (1017) 是什么?
- DeepSeek-V4.1-Flash (1017) 是 DeepSeek 的模型。RealRelay.ai 通过一个 OpenAI 兼容 API 提供它。
- DeepSeek-V4.1-Flash (1017) 的价格是多少?
- DeepSeek-V4.1-Flash (1017) 输入每 100 万 token $0.30 起,输出每 100 万 token $1.20 起。价格分档,这里是起始档。
- DeepSeek-V4.1-Flash (1017) 支持哪些输入和输出?
- 输入:文本和图像。输出:文本。
- DeepSeek-V4.1-Flash (1017) 的上下文窗口有多大?
- DeepSeek-V4.1-Flash (1017) 的上下文窗口为 1M token。单次最多输出 384K token。
- DeepSeek-V4.1-Flash (1017) 能做什么?
- 列出的能力:推理、工具调用和视觉。
- 如何通过 API 调用 DeepSeek-V4.1-Flash (1017)?
- 在 OpenAI 兼容 API 中使用模型 ID deepseek/deepseek-v4.1-flash-1017 和 RealRelay.ai API 密钥。
DeepSeek 的其他模型
查看全部 6 个 DeepSeek 模型DeepSeek-V4.1-Flash
- 上下文
- 1M
- 输入 / 1M
- $0.2857
- 输出 / 1M
- $1.1429
DeepSeek-V4-Pro
- 上下文
- 1M
- 输入 / 1M
- $1.2686
- 官方价
$1.32 - 输出 / 1M
- $2.5372
- 官方价
$3.96
DeepSeek-V4-Flash (0731)
- 上下文
- 1M
- 输入 / 1M
- $0.4286
- 输出 / 1M
- $1.2857
DeepSeek-V4-Pro (0813)
- 上下文
- 1.05M
- 输入 / 1M
- $1.32
- 输出 / 1M
- $3.96
DeepSeek-V4-Flash
立省 58%- 上下文
- 1M
- 输入 / 1M
- $0.1247
- 官方价
$0.30 - 输出 / 1M
- $0.2493
- 官方价
$1.20
