Skip to main content
You can specify the upstream provider with a model name prefix. This is typically used when you want to pin a specific provider’s AI models or have explicit requirements for consistent behavior.

Default routing (no provider specified)

When you don’t add a prefix, the system uses the default route: it automatically selects an available upstream.

Specify a provider (add a prefix to the model name)

Specify the provider using the provider/<base_model> format:

Note: specifying a provider may change the price

  • Billing prices for the default route and a specified provider may differ
  • Before using this in production, confirm the price and availability of the model at that provider before pinning it

Further reading

Model Naming (prefix / base model / :free)

See the full model naming rules, the free-model :free suffix, and more examples.