How the catalog works
When you send a request with a model name likegpt-4o, the gateway automatically:
- Resolves the model using the catalog
- Finds every provider that serves the model, with the model author’s own provider (for example, OpenAI) first, and applies the right provider credentials
- Routes the request to the provider’s endpoint
provider:model format in the model string. For example:
Built-in providers
The catalog includes built-in providers—public AI APIs with known models and routing metadata. You can manage them on the Providers page.Authentication
Send traffic using an access key. This key authenticates your requests to the gateway, not to the upstream provider.Billing and provider credentials
The AI Gateway splits billing into two parts: using the gateway and paying the model provider. Many built-in models don’t need a provider key. You can spot them in the tables below: if Needs BYOK? says “No,” you can use the model right away as long as you have credits. The gateway takes care of authentication and charges your credits. Availability is per model, so a provider can have some models you can pay for with credits and some you can’t. Other providers do need a key. For those, add your provider key in app.ngrok.ai. The provider will bill you directly for model usage, and your credits will cover the gateway fee. This is often called BYOK (bring your own key).OpenAI
How to use OpenAI →
OpenAI models
Anthropic
How to use Anthropic →
Anthropic models
How to use Google →
Google models
DeepSeek
How to use DeepSeek →
DeepSeek models
xAI
How to use xAI →
xAI models
Groq
How to use Groq →
Groq provides AI inference powered by their custom LPU (Language Processing Unit) hardware.
Groq models
Mistral AI
How to use Mistral AI →
Mistral AI models
Moonshot AI
How to use Moonshot AI →
Moonshot AI models
Z.ai
How to use Z.ai →
Z.ai models
QwenCloud
How to use QwenCloud →
QwenCloud models
MiniMax
How to use MiniMax →
MiniMax models
Tencent TokenHub
How to use Tencent TokenHub →
Tencent TokenHub models
Typesafe AI
How to use Typesafe AI →
Typesafe AI models
OpenRouter
How to use OpenRouter →
OpenRouter is a unified API that provides access to multiple AI models from various providers through a single endpoint.
The catalog lists no models for OpenRouter. Send any model ID the provider serves with the
openrouter: prefix, and the gateway passes it through.
Hyperbolic
How to use Hyperbolic →
Hyperbolic provides high-performance inference for open-source models.
The catalog lists no models for Hyperbolic. Send any model ID the provider serves with the
hyperbolic: prefix, and the gateway passes it through.
InceptionLabs
How to use InceptionLabs →
InceptionLabs develops diffusion-based language models for fast, efficient text generation.
The catalog lists no models for InceptionLabs. Send any model ID the provider serves with the
inceptionlabs: prefix, and the gateway passes it through.
Inference.net
How to use Inference.net →
Inference.net provides a distributed inference network for running AI models at scale.
The catalog lists no models for Inference.net. Send any model ID the provider serves with the
inference.net: prefix, and the gateway passes it through.
Using models from the catalog
Simple model reference
Reference models directly by their ID. A bare ID such asgpt-4o resolves to every provider that serves the model. The full catalog ID, such as openai/gpt-4o, works too:
Explicit provider
Use theprovider:model format for explicit routing:
Custom providers
Built-in providers cover major public APIs. For self-hosted models (Ollama, vLLM, LM Studio) or other endpoints, create a custom provider in the Custom tab in app.ngrok.ai. Custom providers always require a provider key when the upstream needs authentication. See Custom providers to add one.Catalog updates
The model catalog is updated periodically to include new models and providers. To use a model that isn’t in the catalog yet, send it with its provider prefix, such asgroq:new-model-id. The gateway passes it through to that provider. Uncataloged models need your own provider key, because ngrok.ai can’t price them, so you can’t pay for them with credits.