Reference
FAQ
Common questions about setup, key management, billing, and troubleshooting.
Setup & keys
My Zelyx key isn't working — I get a 401.
Check three things:
- The key starts with
nk_. - You are passing it as the
api_keyparameter (OpenAI SDK) orx-api-keyheader (Anthropic SDK). - The key is still active — go to API Keys and confirm it hasn't been revoked.
I lost my Zelyx key. Can I recover it?
No — only the SHA-256 hash is stored. Revoke the lost key on the API Keys page and generate a new one. No calls can be made with a revoked key.
Does the workspace admin have to create my Zelyx key for me?
No. Once an admin has connected at least one provider key, any team member can create their own Zelyx key from the API Keys page. You only need admin help if no provider key has been added yet.
Can I have multiple Zelyx keys?
Yes. Create as many as you need — one per environment, machine, or project. Each key is attributed to the user who created it, so per-person analytics still work correctly.
Budgets & billing
A call was blocked but I have budget remaining. Why?
Budget enforcement is multi-layered. A call can be blocked by any of the seven layers even if others have headroom. Check:
- Per-model budget — the specific model may be paused or capped.
- Per-key budget — the Zelyx key may have a daily budget set.
- Team or project budget — if the call is tagged, that layer may be exhausted.
- Run budget — if using
X-Zelyx-Run-Id, that run may be exhausted.
The Explorer page shows the gate decision and reason for any blocked call.
Do I still get charged if a call is blocked?
No. When Zelyx blocks a call (HTTP 402 or 403), the request is never forwarded to the provider. No tokens are consumed and no provider cost is incurred.
The exception is Review required (HTTP 200 + X-Zelyx-Review-Required: true) — those calls do reach the provider and incur cost, because the call proceeds.
How does Zelyx charge me vs the provider?
Zelyx charges a platform fee (see the pricing page). Your provider costs are charged directly by the provider to your API key — Zelyx does not mark up or resell tokens. You bring your own key; you pay the provider directly.
Calls & responses
Does Zelyx add latency to my calls?
Yes, a small amount — typically 5–20ms for key lookup, gate evaluation, and forwarding overhead. Provider latency (often 200ms–2s+) dominates in practice. Check the Latency page for P50/P95 figures on your actual traffic.
Does streaming work?
Yes, fully. Pass stream=True exactly as you would with the provider SDK. Zelyx always streams from the provider internally (for token and TTFB measurement), and adapts the response format to what your client requested.
A call returned Review required — what do I do?
The call completed and you received the AI response. The flag is informational: it means the gate detected something worth a human look — typically a high-cost model, a payment-related prompt, or a suspicious tool call.
Review the call on the Gate page. If it's legitimate, mark it approved. If you see this too often for normal traffic, check your gate configuration or contact support.
Loop detection
Loop detection is triggering on a legitimate batch job. What do I do?
Use a unique session ID per batch run (e.g. batch-2026-06-04-a3f2) so batch calls are isolated from interactive sessions. You can also increase the loop threshold in Settings if your batch volume is predictably high.
If the action is set to warn, the alert fires but calls proceed — no disruption. If set to block, your batch will hit 429s; switch to warn while tuning.