Connect to AiMUX
AiMUX serves OpenAI-compatible chat at https://aimux.me/v1/chat/completions. Each product has its own upstream credentials. Client applications authenticate with an AiMUX product key.
- Open the console and sign in with Cloudflare Access.
- Create a product. Under Providers, choose the adapter and product, then enter the provider credential. Hosted adapters supply the base URL. Self-hosted adapters require an approved HTTPS origin.
- Under Routes, map a model and endpoint type to the connected credential.
- Under Product keys, choose the product and save. Copy the key at issuance. You can edit model restrictions, limits and routing policy later.
Keep keys in your server environment. Check a client credential before making a billable request.
curl https://aimux.me/v1/key -H "Authorization: Bearer $AIMUX_PRODUCT_KEY"Use the gateway reference for request formats and the AI index for machine-readable Markdown.