# Cross-link map: AI Gateway Provider Routing and Fallbacks (/docs/ai-gateway/models-and-providers/provider-options)

> From the Vercel docs graph (built 2026-10-28T05:45:04.324Z), spanning vercel.com docs + KB, nextjs.org, ai-sdk.dev, and other Vercel documentation sites. Full graph as JSON: https://vercel.com/docs/graph.json

## Semantically closest pages

- [AI Gateway Models and Providers](https://vercel.com/docs/ai-gateway/models-and-providers) — Choose AI Gateway models and providers. Configure routing, fallbacks, timeouts, prompt caching, reasoning, and web searc
- [AI Gateway Model Fallbacks](https://vercel.com/docs/ai-gateway/models-and-providers/model-fallbacks) — Configure AI Gateway model fallbacks to try backup models when the primary model is unavailable. Set fallback order and
- [OpenResponses Configuration with AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/openresponses/advanced) — Configure provider routing, fallbacks, and restrictions using the OpenResponses API through AI Gateway.
- [Vercel AI Gateway: Models, Routing, and Observability](https://vercel.com/docs/ai-gateway) — Call AI models from any infrastructure through a managed gateway. Centralize credentials, request logs, spend budgets, r
- [AI Gateway Model Filtering](https://vercel.com/docs/ai-gateway/models-and-providers/model-filtering) — Restrict AI Gateway routing to models that have specific capabilities using the has option.

## This page links to (16)

- [AI SDK Providers](https://ai-sdk.dev/providers/ai-sdk-providers) — Learn how to use AI SDK providers.
- [AI Gateway](https://ai-sdk.dev/providers/ai-sdk-providers/ai-gateway) — Learn how to use the AI Gateway provider with the AI SDK.
- [Anthropic](https://ai-sdk.dev/providers/ai-sdk-providers/anthropic) — Learn how to use Anthropic with AI Gateway and the direct provider.
- [DeepSeek](https://ai-sdk.dev/providers/ai-sdk-providers/deepseek) — Learn how to use DeepSeek with AI Gateway and the direct provider.
- [OpenAI](https://ai-sdk.dev/providers/ai-sdk-providers/openai) — Learn how to use OpenAI with AI Gateway and the direct provider.
- [Bring Your Own Key \\(BYOK\\) to AI Gateway](https://vercel.com/docs/ai-gateway/authentication-and-byok/byok) — Learn how to configure your own provider keys with AI Gateway.
- [AI Gateway Automatic Prompt Caching](https://vercel.com/docs/ai-gateway/models-and-providers/automatic-caching) — Enable automatic prompt caching and session affinity with AI Gateway to reduce costs and latency.
- [Decision Fallbacks](https://vercel.com/docs/ai-gateway/models-and-providers/decision-fallbacks) — Escalate uncertain AI Gateway decision results to another model with confidence, probability, and compound conditions.
- [AI Gateway Model Fallbacks](https://vercel.com/docs/ai-gateway/models-and-providers/model-fallbacks) — Configure AI Gateway model fallbacks to try backup models when the primary model is unavailable. Set fallback order and
- [AI Gateway Provider Filtering, Ordering, and Sorting](https://vercel.com/docs/ai-gateway/models-and-providers/provider-filtering-and-ordering) — Control AI Gateway provider routing with order, only, and sort. Set preferences, restrict providers, and rank them by co
- [AI Gateway Provider Timeouts](https://vercel.com/docs/ai-gateway/models-and-providers/provider-timeouts) — Configure AI Gateway timeouts for BYOK providers. Fail over to the next provider when a request takes too long to start
- [AI Gateway Anthropic Reasoning](https://vercel.com/docs/ai-gateway/models-and-providers/reasoning/anthropic) — Configure adaptive and extended thinking for Anthropic Claude models with the AI SDK and AI Gateway.
- [AI Gateway OpenAI Reasoning](https://vercel.com/docs/ai-gateway/models-and-providers/reasoning/openai) — Configure reasoning and thinking for OpenAI models with the AI SDK and AI Gateway.
- [AI Gateway Session Affinity](https://vercel.com/docs/ai-gateway/models-and-providers/session-affinity) — Keep AI Gateway conversations on the provider that holds their prompt cache, using session IDs, fingerprinting, and pin
- [AI Gateway SDKs and APIs](https://vercel.com/docs/ai-gateway/sdks-and-apis) — Connect to AI Gateway with the AI SDK, Python, REST, or compatible OpenAI, Anthropic Messages, OpenResponses, and Cohere
- [OpenAI Responses API with AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/responses) — Use the OpenAI Responses API with AI Gateway to generate text, call tools, stream tokens, and more across any supported

## Pages that link here (51)

By site: ai-sdk (25) · vercel-changelog (2) · vercel-kb (2) · vercel-web (1) · vercel-docs (21)

### From ai-sdk

- [Alibaba](https://ai-sdk.dev/providers/ai-sdk-providers/alibaba) — Learn how to use Alibaba with AI Gateway and the direct provider.
- [Anthropic](https://ai-sdk.dev/providers/ai-sdk-providers/anthropic) — Learn how to use Anthropic with AI Gateway and the direct provider.
- [Black Forest Labs](https://ai-sdk.dev/providers/ai-sdk-providers/black-forest-labs) — Learn how to use Black Forest Labs with AI Gateway and the direct provider.
- [ByteDance](https://ai-sdk.dev/providers/ai-sdk-providers/bytedance) — Learn how to use ByteDance with AI Gateway and the direct provider.
- [Cohere](https://ai-sdk.dev/providers/ai-sdk-providers/cohere) — Learn how to use Cohere with AI Gateway and the direct provider.
- [DeepSeek](https://ai-sdk.dev/providers/ai-sdk-providers/deepseek) — Learn how to use DeepSeek with AI Gateway and the direct provider.
- [Fal](https://ai-sdk.dev/providers/ai-sdk-providers/fal) — Learn how to use Fal with AI Gateway and the direct provider.
- [Fish Audio](https://ai-sdk.dev/providers/ai-sdk-providers/fish-audio) — Learn how to use Fish Audio with AI Gateway and the direct provider.
- [Google](https://ai-sdk.dev/providers/ai-sdk-providers/google) — Learn how to use Google models through AI Gateway or the direct Google provider.
- [HeyGen](https://ai-sdk.dev/providers/ai-sdk-providers/heygen) — Learn how to use HeyGen with AI Gateway and the direct provider.
- [Hugging Face](https://ai-sdk.dev/providers/ai-sdk-providers/huggingface) — Learn how to use Hugging Face with AI Gateway and the direct provider.
- [Kling AI](https://ai-sdk.dev/providers/ai-sdk-providers/klingai) — Learn how to use Kling AI with AI Gateway and the direct provider.
- [MiniMax](https://ai-sdk.dev/providers/ai-sdk-providers/minimax) — Learn how to use MiniMax with AI Gateway and the direct provider.
- [Mistral AI](https://ai-sdk.dev/providers/ai-sdk-providers/mistral) — Learn how to use Mistral AI with AI Gateway and the direct provider.
- [Moonshot AI](https://ai-sdk.dev/providers/ai-sdk-providers/moonshotai) — Learn how to use Moonshot AI with AI Gateway and the direct provider.
- [OpenAI](https://ai-sdk.dev/providers/ai-sdk-providers/openai) — Learn how to use OpenAI with AI Gateway and the direct provider.
- [Perplexity](https://ai-sdk.dev/providers/ai-sdk-providers/perplexity) — Learn how to use Perplexity with AI Gateway and the direct provider.
- [Prodia](https://ai-sdk.dev/providers/ai-sdk-providers/prodia) — Learn how to use Prodia with AI Gateway and the direct provider.
- [QuiverAI](https://ai-sdk.dev/providers/ai-sdk-providers/quiverai) — Learn how to use QuiverAI with AI Gateway and the direct provider.
- [Replicate](https://ai-sdk.dev/providers/ai-sdk-providers/replicate) — Learn how to use Replicate with AI Gateway and the direct provider.
- [Topaz Labs](https://ai-sdk.dev/providers/ai-sdk-providers/topaz) — Learn how to use Topaz Labs with AI Gateway and the direct provider.
- [TypeSafe](https://ai-sdk.dev/providers/ai-sdk-providers/typesafe-ai) — Learn how to use TypeSafe with AI Gateway and the direct provider.
- [Voyage AI](https://ai-sdk.dev/providers/ai-sdk-providers/voyage) — Learn how to use Voyage AI with AI Gateway and the direct provider.
- [xAI Grok](https://ai-sdk.dev/providers/ai-sdk-providers/xai) — Learn how to use xAI with AI Gateway and the direct provider.
- [Z.AI](https://ai-sdk.dev/providers/ai-sdk-providers/zai) — Learn how to use Z.AI with AI Gateway and the direct provider.

### From vercel-changelog

- [ Routing rules now available on AI Gateway](https://vercel.com/changelog/ai-gateway-routing-rules)
- [MiniMax M3.1 Flash now available on AI Gateway for free](https://vercel.com/changelog/minimax-m3-1-flash-now-available-on-ai-gateway-for-free)

### From vercel-kb

- [Build AI agents with AI Gateway and AI SDK](https://vercel.com/kb/guide/ai-gateway-and-ai-sdk) — Build AI agents on Vercel with AI Gateway and AI SDK, then make them reliable, capable, and durable with Sandbox, Chat S
- [How to control AI provider data handling with AI Gateway](https://vercel.com/kb/guide/control-ai-provider-data) — Prevent AI providers from training on your prompts, enforce zero data retention, and restrict providers and models with

### From vercel-web

- [Zero Data Retention on AI Gateway](https://vercel.com/blog/zdr-on-ai-gateway)

### From vercel-docs

- [Hermes with AI Gateway](https://vercel.com/docs/ai-gateway/coding-agents/hermes) — Connect Hermes to AI Gateway with the Vercel CLI or manual provider configuration. Set your API key, discover models, an
- [OpenCode with AI Gateway](https://vercel.com/docs/ai-gateway/coding-agents/opencode) — Connect OpenCode to AI Gateway with one CLI command, or configure it in-app.
- [Getting Started with AI Gateway](https://vercel.com/docs/ai-gateway/getting-started) — Set up AI Gateway with a coding agent, route the agent through AI Gateway, or make your first request with cURL, TypeScr
- [Migrate to AI Gateway Using Your Coding Agent](https://vercel.com/docs/ai-gateway/getting-started/migrate-to-ai-gateway) — Move your app's model calls to Vercel AI Gateway with a single coding-agent prompt, whatever provider or SDK you use tod
- [AI Gateway Text Generation Quickstart](https://vercel.com/docs/ai-gateway/getting-started/text) — Generate and stream text responses using AI Gateway.
- [AI Gateway Text Generation](https://vercel.com/docs/ai-gateway/modalities/text-generation) — Generate and stream text from 300+ models through AI Gateway, with tool calling and structured output.
- [AI Gateway Models and Providers](https://vercel.com/docs/ai-gateway/models-and-providers) — Choose AI Gateway models and providers. Configure routing, fallbacks, timeouts, prompt caching, reasoning, and web searc
- [Decision Fallbacks](https://vercel.com/docs/ai-gateway/models-and-providers/decision-fallbacks) — Escalate uncertain AI Gateway decision results to another model with confidence, probability, and compound conditions.
- [AI Gateway Model Fallbacks](https://vercel.com/docs/ai-gateway/models-and-providers/model-fallbacks) — Configure AI Gateway model fallbacks to try backup models when the primary model is unavailable. Set fallback order and
- [AI Gateway Provider Filtering, Ordering, and Sorting](https://vercel.com/docs/ai-gateway/models-and-providers/provider-filtering-and-ordering) — Control AI Gateway provider routing with order, only, and sort. Set preferences, restrict providers, and rank them by co
- [AI Gateway Provider Timeouts](https://vercel.com/docs/ai-gateway/models-and-providers/provider-timeouts) — Configure AI Gateway timeouts for BYOK providers. Fail over to the next provider when a request takes too long to start
- [AI Gateway Reasoning](https://vercel.com/docs/ai-gateway/models-and-providers/reasoning) — Discover model reasoning capabilities and configure effort across AI SDK, Chat Completions, Messages, and Responses with
- [AI Gateway Routing Rules](https://vercel.com/docs/ai-gateway/models-and-providers/routing-rules) — Define team-wide rules that rewrite requests from one model to another or deny specific models in AI Gateway.
- [AI Gateway Custom Reporting API](https://vercel.com/docs/ai-gateway/observability-and-spend/custom-reporting) — Query AI Gateway usage data grouped by model, user, tag, provider, or credential type using the Custom Reporting API.
- [AI Gateway Trace Drains](https://vercel.com/docs/ai-gateway/observability-and-spend/trace-drains) — Forward an OpenTelemetry trace of every AI Gateway request to your own observability tool, and understand trace drain bi
- [AI SDK with AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk) — Build AI-powered TypeScript applications using the AI SDK with AI Gateway for unified access to 400+ models.
- [AI SDK for Python with AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/ai-sdk-python) — Build AI-powered Python applications using the AI SDK for Python with AI Gateway for unified access to 400+ models.
- [Anthropic Messages API with AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/anthropic-messages-api) — Use the Anthropic Messages API with AI Gateway. Configure authentication and send requests with streaming, tools, images
- [Cohere Rerank API with AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/cohere-rerank) — Use the Cohere-compatible Rerank API with AI Gateway to reorder documents by relevance with the Cohere SDK or plain HTTP
- [OpenAI Chat Completions Configuration with AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/openai-chat-completions/advanced) — Configure provider options, model fallbacks, BYOK credentials, and prompt caching through AI Gateway.
- [AI Gateway Provider Allowlist](https://vercel.com/docs/ai-gateway/security-and-compliance/provider-allowlist) — Restrict which AI providers your team can route through AI Gateway. Available on Pro and Enterprise.
