What should I look for in an enterprise AI model router?
Summary
- Look for control first: an enterprise model router has to enforce who can use which model, cap spend and log every request, as well as pick destinations.
- The core routing features to test are weighted splits, ordered fallbacks on errors and rate limits, session affinity, and a stable service name so models can change without application changes.
- Identity matters more at scale than routing algorithms: check for per-user and per-group permissions, rate limits and budgets.
- Check what you can observe: per-request usage with the requester's identity, payload logging, cost attribution by team or tag, and lineage from model to consumer.
- On Databricks, Unity Gateway covers these criteria with Unity Catalog securables, and Smart Routing (Beta) adds task-aware model selection for coding agents.
What should I look for in an enterprise AI model router?
Look for a router that governs as well as it routes. Sending a request to the cheapest healthy model is the easy part. The hard part is doing it under each caller's identity, inside a budget, with a record of every decision. The right enterprise model router is one that platform, security and finance teams can all run from the same place, across every model provider you use.
Key capabilities to evaluate
| Capability | Why it matters | What to ask |
|---|---|---|
| Multi-provider destinations | You'll mix hosted, external and open models | Can one route mix provider types? |
| Stable service names | Applications shouldn't change when models do | Can I change the model behind a name with no client change? |
| Weighted splits | Safe rollouts and A/B tests | How are weights applied, and is there a destination limit? |
| Ordered fallbacks | Availability during errors and throttling | Which errors trigger a fallback, and is the order fixed? |
| Session affinity | Consistent multi-turn behavior and cache reuse | How are sessions pinned? |
| Task-aware selection | Frontier models only where they're needed | Per task or per request, and what lifecycle stage? |
| Identity-based access | Not every team should reach every model | Are permissions set per user, group and service principal? |
| Rate limits and budgets | Stops runaway agents and invoice surprises | Can limits and budgets apply per user and group, and can budgets block? |
| Credential custody | Provider keys don't belong in app config | Are credentials stored once, encrypted, and never returned on read? |
| Observability | Debugging, chargeback and audit | Is every request logged with identity, tags and latency? |
| Guardrails | Content safety and data-leak prevention | Do policies check requests and responses, and do they fail closed? |
| Automation | Config as code for platform teams | Is there an API, SDKs, a CLI and Terraform support? |
Red flags
- Per-turn model switching. Hopping between models inside one conversation can defeat prompt caching. A Databricks blog post on Smart Routing explains why: "at scale, costs are dominated by cache hit rate."
- Budgets sold as billing caps. Near-real-time spend estimates can drift from the final invoice. Ask what the vendor treats as the source of truth.
- Separate systems for models and tools. If MCP tool calls are governed somewhere else, identity and audit split in two.
How Databricks approaches enterprise model routing
Unity Gateway is the generally available governance layer for enterprise AI, built on Unity Catalog. Here's how it maps to the criteria above.
- Destinations and names. A model service routes to Databricks-served or external models, which you can mix in one service. Callers use
catalog.schema.name, so you can "Change the underlying model without changing the name the application calls." - Splits, fallbacks and affinity. Traffic splitting supports "a maximum of 5 destinations", fallbacks run "in the exact order specified", and session affinity is automatic for requests with a session header.
- Task-aware selection. Smart Routing is in Beta for supported coding agents and chooses only among
system.aimodel services. - Identity and limits. Callers need
EXECUTEon a service. Rate limits cover queries and tokens per minute at service, per-user and group level. Budgets can alert, block or both, with per-user thresholds, and the docs warn against treating them as "an absolute spend cap on final billed amounts". - Credentials. Model provider services encrypt provider credentials and don't return them on read. Lineage shows which model services route to a provider.
- Observability.
system.ai_gateway.usagerecords the requester, tokens, latency and tags (usage tracking), and inference tables log request and response payloads for model services. - Guardrails. Service policies, in Beta, check requests and responses and fail closed.
- Tools too. The same permissions, rate limits and audit apply to MCP services (govern an MCP).
- Automation. The Unity Gateway API and developer tools, including Terraform, the CLI and SDKs, are GA per the release notes.
FAQs
Should routing logic live in the application or the gateway?
In the gateway. Routing in each application copies provider credentials and failover code into every service and leaves no central record.
Is task-aware routing ready for production?
Judge it by its stated lifecycle. On Databricks, Smart Routing is in Beta and aimed at coding agents, while rule-based splits and fallbacks are part of model services.
How do I prove a router saves money?
Tag requests by workload, record spend per task, change the routing, then measure again on the same tags. Your own workload is the benchmark that counts.
Does the router need to handle tool calls?
It should. Agents act through tool calls as well as model calls, so govern MCP traffic in the same place as model traffic.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.