Use ngrok.ai inference (no OpenAI account)
You can use OpenAI models without your own OpenAI account—ngrok.ai inference supplies the upstream credentials and bills the model cost through credits.Create an access key and add credits
Follow the quickstart to create an access key and purchase credits in app.ngrok.ai.
Bring your own OpenAI key
Want requests billed to your own OpenAI account instead of through credits? Store your OpenAI key once—the gateway attaches it for you on every request.Create an access key
Follow the quickstart to create an access key in app.ngrok.ai if you don’t have one yet.
Add your OpenAI key
Add a provider key for OpenAI. ngrok stores it encrypted, so it never has to live in your application or get shared around—and you can reuse it across as many access keys as you need.
Route to it with a configuration
Create an access key configuration with an OpenAI routing rule set to Bring your own API key, then assign it to your access key.