Available for Enterprise organizations where OpenAI model routing is enabled. Contact sales to learn more.
Prerequisites
- Your organization has OpenAI model routing enabled.
- You have an enterprise runner configured in Ona.
- The runner can reach your OpenAI or OpenAI-compatible endpoint over HTTPS.
- You have an OpenAI API key or the credentials required by your OpenAI-compatible endpoint.
Add the integration with the UI
- Go to the Runners settings page.
- Select the runner where you want to configure OpenAI BYOK.
- Scroll to LLM Providers.
- Click Configure.
- Select OpenAI.
- Use the OpenAI model option.
- Use
https://api.openai.com/v1for direct OpenAI, or enter your OpenAI-compatible endpoint. - Paste the API key into API Key.
- Click Create Integration.

Add the integration with the CLI
https://api.openai.com/v1 with your endpoint URL.
To verify the integration:
Verify the integration
- Create a new environment with the configured runner.
- Start an agent that uses OpenAI model routing.
- Confirm that the agent can answer a simple code question.
Troubleshooting
OpenAI is not shown
OpenAI is not shown
OpenAI BYOK is available only when OpenAI model routing is enabled for your organization. Contact your account manager if you expect this option to be available.
Authentication fails
Authentication fails
Verify that the API key is active and has access to the OpenAI endpoint you configured. If you use an OpenAI-compatible endpoint, confirm that the endpoint expects the same bearer-token authentication format.
Requests do not reach a custom endpoint
Requests do not reach a custom endpoint
Confirm that the runner can reach the endpoint over HTTPS. If the runner is in a private network, check outbound routing, firewall rules, and any proxy configuration required by your network.