Cloudflare model aliases offer fallback pools, with protocol and replacement limits
Cloudflare announced model aliases for AI Gateway on November 4, 2026. An application calls one name, such as custom/support-fast, while the gateway selects from a configured pool of models. The feature is distinct from an alias attached to a stored provider credential.
Default-order routing tries eligible models in sequence and falls back after a failure. Smart routing chooses a model for each request; the guide says it uses the default order if it cannot rank the models. Eligibility still depends on supported request formats, authentication, billing and gateway policies.
Aliases belong to individual gateways. REST requests identify the alias as the model and select the gateway with the cf-aig-gateway-id header. Calling inference requires Workers AI Read permission, while managing alias configuration uses AI Gateway permissions. These are not interchangeable grants.
Teams can change a pool or routing algorithm without redeploying an application that keeps the same alias name. Renaming the alias does change the name clients must request, and configuration changes can take time to reach every location. A request may still use a cached configuration during that interval.
The current guide allows up to 100 aliases per gateway and 1-50 model entries in each alias. Models must support a shared protocol; an alias does not translate every model-specific input format, and one alias cannot target another custom alias. The guide excludes x402 payments.
An API PUT replaces the complete alias configuration, so omitted model or provider restrictions are not retained automatically. The guide directs teams needing conditional branches, percentage splits or limits inside a flow to dynamic routes instead. The feature does not promise that every catalog model is an eligible target or that fallback bypasses provider outages and access restrictions.