OpenAI (BYOK)
Create an API key for OpenAI and add it to AnyRouter.
Route requests through your own OpenAI account (BYOK); no platform credits are charged. You need a API key string.
Get your API key
- Sign in to the OpenAI Platform.
- Open API keys in the left sidebar.
- Click Create new secret key, give it a name and an optional project, then Create secret key.
- Copy the key immediately — it is shown only once.
Gotchas
Project-scoped keys begin with sk-proj-...; both sk-... and sk-proj-... work. To pin requests to a specific OpenAI organization or project, set a Base URL on the AnyRouter key form or pass custom headers.
Add it to AnyRouter
- Open Dashboard → BYOK, find OpenAI under Available and click Add key.
- Paste the key.
- Click Save. AnyRouter validates the key against OpenAI first; on failure the dialog shows the upstream error and nothing is saved.
- Create key: OpenAI console
- Default base URL (editable on the key form):
https://api.openai.com/v1
AnyRouter routes requests to third-party models. Models and outputs are provided as is, with no warranty; you use them at your own risk. Disclaimer