一把 Key 按量调用 DeepSeek V4 Flash API
DeepSeek V4 Flash 在 Crazyrouter 上通过 OpenAI 兼容接口提供。切换模型不用改集成,所有请求在同一个账单里。
DeepSeek V4 Flash 是什么?
DeepSeek V4 Flash 是 DeepSeek 的 DeepSeek V4 系列模型,面向对话、推理、代码和 Agent 工作流。在 Crazyrouter 上它与 300+ 模型共用同一把 Key 和账户,方便横向对比和路由切换。
支持 OpenAI SDK、LangChain、Cursor、Cline 等任何可自定义 base URL 的工具。
SSE 流式、function calling、JSON 输出行为与上游文档一致。
本页价格直接来自计费表,已包含 Crazyrouter 折扣。
与 Claude、GPT、Gemini、DeepSeek 等直接对比,不用维护多家账号。
DeepSeek V4 Flash API 快速开始
把 OpenAI SDK 的 base_url 指向 https://crazyrouter.com/v1,model 填 deepseek-v4-flash。
curl https://crazyrouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $CRAZYROUTER_API_KEY" \
-d '{
"model": "deepseek-v4-flash",
"messages": [{"role": "user", "content": "Explain the tradeoffs of this architecture decision."}],
"stream": true
}'适用场景
开发工具兼容
OpenAI SDK
base_url 设为 https://crazyrouter.com/v1,model 设为 deepseek-v4-flash。
Cursor、Cline、Continue
添加 Crazyrouter 为自定义 OpenAI 兼容提供商,从列表中选模型。
LangChain / LlamaIndex
用 OpenAI chat model 类并指定 Crazyrouter base URL。
Claude Code / Codex CLI
按 Crazyrouter 部署文档把 CLI 指向你的 Key。
DeepSeek V4 Flash 常见问题
DeepSeek V4 Flash 的 base URL 填什么?
https://crazyrouter.com/v1。对话补全走 /v1/chat/completions。
怎么计费?
按 token 计费,费率见本页输入/输出价格。每次请求从余额扣减,无订阅。
支持流式和函数调用吗?
支持。设置 stream: true 并像上游 API 一样传 tools,行为与上游模型一致。
以后能换模型吗?
改 model 字符串即可,同一把 Key 可用 Crazyrouter 目录里的全部模型。
哪里看当前价格?
价格页列出所有模型的实时费率,登录后还会显示分组折扣。