Managed keys setup
No OpenAI account needed. Follow the quickstart to create your gateway and API key, then point your SDK at the gateway:Attach your own key
Attach your OpenAI key to your AI Gateway API Key. ngrok encrypts and stores it server-side, so clients only ever send your AI Gateway API Key.Get an OpenAI API key
Create an account at platform.openai.com and generate an API key. Keys start with
sk-proj-.Explicit provider routing
Use theopenai: prefix to force routing to OpenAI specifically:
Available models
See the model catalog for the full list of supported models and their context windows.Next steps
- AI Gateway API Keys: use ngrok-managed keys for the simplest setup
- Attaching Provider Keys: attach, rotate, and manage your own OpenAI keys
- Multi-provider failover: automatic failover to other providers