返回模型列表

DeepSeek V4 Flash

deepseekdeepseek/deepseek-v4-flash

DeepSeek V4 Flash — fast, cost-efficient model with 1M context window. Supports reasoning, tool calling, and structured output.

上下文长度
1M
最大输出
384K
输入价格
$0.240每百万 Tokens
输出价格
$0.480每百万 Tokens

模态能力

文本文本

价格明细

类型费率
输入$0.240 每百万 Tokens
输出$0.480 每百万 Tokens

支持参数

temperaturetop_pfrequency_penaltypresence_penaltymax_tokensmax_completion_tokensstoptoolstool_choiceresponse_formatstreamreasoning

API 使用示例

中国大陆用户:将下方示例中的 api.therouter.ai 替换为 api.therouter.com.cn 可获得更低延迟。

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "deepseek/deepseek-v4-flash",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'