---
title: "AI Gateway - Route requests to any provider that offers a model with multi-provider routing — Cloud Changelog"
description: "AI Gateway now supports multi-provider routing. When it is on, a request for a model can go to any provider that serves that model. For example, a request…"
url: "https://cloudchangelog.com/cloudflare/2026-12-02-multi-provider-routing"
updated: "2026-12-02"
---

[Back to feed](https://cloudchangelog.com/feed/2026-W49)

December 2, 2026 · Cloudflare

# AI Gateway - Route requests to any provider that offers a model with multi-provider routing

- [AI Gateway](https://cloudchangelog.com/products/cloudflare/ai-gateway)
- [AI and machine learning](https://cloudchangelog.com/search?q=ai-ml)

## What changed

**AI Gateway multi-provider routing:** Requests for a model can go to any provider serving it; on by default for new gateways from December 9, 2026.

AI Gateway now supports multi-provider routing. When it is on, a request for a model can go to any provider that serves that model. For example, a request for a Claude model can go to Anthropic or to Google Vertex AI.

Starting December 9, 2026, multi-provider routing is on by default for new gateways. Gateways created before then keep using the providers they use today until you turn the setting on.

To turn on multi-provider routing for an existing gateway, go to your gateway's **Settings** and turn on **Multi-Provider Routing**. To use the API, set `multiprovider_enabled` to `true` in the request body of a [`PUT` request to update the gateway](https://developers.cloudflare.com/api/resources/ai_gateway/methods/update/):

```
{
	"multiprovider_enabled": true
}
```

When the setting is off, you can still choose a provider for a single request. Name the provider in the `cf-aig-allowed-providers` header. [Model aliases](https://developers.cloudflare.com/ai-gateway/features/routing/model-aliases/) can use every provider whether the setting is on or off.

With this release, more models are available from alternate providers on gateways with multi-provider routing:

- [`openai/gpt-oss-20b` ↗︎](https://dash.cloudflare.com/?to=/:account/ai/models/openai/gpt-oss-20b) and [`alibaba/qwen3.8-27b` ↗︎](https://dash.cloudflare.com/?to=/:account/ai/models/alibaba/qwen3.8-27b) on Groq.
- [Anthropic Claude models ↗︎](https://dash.cloudflare.com/?to=/:account/ai/models&authors=anthropic) on Google Vertex AI.
- [Google Gemini models ↗︎](https://dash.cloudflare.com/?to=/:account/ai/models&authors=google) on Google AI Studio.
- [`moonshotai/kimi-k3` ↗︎](https://dash.cloudflare.com/?to=/:account/ai/models/moonshotai/kimi-k3) and [`deepseek-ai/deepseek-v4.1-flash-1017` ↗︎](https://dash.cloudflare.com/?to=/:account/ai/models/deepseek-ai/deepseek-v4.1-flash-1017) on Fireworks.

More models and providers are on the way.

#### Set the provider order

You can also control which provider AI Gateway tries first for a model. Set the `cf-aig-provider-order` header to list the providers to try first. Set the `cf-aig-provider-sort` header to `price` to order the remaining providers by their input and output token price.

For example, [`anthropic/claude-haiku-5.5` ↗︎](https://dash.cloudflare.com/?to=/:account/ai/models/anthropic/claude-haiku-5.5) is available from Anthropic and Google Vertex AI. On a gateway with multi-provider routing on, this request tries Google Vertex AI first, and falls back to Anthropic:

```
curl "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/messages" \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --header "cf-aig-provider-order: google-vertex-ai" \
  --data '{
    "model": "anthropic/claude-haiku-5.5",
    "messages": [{ "role": "user", "content": "Reply with a short greeting." }],
    "max_tokens": 128
  }'
```

The provider order is a preference. It does not remove providers from the pool, and it does not add providers that the gateway does not allow. AI Gateway can still choose a different provider if the preferred one is unhealthy.

For more information, refer to [Multi-provider routing](https://developers.cloudflare.com/ai-gateway/features/routing/multi-provider-routing/).

Get the week’s Cloudflare changes in one email

Your email address

Free, every Monday: only what changed in Cloudflare that week. We email you a link to confirm.

[See last week’s digest](https://cloudchangelog.com/digests/weekly-2026-W48#provider-cloudflare)

Free. Unsubscribe any time.

[Read on developers.cloudflare.com](https://developers.cloudflare.com/changelog/post/2026-12-02-multi-provider-routing/)

## Related updates

- Apr 16, 2026

  [AI Gateway adds third-party models to the AI.run() binding, 70+ models across 12+ providers](https://cloudchangelog.com/cloudflare/cloudflare-blog-2026-04-16-c299b4af18f3)
- Aug 7, 2026

  [AI Gateway - Workers AI and AI Gateway unify model access and billing](https://cloudchangelog.com/cloudflare/2026-08-07-workers-ai-unified-billing)
- Sep 30, 2026

  [Cloudflare Auto Router in public beta in AI Gateway, with up to 30% savings](https://cloudchangelog.com/cloudflare/cloudflare-blog-2026-09-30-ee440c0d1eba)
- Nov 17, 2026

  [Generally Available: Azure AI Gateway](https://cloudchangelog.com/azure/580080) · Azure
- Dec 1, 2026

  [Amazon Bedrock Gateway and smart routing are now available in gated preview](https://cloudchangelog.com/a/2026-12-amazon-bedrock-gateway-smart-routing-gated-preview) · AWS

[All AI Gateway changes](https://cloudchangelog.com/products/cloudflare/ai-gateway)

## Contact

- [YouTube](https://www.youtube.com/@cloudchangelog)
