Bearerキー1つでVortixy Chatをあなたのプロジェクトに統合。プランと同じクォータです。 ダッシュボード → あなたのAPIでキーを作成
メッセージを送信し、会話履歴を追加したり、ウェブ検索を有効にしたり、思考の深さを調整したりできます。プランの1日あたりのメッセージ・トークン上限に計上されます。
チャットボット対応:systemでボットのペルソナを追加(8k文字)、stream:trueでNDJSONデルタ、webSearchでライブソース。呼び出しごとにトークン・リクエスト・web検索を消費 — Webと共有(00:00 UTCリセット)。
POST /api/v1/chat の全JSONフィールド。必須はmessageのみ — 他は任意です。
| フィールド | タイプ | 必須 | 説明 |
|---|---|---|---|
| message | string | yes | ユーザーメッセージ(1〜32,000文字)。 |
| history | array | no | 過去のターン: [{ role: 'user' | 'assistant', content: string }](最大20)。 |
| system | string | no | ボットペルソナ / 指示(最大8k)。alias instructionsも可。 |
| provider | string | no | gemini(マネージド、デフォルト)。BYOKの場合はDashboard → 設定 → AIキーでキーを保存し、provider openai / anthropic / deepseek / gemini とBYOKモデルIDを使用してください。 |
| model | string | no | モデルID — 下の表を参照。プロバイダー+プランで許可されている必要があります。 |
| chatMode | enum | no | チャットモード: fast | smart | auto(autoはクエリごとに自動選択)。modelより優先 — 設定時はmodelを省略。エイリアスengineModeも可。 |
| thinkingLevel | enum | no | none | low | medium | high | xhigh | max(xhigh/maxはGPT-5.6のみ)。 |
| webSearch | boolean | no | trueでライブWeb検索を有効化。日次クォータにカウント。 |
| stream | boolean | no | trueでNDJSONストリーミング(delta → done)。デフォルトfalse(JSON)。 |
ヒント:provider/modelを省略するとプラン最適モデルを使います。チャットボットはstream:trueを。
推論はモードごとに自動化されました — Fastはlow、Smartはhigh、Autoは質問に応じて賢く選択します。レベルを選ぶ必要はもうありません。APIはthinkingLevelも引き続き受け付けますが、任意でありモードが上書きします。
| レベル | 説明 |
|---|---|
| none | 推論なし — 最速、トークン消費最小。 |
| low | 軽い推論 — 少し考えた素早い回答。 |
| medium | バランスの取れた推論 — ほとんどのタスクに最適。 |
| high | 深い推論 — 複雑な分析・計画に。 |
| xhigh | 非常に深い — フロンティアモデルのみ、難問向け。 |
| max | 最大 — 思考バジェットをフルに使い、最も遅く高コスト。 |
Fast → low/medium、Smart → medium/high、Auto → クエリごとにlow→highを選択。ユーザー側の切り替えは不要 — システムが常に賢く判断します。
モデルではなくモードを選ぶだけ。Vortixyが賢くルーティングしてクォータを最大活用します — 個別のモデル選択は不要です。すべてのモードでプランのクォータを共有します(00:00 UTC)。
| モード | 使いどころ | 思考 | 速度 |
|---|---|---|---|
| Fast | シンプルなタスクに素早い回答 — 最速・最も効率的です。 | low / medium | 最速 |
| Smart | 複雑なタスクに深い推論 — より掘り下げてステップごとに。 | medium / high | 徹底的 |
| Auto | Vortixyが質問ごとに最適なモードを自動選択します(ヒューリスティック、追加コストなし)。 | auto (low → high) | 自動選択 |
Smartは選択中にアニメーションのグロー表示(shimmerボーダー)になります。Autoがデフォルト — ほとんどのタスクにおすすめです。
Dashboard → Settings → AI keysに一度保存(AES-256-GCM、非公開) — provider + modelで呼び出し。BYOKターンはモデルトークン無料、他はmanaged同様(00:00 UTC)。
| モデル | プロバイダー | アクセス | 思考 | コンテキスト |
|---|---|---|---|---|
| gemini-3.8-flash:byok | gemini | Free — キーが必要 | none, low, medium, high | 1049k |
| gemini-3.7-flash:byok | gemini | Free — キーが必要 | none, low, medium, high | 1049k |
| gemini-3.6-flash:byok | gemini | Free — キーが必要 | none, low, medium, high | 1049k |
| gemini-3.5-flash-lite:byok | gemini | Free — キーが必要 | none, low, medium, high | 1049k |
| gemini-3.1-flash-lite:byok | gemini | Free — キーが必要 | none, low, medium, high | 1049k |
| gpt-6-astra | openai | Free — キーが必要 | low, medium, high, xhigh, max | 1050k |
| gpt-6-sol | openai | Free — キーが必要 | none, low, medium, high, xhigh, max | 1049k |
| gpt-6-luna | openai | Free — キーが必要 | none, low, medium, high, xhigh, max | 1049k |
| gpt-5.6-sol | openai | Free — キーが必要 | none, low, medium, high, xhigh, max | 1049k |
| gpt-5.6-terra | openai | Free — キーが必要 | none, low, medium, high, xhigh, max | 1049k |
| gpt-5.6-luna | openai | Free — キーが必要 | none, low, medium, high, xhigh, max | 1049k |
| claude-fable-5-1 | anthropic | Free — キーが必要 | none, high | 1049k |
| claude-opus-5-5 | anthropic | Free — キーが必要 | none, high | 1049k |
| claude-sonnet-5-5 | anthropic | Free — キーが必要 | none, high | 1049k |
| claude-fable-5 | anthropic | Free — キーが必要 | none, high | 1049k |
| claude-opus-5 | anthropic | Free — キーが必要 | none, high | 1049k |
| claude-sonnet-5 | anthropic | Free — キーが必要 | none, high | 1049k |
| claude-haiku-4-5 | anthropic | Free — キーが必要 | none, high | 200k |
| claude-sonnet-4-6 | anthropic | Free — キーが必要 | none, high | 200k |
| deepseek-flash | deepseek | Free — キーが必要 | none, high | 1049k |
| deepseek-v4-pro | deepseek | Free — キーが必要 | none, high | 1049k |
| deepseek-v4-flash | deepseek | Free — キーが必要 | none, high | 1049k |
BYOKカタログ: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 (anthropic)、deepseek-flash/v4-pro/v4-flash (deepseek)、gemini-3.8/3.7/3.6-flash:byok + flash-lites:byok (gemini)。キーがあればFreeですべて利用可能 — アップグレード不要です。
コンテキストウィンドウはモデルごとに異なり、最大1M (3.8/3.7) / 256k (その他)トークンです。各リクエストにはプラン上限も適用されます:Free 30k、Go 30k、Pro 35k、Max 50k、Max+ 100kトークン。適用予算の85%を超えると古いターンを自動圧縮します。公開APIはステートレスなため、毎回`history`で履歴を再送してください。
リクエストで使えるコンテキストは、プラン上限(30k/30k/35k/50k/100kトークン)とモデルウィンドウ(最大1M (3.8/3.7) / 256k (その他))の小さい方です。連携では収まる履歴だけを送り、古いターンは要約してください。大きすぎるリクエストは拒否される場合があります。
// Basic — only required field
{ "message": "Explain quantum computing simply" }
// With system persona (chatbot) — 8k chars
{
"message": "What do you sell?",
"system": "You are a friendly shop assistant for Acme. Answer briefly in Spanish."
}
// With history — multi-turn conversation
{
"message": "And what about entanglement?",
"history": [
{ "role": "user", "content": "Hi" },
{ "role": "assistant", "content": "Hello! How can I help?" },
{ "role": "user", "content": "Explain quantum computing" }
]
}
// Full request — all variants together
{
"message": "Latest AI breakthroughs with sources",
"history": [{ "role": "user", "content": "Hi" }],
"system": "You are Acme support. Be concise.",
"provider": "gemini", // managed (default) — BYOK dashboard-only for other providers
"model": "gemini-3.5-flash", // any available managed model from the table above
"thinkingLevel": "high", // none | low | medium | high | xhigh | max
"webSearch": true, // true = live web grounding + sources[]
"stream": false // false = JSON, true = NDJSON deltas
}// 200 OK — non-streaming response
{
"answer": "Quantum computing uses qubits...",
"model": "gemini-3.5-flash",
"usage": { "tokensEstimated": 42, "tokensReserved": 42, "webSearch": true },
"sources": [{ "title": "Quantum computing — Wikipedia", "url": "https://en.wikipedia.org/wiki/Quantum_computing" }],
"plan": "pro",
"resetsInSeconds": 43200,
"resetsAt": "2026-09-25T00:00:00.000Z"
} // quotas reset daily at 00:00 UTC — streaming uses RateLimit-* headers// Streaming (NDJSON) — ideal for chatbots
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: "Hello!", system: "Be concise.", stream: true, thinkingLevel: "medium" })
});
for await (const line of res.body.pipeThrough(new TextDecoderStream()).pipeThrough(splitNDJSON())) {
const evt = JSON.parse(line);
if (evt.type === "delta") process.stdout.write(evt.delta);
if (evt.type === "sources") console.log("sources", evt.sources);
if (evt.type === "done") console.log("\nusage", evt.usage);
}
// curl variants — pick the one you need
// 1) Basic
curl -X POST https://www.vortixy.net/api/v1/chat -H "Authorization: Bearer $VORTIXY_API_KEY" -H "Content-Type: application/json" -d '{"message":"Hello"}'
// 2) With web search + high thinking
curl -X POST https://www.vortixy.net/api/v1/chat -H "Authorization: Bearer $VORTIXY_API_KEY" -H "Content-Type: application/json" -d '{"message":"Latest AI news","webSearch":true,"thinkingLevel":"high"}'
// 3) Chatbot persona + streaming (NDJSON)
curl -N -X POST https://www.vortixy.net/api/v1/chat -H "Authorization: Bearer $VORTIXY_API_KEY" -H "Content-Type: application/json" -d '{"message":"Hi","system":"You are Acme bot.","stream":true}'ストリーミングはdelta → done (NDJSON, Content-Type: application/x-ndjson) を送信。webSearch:trueではWeb検索でグラウンディングされたソースも取得(日次クォータにカウント)。
月額と年額はどちらがいいですか?
年間請求で17%お得になります。