https://gateway.ngrok.ai spends credits.
Each request pays a small processing fee. When you use ngrok.ai inference for built-in OpenAI and Anthropic, credits also cover the model cost. See How credits are consumed for the full breakdown.
AI Gateway credits are separate from your ngrok platform billing on dashboard.ngrok.com.
Accounts and plans
You don’t need a specific ngrok subscription plan to use the AI Gateway or purchase credits. Sign in at app.ngrok.ai, buy credits, and create an access key. The AI Gateway and your broader ngrok account share the same ngrok account, but they are separate systems:| app.ngrok.ai | dashboard.ngrok.com | |
|---|---|---|
| Purpose | AI Gateway: keys, providers, credits, usage | ngrok platform: subscription, team members, tunnels, endpoints |
| Credits | AI Gateway credits (this page) | Not used for AI Gateway traffic |
Purchasing credits
Visit the Credits page and purchase at least USD $5.00. You can also start checkout via the AI Gateway API:How credits are consumed
| Routing | Credits pay for | You pay separately |
|---|---|---|
| Built-in OpenAI or Anthropic (ngrok.ai inference) | Processing fee and upstream model cost | Nothing |
| Built-in provider with your provider key | Processing fee | Upstream model cost to your provider |
Balance tracking
You can view your balance on the Credits page, or via the API:What happens when credits run out
When your credit balance reaches zero, the gateway rejects new requests until you purchase more credits.Processing fee
Every successful request through the gateway incurs a processing fee at USD $0.05 per million tokens. The fee is based on the tokens in your request and response. It applies to all traffic—ngrok.ai inference, your own provider keys, and custom providers—and does not vary by model or provider. When you use ngrok.ai inference for built-in OpenAI and Anthropic providers, credits also cover upstream model cost. When you bring your own key, upstream costs stay on your provider account and credits cover only the processing fee.Next steps
- Access Keys: Authenticate requests to the gateway
- Quickstart: Purchase credits and make your first request
- Bring Your Own Keys: Use your own provider API keys