Skip to main content
This quickstart shows you how to send your first request through the ngrok AI Gateway, which gives your applications a single endpoint for models from OpenAI, Anthropic, Google, and other providers. You sign in to ngrok.ai, buy credits, create an access key, and use the OpenAI SDK to send a request to a GPT model. The same access key works with every built-in provider, and you don’t need an account or API key with any of them.

Making your first request

1

Sign in to app.ngrok.ai

Open app.ngrok.ai and sign in with your ngrok account.
2

Purchase credits

Top up at least $5.00. Every request you make requires ngrok.ai credits.
3

Create your access key

Open Access Keys and create a new key. Copy the key right away—it’s shown only once—and store it somewhere safe. It looks like ng-xxxxx-g1-xxxxx.
4

Make your first request

Point your OpenAI SDK at the gateway using your access key:
You don’t need to sign up with OpenAI or bring your own keys for this request. ngrok.ai handles the billing for you.

Already have credits and an access key?

Give this to your AI coding agent to complete the SDK integration step automatically.

Open in Cursor

Next steps