Pricing
$0.05 per million tokens
One gateway fee on every model and provider,
plus the cost of upstream inference.
Estimate
How many tokens do you route?
1M10B
- Tokens routed
- 250,000,000
- Rate
- $0.05 / 1M
- Inference
- billed separately
Gateway fee
Thanks for routing
Inference
Pay for models your way.
ngrok.ai keys
Credits cover the gateway fee and the model, passed through at the provider’s price.
Your provider keys
Credits cover the gateway fee. Your provider bills you for the model at your current rates.
Your own models
Credits cover the gateway fee. The hardware is yours, so inference costs what you pay to run it.
Credits
Buy credits up front. Use them as you route.
Turn on auto top-up and your balance refills from your card before it runs out. There’s no subscription or commitment.
Questions
No. It’s $0.05 per million tokens on every model and provider, including models you run yourself.
The tokens in each successful request and its response. If you use
ngrok/auto, the tokens the gateway reads to pick a model count too.At least $5 at a time. Your balance can hold up to $500.
Yes, one year after you buy them.
Yes. The gateway fee comes from your credits on every request. Your provider bills you for the model.
The gateway rejects new requests with a 402 until you add more. Auto top-up keeps that from happening.
No. Sign in with any ngrok account and buy credits. Your ngrok plan and your AI Gateway credits are billed separately.