使用单个 Bearer 密钥将 Vortixy Chat 集成到你的项目中。配额与你的套餐一致。 在仪表盘 → 你的 API 中创建密钥
自带OpenAI、Anthropic、DeepSeek或Gemini密钥。配置一次,处处可用 — 网页与API共享同一密钥。BYOK轮次不消耗模型tokens(推理付给服务商);请求、搜索、图片等配额仍然适用(00:00 UTC重置)。
BYOK示例
# 1) Save your provider key once in Vortixy (Dashboard → Settings → AI keys)
# OpenAI sk-..., Anthropic sk-ant-..., DeepSeek sk-..., Gemini AQ....
# 2) Call the API with the same Vortixy Bearer key, but specify the BYOK provider+model
curl https://www.vortixy.net/api/v1/chat \
-H "Authorization: Bearer vtx_live_..." \
-H "Content-Type: application/json" \
-d '{
"message": "Explain quantum computing with deep reasoning",
"provider": "openai",
"model": "gpt-6-sol",
"thinkingLevel": "high",
"stream": false
}'
# Anthropic example
curl https://www.vortixy.net/api/v1/chat \
-H "Authorization: Bearer vtx_live_..." \
-H "Content-Type: application/json" \
-d '{"message":"Write a haiku about the sea","provider":"anthropic","model":"claude-sonnet-5-5"}'
# DeepSeek example
curl https://www.vortixy.net/api/v1/chat \
-H "Authorization: Bearer vtx_live_..." \
-H "Content-Type: application/json" \
-d '{"message":"Solve this algorithm","provider":"deepseek","model":"deepseek-flash","thinkingLevel":"high"}'// JS — BYOK via Vortixy API (requests/searches/images charged, model tokens free — same Bearer key)
const res = await fetch("https://www.vortixy.net/api/v1/chat", {
method: "POST",
headers: {
Authorization: "Bearer " + process.env.VORTIXY_API_KEY,
"Content-Type": "application/json"
},
body: JSON.stringify({
message: "Deep research with my own OpenAI key",
provider: "openai",
model: "gpt-6-sol",
thinkingLevel: "xhigh", // xhigh/max on GPT-6/GPT-5.6 — works via BYOK
webSearch: true,
stream: false
})
});
const data = await res.json();
// data.answer, data.sources, data.usage, data.model缺少密钥将返回403 byokMissing — 请在Dashboard中添加后重试。BYOK请求不扣模型tokens,但会扣请求/搜索/图片等配额。
在 BYOK 轮次中,Deep Research 和历史压缩使用确定性摘录(不调用托管模型);网络搜索仍计入每日配额。
BYOK catalog: gpt-6-astra / gpt-6-sol / gpt-6-luna / gpt-5.6-sol / terra / luna (openai), claude-fable-5-1 / opus-5-5 / sonnet-5-5 / fable-5 / opus-5 / sonnet-5 / haiku-4-5 / sonnet-4-6 (anthropic), deepseek-flash (V4.1) / v4-pro / v4-flash (deepseek), gemini-3.8/3.7/3.6-flash:byok + 3.5/3.1-flash-lite:byok (gemini). Managed Gemini models stay available without BYOK.
按月还是按年?
年付可节省 17%。