使用单个 Bearer 密钥将 Vortixy Chat 集成到你的项目中。配额与你的套餐一致。 在仪表盘 → 你的 API 中创建密钥
Mismo chat pero con formato OpenAI: {messages:[{role,content}]}. Ideal para usar cualquier SDK de OpenAI cambiando solo la URL base a https://www.vortixy.net/api/v1.
// OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://www.vortixy.net/api/v1",
apiKey: process.env.VORTIXY_API_KEY
});
const res = await client.chat.completions.create({
model: "gemini-3.5-flash",
messages: [{role:"user", content:"Hola"}]
});
console.log(res.choices[0].message.content);curl https://www.vortixy.net/api/v1/chat/completions \
-H "Authorization: Bearer vtx_live_..." -H "Content-Type: application/json" \
-d '{"messages":[{"role":"user","content":"Hola"}],"stream":false}'from openai import OpenAI
import os
client = OpenAI(
base_url="https://www.vortixy.net/api/v1",
api_key=os.environ["VORTIXY_API_KEY"], # vtx_live_...
)
res = client.chat.completions.create(
model="gemini-3.5-flash",
messages=[{"role": "user", "content": "Hola"}],
)
print(res.choices[0].message.content)
print("reset at (UTC):", res.resets_at) # top-level, fuera de usage OpenAI
print("reset in (s):", res.resets_in_seconds) # countdown 00:00 UTC sin drift// 200 OK — POST /api/v1/chat/completions (non-streaming)
{
"id": "chatcmpl-...",
"object": "chat.completion",
"created": 1758758400,
"model": "gemini-3.5-flash",
"choices": [{ "index": 0, "message": { "role": "assistant", "content": "Hola" }, "finish_reason": "stop" }],
"usage": { "prompt_tokens": 12, "completion_tokens": 8, "total_tokens": 20 },
"sources": [],
"resetsInSeconds": 43200,
"resetsAt": "2026-09-25T00:00:00.000Z"
} // resets top-level (usage OpenAI intacto) — streaming: mismo par en el chunk final + RateLimit-* headers按月还是按年?
年付可节省 17%。