Specifying models
Model name only
gpt-4o in the model catalog and routes to OpenAI.
Provider prefix
provider:model when you want to force a specific provider or target a model you run yourself.
Multiple models (failover)
List fallback models with themodels array:
model first, then each entry in models in order, until one succeeds.
Unknown models (pass-through)
If a model is not in the catalog, the gateway still routes it when you include a provider prefix:Model aliases
Model and provider names are not case-sensitive. The catalog includes built-in aliases—see Aliases reference.Model capabilities
Models differ in input/output modalities, context window, and features. See the model catalog for details.Next steps
- Model catalog: Supported models by provider
- Choose a model: Model IDs and provider prefixes
- Configure fallback models: Try another model when the first one fails
- Restrict providers and models: Limit models per key