One endpoint, OpenAI-compatible. If your code already talks to OpenAI or OpenRouter, you swap one base URL and one key and you are done. The quick start is three steps, and it runs in under 5 minutes.
Email + password to sign up. In the dashboard, create an API key, with an optional per-key spend limit so a runaway script can't drain your balance.
Crypto direct, swap, or card. Crypto top-ups credit +20% (15% base + 5% crypto). Top-up flow →
Copy a snippet below, paste your key, pick a verified model from the catalog.
Model IDs are exactly the strings in the catalog. Click any ID there to copy it. Streaming (SSE) works like OpenAI's.
Same shape as the OpenAI Chat Completions API; anything not listed passes through to the provider.
Each guide: the exact base URL, where the key goes, a first task to confirm the connection, and what to check when it doesn't.
Connection profile → Chat Completion → Custom (OpenAI-compatible).
Second step: send "reply with the single word: connected".
Not working? Check the model ID is copy-pasted from the catalog, and that your balance covers one request. SillyTavern hides 402 errors as generic failures.
Set the OpenAI-compatible base URL and key in your agent's provider config.
Second step: ask the agent to list the files in the current directory and summarize them.
Not working? Some agents cache provider settings. Restart the agent after changing the env vars.
Add a custom endpoint in librechat.yaml.
Second step: create a new conversation and switch the model to any verified model.
Not working? LibreChat requires the trailing /v1 and a key whose spend limit is above $0.
Add FLUX as an OpenAI-compatible connection.
Second step: a one-line "ping" message through the proxy.
Janitor, Kilo, OpenCode and Codex CLI guides ship at launch on the same pattern. Missing your tool? The OpenAI-compatible endpoint is all most apps need.
Same request shape, same SDK, different base URL. Point your existing code at us:
Model IDs differ for some families (e.g. anthropic/claude-sonnet-5-5 → claude-sonnet-5-5), so map them once with the catalog. Requests that don't reference provider routing headers simply work. Migration from Chutes is the same one-line change; their catalog-style IDs map directly for the models we share.
| HTTP | error.code | You'll see | What to do |
|---|---|---|---|
| 503 | model_not_found | "No available channel for model …": the model ID isn't in our catalog (returned as 503 today; check the code, not just the status) | Copy the exact ID from the catalog page |
| 401 | (empty) | "Invalid token": key missing or mistyped | Re-copy the key from the dashboard |
| 403 | (empty) | "This token status is unavailable": the key was revoked (or disabled) by the account owner | Nothing to fix on your side. Ask for a fresh key; the dashboard shows the revoke reason next to the key |
| 402 | pre_consume_token_quota_failed | "this API key has reached its spend limit: the key has $X left": the KEY's spend limit (the one you set in Edit limits), not your balance: the account balance is untouched and your other keys keep working | Raise or remove the key's spend limit in the dashboard (Edit limits), or use another key |
| 402 | insufficient_user_quota | "Your account balance is too low for this request: $X available": the ACCOUNT balance (all keys on the account share it) | Top up from the Top up page (crypto or card); credit is applied once the network confirms |
| 429 | (empty) / rpm / tpm / concurrency / ramp_limit | "daily token allowance reached (tier …)" for the daily allowance (code empty); "rate limit exceeded (rpm | tpm | concurrency | ramp_limit)" when a speed limit trips, so honor the Retry-After and x-ratelimit response headers | The daily allowance resets at 00:00 UTC and grows with verified top-ups; speed limits ease within a minute, and per-key speed limits are adjustable in the dashboard (Edit limits). New accounts (<48h) run at a lower per-key request rate (20 req/min) before the full tier rate applies |
| 429 | (top-up invoices) | "You can create one invoice per minute. Your next one is ready in Xs", with a Retry-After header giving the exact seconds. The one-per-minute limit is per account, all payment rails combined, so a direct invoice makes your next swap or card invoice wait the minute too | Wait the stated seconds and create the next top-up. The wait does not grow from refused attempts, and it only counts invoices you actually created |
| 422 | (top-up invoices) | "top-ups are capped at $4,000 (KYD) each…" for the per-top-up cap, or "that top-up would take you past the $120,000 (KYD) daily limit…" when the day's total would exceed the daily cap. The message names the midnight UTC reset and the support path | Split a larger amount into separate top-ups. For the daily limit, come back after midnight UTC or contact support about a custom plan; there is no lifetime limit |
| 5xx | varies | Upstream or routing fault | Retry; auto-failover applies; incidents on status |
The codes above are the live values our endpoint returns today. Match on error.code and the message, not the HTTP status alone. The top-up invoice endpoints (/topup/invoice, all payment rails) speak plain-English detail strings instead of codes; their rows are marked (top-up invoices). Full request/response reference, rate-limit tiers and llms.txt at launch. Auth is a Bearer key; keys are revocable, carry optional spend caps, and are limited to 20 per account (30 at the top verified-deposit tier; more requires a custom, manually-approved plan. Your dashboard shows the live count).
x-ratelimit headers (present on every speed-limited response, key scope and account scope): x-ratelimit-limit-requests = your sustained requests/min; x-ratelimit-remaining-requests = requests admissible right now. After an idle period this can read up to 2× the limit (the documented burst allowance: a quiet minute lets you send a short burst, then the sustained rate applies); x-ratelimit-reset-requests = Unix time when remaining is back at its max; x-ratelimit-limit-tokens / -remaining-tokens / -reset-tokens = the same three semantics on the 60-second token window (reset = when the oldest counted request ages out; an empty window resets at now+60s). Every field also exists in the x-ratelimit-account-* form for the account-wide scope, and Retry-After gives the next-admissible time in seconds.
To list the catalog programmatically: GET /v1/models with your Bearer key returns every available model ID.
The endpoint is live, the catalog is verified, and the quick start takes under 5 minutes.
Get your API key