Effective December 9, 2026, Cloudflare AI Gateway enables multi‑provider routing by default on newly created gateways, while existing gateways remain on the previous single‑provider mode until the feature is explicitly turned on. The shift allows a single model identifier to be satisfied by any connected provider that offers the model, which directly impacts how AI engineers, platform teams, and security operators configure and monitor their AI workloads.
Enabling Multi‑Provider Routing
For an existing gateway, the setting can be toggled in the UI under Settings → Multi‑Provider Routing or via the API. The API payload is a simple JSON object:
{
"multiprovider_enabled": true
}
When the flag is false, the gateway continues to use the provider that was originally selected for each model. The header cf-aig-allowed-providers can still be used to force a specific provider on a per‑request basis, regardless of the global setting.
Provider Selection Controls
Even with routing enabled, engineers retain control over the order in which providers are tried. The request header cf-aig-provider-order accepts a comma‑separated list of provider identifiers, dictating the primary candidates. Any providers not listed are considered fallback options. Adding cf-aig-provider-sort=price tells the gateway to rank the remaining providers by their token pricing, which can be useful for cost‑aware routing policies.
For example, a request for anthropic/claude-haiku-5.5 can be directed to try Google Vertex AI first and fall back to Anthropic by setting cf-aig-provider-order: google-vertex-ai. The gateway will automatically switch to the next provider if the primary one is unavailable or returns an error.
Expanded Model Availability
With multi‑provider routing active, several models become reachable from additional vendors:
openai/gpt-oss-20bandalibaba/qwen3.8-27bare now accessible via Groq.- Anthropic Claude models are also offered through Google Vertex AI.
- Google Gemini models can be sourced from Google AI Studio.
- MoonshotAI’s
kimi-k3and DeepSeek’sdeepseek-v4.1-flash-1017are available on Fireworks.
These additions mean that a single model name may resolve to multiple back‑ends, giving teams flexibility to choose based on latency, cost, or regional compliance considerations.
Related CloudNinjas coverage: AI engineering.
What This Means For Practitioners
Engineers should audit existing AI Gateway configurations to decide whether to enable multi‑provider routing now or defer until a controlled rollout is possible. Updating the multiprovider_enabled flag introduces a new failure domain: provider availability and pricing variations become part of the operational surface. Monitoring should be extended to capture which provider fulfilled each request, and alerting should consider provider‑specific error patterns. Security reviews need to verify that any additional provider endpoints are covered by existing network egress controls and that credential scopes remain appropriate for each vendor.
