AI Model Routing Is a Policy Compiler, Not a Fallback List

A comparison of public-cloud model routers and OpenStack-based private AI gateways as control planes for quality, cost, data sovereignty, multitenancy, and recovery.

An AI application does not operate by sending every request to the largest model. It chooses among models according to query difficulty, latency budget, data classification, region, and cost limit. This is often described as a fallback list: call model B when the primary model fails. But when the router also decides quality, cost, data boundaries, and retries, it is not an application detail. It is a control plane. AI model routing should be treated as a policy compiler that turns a request into an execution path, not as code that merely replaces one model name with another.

A watercolor editorial illustration of AI requests crossing quality, cost, latency, and data-sovereignty policies before splitting into public-cloud and OpenStack execution paths

Routing needs a policy before it needs a candidate list

The rule “if model A times out, call model B” is only a starting point. Production routing must answer questions such as:

  • Is this ordinary text, sensitive internal material, or regulated data?
  • What quality tier and maximum latency are allowed?
  • Which model supports the required language, structured output, tool calls, and context length?
  • Does the model and inference region satisfy the organization’s data-location policy?
  • Can a retry create duplicate charges or duplicate side effects?
  • At what cost limit should the service lower quality or reject the request?

If these conditions are scattered across if statements next to model names, the organization cannot explain a routing decision after the fact. Worse, a timeout may be mistaken for a general failure, causing multiple model calls, duplicate charges, or a silent move to a region where the data is not allowed. A routing policy must declare input classification, allowed boundaries, quality criteria, budget, and recovery behavior together rather than exposing only a model list.

The router’s record should therefore say more than “model B answered.” It should connect the policy version, classification result, evaluated candidates, exclusion reasons, actual region and model, fallback count, quality signal, and estimated cost. This needs to reconstruct the decision without copying the original prompt into a log.

Public clouds package part of routing as a product

Public clouds reduce friction by hiding complex paths among models and regions behind managed APIs. A hidden path, however, does not mean that the provider has replaced the organization’s policy.

The Amazon Bedrock intelligent prompt routing documentation describes a single serverless endpoint that routes requests among foundation models in the same family, predicting response quality per request to optimize quality and cost. Default routers and configured routers support a quick experiment-to-production path. The same documentation says that intelligent prompt routing is optimized for English prompts and does not adjust decisions using application-specific performance data. A Korean customer-service application or a domain-specific tool-calling workflow should not treat the provider’s average quality optimization as its own SLA.

The region boundary must be considered separately. The Bedrock inference profile documentation describes cross-Region inference profiles that distribute requests across regions and application inference profiles that track model usage and cost. This can improve capacity and recovery, but “cross-Region” does not by itself satisfy a data-sovereignty policy. The allowed-region list, cross-region transfer conditions, customer contract, and log-storage location must be checked separately and encoded in the routing policy.

The Microsoft Foundry model router quickstart distinguishes an Auto path that routes requests without a separate deployment from deploying an own model router for production traffic. The default Balanced mode and the response model field let an application observe which model actually answered. As of November 2026, however, the documentation identifies the Auto path as public preview and states that preview features do not have an SLA. An operator must record both the convenience of keeping application code unchanged and the risk that the selection contract is not yet fixed.

Managed routers lower the cost of model selection. Accounts and permissions, regional catalogs, inference APIs, and billing are connected in one provider experience, and the provider handles some model evaluation and capacity adjustment. The tradeoff is dependence on changing routing criteria, supported languages and model families, preview boundaries, and provider-specific response metadata. Making the model API OpenAI-compatible does not make those policy dependencies portable.

OpenStack lets the organization place the router

OpenStack does not provide a managed foundation-model router equivalent to a public-cloud service. That is both a limitation and a control point. An organization can decide whether data-center model servers and external model APIs sit behind one AI gateway, whether tenants get separate paths, and whether sensitive requests may leave the private environment.

That gateway should not become an arbitrary second control plane disconnected from OpenStack. The Keystone documentation describes Keystone as the service for API authentication, service discovery, and distributed multitenant authorization. The router should carry the Keystone project and role context into every request. If a tenant’s model access, data classification, budget, and external-transfer permission are not tied to its token and policy, the AI gateway becomes a separate privilege-escalation path.

The network path is also part of the control plane. The Octavia documentation describes network load balancing for OpenStack. Octavia can sit between the model gateway and internal model endpoints, but load balancing does not replace routing policy. The gateway’s decision record must show whether a request left for an external API, which model server and region it reached, and which recovery path it used during an incident.

The advantage of a private platform is not that it offers unlimited choice. It is that the organization can operate and prove the boundary it chose. If weights and prompts must remain in the facility, internal model servers can be preferred. For data classes allowed to use external models, explicit de-identification and egress rules can be required. If an undersized internal accelerator pool sends requests to a public cloud, the organization must decide whether that is disaster recovery or a data-boundary exception before the incident occurs. OpenStack provides control but does not complete policy automatically. Keystone, networking, secret management, the model gateway, and the audit store must be operated as one boundary.

The difference is the control-plane location, not the number of models

Comparing public clouds and OpenStack by the number of callable models hides the actual tradeoffs.

PerspectivePublic-cloud model routerOpenStack-based private AI gateway
Control-plane locationPackages model catalogs, regions, inference APIs, and routing as a provider serviceComposes Keystone, networking, model servers, and a policy engine internally
Routing unitUses candidates defined by model families, regional profiles, and provider routersDefines tenant, data class, model server, accelerator pool, and egress rules directly
MultitenancyRelies on provider accounts, projects, IAM, and service isolationConnects Keystone roles and projects to gateway policy and private model pools
Data sovereigntyVerifies regions, transfer conditions, service terms, and provider operationsControls and audits the boundary for data, keys, logs, and operators directly
Cost controlTracks token, request, model, and regional charges plus managed-routing costsAllocates equipment, power, spare capacity, external calls, staff, and idle accelerators
PortabilityAPIs may look similar while routing criteria, evaluations, and regional profiles remain provider-specificPolicies and model servers are controllable, but drivers, runtimes, and capacity are owned internally
RecoveryUses multiple regions and provider paths quickly, then revalidates boundaries and qualityPrepares and exercises spare servers, accelerators, and external alternatives directly
Ecosystem and skillsUses provider integration and support organizationsBuilds platform capability while requiring model and infrastructure expertise

OpenStack is not an obsolete version of a public cloud. Public clouds productize routing and capacity operations so consumers can move quickly. An OpenStack-based platform lets an organization govern where a request goes and which resource and data boundary it crosses. The former buys managed experience and elasticity; the latter retains control, data independence, and accelerator choice. Stable utilization and strong sovereignty requirements may justify the private path, but if the organization lacks the people and spare capacity to operate the policy, the claim of direct control becomes weaker.

Make routing policy a deployable artifact

An AI platform team should version router settings with models rather than hide them in application environment variables. At minimum, it needs four artifacts.

Execution contract

For each request class, record allowed models, maximum p95 latency, minimum quality, cost per token or request, allowed regions, and data classification. Replace subjective labels such as “best-quality model” with an approved model version and evaluation set. Manage Korean, long documents, JSON output, and tool calls as distinct classes because their failure modes differ.

Decision record

The router should emit the policy version, classification result, candidate models and exclusion reasons, actual model and region, fallback count, latency, and estimated cost. It does not need to retain the entire prompt and output. Request IDs, token counts, quality results, and model versions should be sufficient to reconstruct the path without replicating sensitive values.

Fallback rules

Fallback is not a retry for every error. Authentication failures, policy violations, safety refusals, and unsupported capabilities should be rejected clearly rather than sent to another model. A temporary capacity or network failure should trigger a retry only after checking idempotency, whether an external tool already ran, and whether the extra charge is acceptable. Recovery exercises must include the fact that a streaming response cannot simply switch paths halfway through.

Evaluation and retirement

Measure the quality and cost of routed models by request class, and reapprove them against the same evaluation set when a model, runtime, or region changes. A provider router may optimize average quality without guaranteeing customer satisfaction, Korean-language quality, or tool-call success for the organization. Give policy and model versions retirement dates, and prevent unapproved candidates from remaining in fallback paths.

In hybrid systems, the common unit is policy, not API

The most common mistake in a hybrid design is assuming that exposing the same model API everywhere creates portability. What must be portable is the meaning of the policy. Rules such as “confidential data uses private models only,” “do not leave approved regions,” and “when p95 exceeds the limit, lower quality but prohibit external transfer” must produce the same outcome in a provider router and a private gateway.

A shared policy schema compiled into each environment’s router configuration is a practical approach. The schema can include data classification, tenant, allowed regions, allowed providers, quality tier, budget, forbidden fallback conditions, and audit fields. A public cloud can compile this into account rules, regional profiles, and managed-router settings. OpenStack can compile it into Keystone project policy, internal model pools, and egress controls. The compiled results may differ, but the difference must be visible and testable.

This also improves recovery. The organization can automatically test whether a small internal model can serve during a provider outage, whether only non-sensitive requests may use a public path when private accelerators are exhausted, and whether a data classification is ever silently downgraded. A recoverable system does not say “send it anywhere.” It says “fail honestly when no allowed candidate satisfies the policy.”

The point of AI model routing is not to attach more models. It is to decide which control plane owns each request and to explain what that decision means for quality, cost, latency, data sovereignty, and recovery. Public clouds let teams buy a routing experience quickly. OpenStack-based platforms let them govern the model and data boundary directly. The first question in a comparison should therefore be where the policy lives and where responsibility moves, not which feature checklist is longer. A router deployed as a fallback list leaves an incident to chance; a router operated as a policy compiler can keep the platform’s promise while models and infrastructure change.

The official sources below were checked on November 30, 2026.