Prerequisites
- Access to the OmniMux console
- Available quota (or a token provisioned by an admin)
Steps
1
Create an API key
Sign in to the console, open Tokens / API Keys, and create a key.Keys look like
sk-... and authorize model requests that can spend quota. Store them only on the server or in private environment variables — never in frontend code or public repos. A nap_... personal access token is for user APIs, not a replacement for this key. The scoped-token guide explains permission selection, expiry, and migration from legacy credentials.2
Set the Base URL
Gateway Base URL (API host):For OpenAI-compatible SDKs, set:The SDK appends
/chat/completions and other paths. The console lives at omnimux.ai/dashboard and is separate from the API host.3
Send your first request
With curl:
model must be enabled for your account. Check the console or call GET /v1/models. Language contract: Claude · Complete API Reference.