Unity AI Gateway is the Databricks governance layer for enterprise AI, and it is the product previously marketed as Mosaic AI Gateway. It reached general availability on 4 August 2026. It registers models, agents, MCP servers, and skills as Unity Catalog securables, then applies access control, rate limits, traffic routing and failover, service policies (guardrails), request and response logging into Delta tables, usage tracking, cost attribution, and budget caps. Billing rides the Databricks DBU model, not a per-request gateway fee, and external provider spend is estimated from published prices in the system.ai_gateway.external_model_spend table.
- Mosaic AI Gateway is now Unity AI Gateway. Same gateway, GA on 4 August 2026.
- It governs more than model endpoints: agents, MCP servers, tools, and skills are Unity Catalog securables too.
- Core controls: access control, rate limits, traffic routing with failover, service policies, logging, budgets.
- Smart Routing (quality, cost, latency, availability, budget) shipped in Beta, not GA.
- Billed in DBUs. There is no per-request gateway price to quote.
- External provider spend is an estimate from published prices and may not match the provider invoice.
The name changed, and that is the first thing to know
Databricks shipped this as Mosaic AI Gateway, part of the Mosaic AI product family it inherited from the MosaicML acquisition. In 2026 it moved onto Unity Catalog as the governance substrate and took the Unity name with it. General availability was announced on 4 August 2026.
Practically: your notes, your vendor deck, and half the blog posts on the internet still say Mosaic AI Gateway. Databricks' own documentation tree retains legacy pages under the old name. They refer to the same gateway. If you are evaluating against a 2025 comparison table, assume the feature list has moved on.
What it actually governs
Databricks positions this as governance for runtime interactions, not just for data assets. The registerable surface is broad.
- Databricks-hosted foundation model serving endpoints
- External models from other providers, proxied through the gateway
- AI agents, including coding agents
- MCP servers and the tools they expose
- Skills
Each is registered as a Unity Catalog securable, which is what makes the permissions, lineage, and audit story consistent with the rest of the Databricks estate. If your organisation already runs Unity Catalog for table-level access control, this is the same grant model applied to models and tools.
| Capability | What it does |
|---|---|
| Access control | Register AI assets as Unity Catalog securables and grant on them |
| Rate limiting | Consumption limits on model and MCP services, for capacity and cost |
| Traffic management | Distribute across multiple model destinations, with failover |
| Service policies (guardrails) | Per-request and per-response rules, including PII detection |
| Usage tracking | Requests, token usage, and latency via system tables |
| Cost monitoring | Attribution to service, target model, principal, and tags |
| Request and response logging | Into Unity Catalog Delta tables |
| Budget management | Per-user thresholds and hard caps |
| Smart Routing | Beta. Routes on quality, cost, performance, availability, budget |
Native multi-model access covers Anthropic, OpenAI, Gemini, Kimi, GLM, and others. Databricks cites over a quadrillion tokens through the gateway in the past year and a single customer at more than 100 billion tokens a month, which is the scale claim rather than a limit.
How it bills, and why nobody quotes a price
Every gateway article wants a dollar figure and this one does not have one, because Databricks does not bill AI Gateway as a line item. Consumption normalises into Databricks Units, and the gateway's costs show up inside your existing DBU bill alongside model serving.
| Table | What it records |
|---|---|
system.billing.usage | Databricks-hosted model cost, as MODEL_SERVING records in DBUs |
system.ai_gateway.external_model_spend | External provider spend, aggregated hourly, in estimated USD |
Cost breaks down by model service (usage_metadata.ai_gateway.endpoint_name), by target model (destination_model), by requesting principal (identity_metadata.run_by, user or service principal), and by custom tags such as team or cost centre.
Two consumption modes exist underneath: provisioned throughput, where you commit to reserved capacity and pay for it around the clock, and pay-per-token, which is the usual choice for development and intermittent workloads. Provisioned throughput is where a Databricks AI bill gets large quietly, because reserved capacity bills whether or not you send traffic.
Putting controls on an endpoint
The gateway is configured per endpoint rather than globally, which is the right granularity but means a policy is only as good as your coverage of the endpoints people actually call. The order below is the one that fails least often.
Register the asset in Unity Catalog
A model serving endpoint, an external model, an MCP server, or an agent. Until it is a securable, nothing else in this list applies to it.
Grant, then rate limit
Access control decides who may call it at all. Rate limits then decide how hard, per model service and per MCP service, which is your capacity and cost guard before any budget kicks in.
Turn on request and response logging
Payloads land in Unity Catalog Delta tables you own. Do this before you need it: logging is not retroactive, and an incident review with no payloads is a guess.
Add service policies
Guardrails run per request and per response, including PII detection. They are the part most likely to change behaviour visibly, so stage them on a low-traffic endpoint first.
Set budgets, then verify against the system tables
Per-user thresholds and hard caps. Then check the numbers against the tables below rather than trusting the dashboard alone.
SELECT
usage_metadata.ai_gateway.endpoint_name AS service,
usage_metadata.ai_gateway.destination_model AS model,
identity_metadata.run_by AS principal,
SUM(estimated_usd) AS spend_usd
FROM system.ai_gateway.external_model_spend
WHERE usage_date >= current_date() - INTERVAL 30 DAYS
GROUP BY ALL
ORDER BY spend_usd DESC;
Column names vary by cloud and release, so treat that query as the shape rather than as copy-paste. The point is that attribution is a table you can join against, not a screenshot: the gateway's value in a large organisation is that chargeback becomes SQL.
Who it is for
It fits when
- You already run Unity Catalog and want one permission model for tables, models, agents, and tools.
- Governance is the requirement and cost control is a benefit, rather than the other way round.
- You need request and response payloads landing in Delta tables you own, for audit or evaluation.
- Multiple teams share model endpoints and you need per-principal attribution and hard budget caps.
It does not fit when
- You are not a Databricks shop. There is no standalone Unity AI Gateway. Adopting it means adopting the platform.
- You want a fast, cheap proxy in front of two providers. LiteLLM, Bifrost, or Cloudflare do that in an afternoon and cost nothing.
- You need a published price to put in a business case. DBU-based billing is not quotable without a workload model.
- Your problem is developer laptops. A platform gateway cannot see a coding agent running on a subscription on someone's Mac.
| Unity AI Gateway | Standalone gateway | |
|---|---|---|
| Identity model | Unity Catalog principals and grants | API keys and virtual keys |
| Governed objects | Models, agents, MCP servers, tools, skills | Usually models only |
| Log destination | Delta tables you own | Vendor store, or your own if self-hosted |
| Pricing | DBUs, inside the platform bill | Free, per-seat, per-request, or per-log |
| Time to first request | Platform onboarding | Minutes |
Questions people ask
What is Databricks AI Gateway?
It is Databricks' governance layer for enterprise AI, now called Unity AI Gateway and previously marketed as Mosaic AI Gateway. It registers models, agents, MCP servers, tools, and skills as Unity Catalog securables, then applies access control, rate limits, traffic routing with failover, service policies, request and response logging into Delta tables, usage tracking, cost attribution, and budgets.
Is Mosaic AI Gateway the same as Unity AI Gateway?
Yes. Databricks renamed Mosaic AI Gateway to Unity AI Gateway when it moved onto Unity Catalog, and the renamed product reached general availability on 4 August 2026. Legacy documentation pages under the Mosaic name still exist and describe the same gateway. If you are reading a 2025 comparison, expect the feature list to have grown, particularly around agents and MCP.
How much does Databricks AI Gateway cost?
There is no per-request gateway fee to quote. Consumption normalises into Databricks Units and appears inside your platform bill: Databricks-hosted model serving lands in system.billing.usage as MODEL_SERVING DBU records, and external provider spend appears in system.ai_gateway.external_model_spend as an hourly USD estimate. Underneath, model serving runs either as provisioned throughput with reserved capacity or pay-per-token.
Does Databricks AI Gateway track what I spend with OpenAI or Anthropic?
Yes, as an estimate. It computes USD spend for each request from token usage times the external provider's published prices, aggregated hourly into system.ai_gateway.external_model_spend. Databricks warns that these figures might not reflect your final provider invoice, so treat it as a management dashboard rather than an accounting source, and reconcile against the provider bill.
What does Unity AI Gateway do that a normal LLM gateway does not?
It governs non-model objects. Agents, MCP servers, the tools those servers expose, and skills are registered as Unity Catalog securables with the same grants, lineage, and audit as your tables. Most standalone gateways govern model calls only. It also lands request and response payloads in Delta tables you own rather than in a vendor log store.
Can I use Unity AI Gateway without Databricks?
No. It is not sold or deployable as a standalone gateway, and its identity model is Unity Catalog. If you want the governance shape without the platform, look at self-hosted options such as LiteLLM or Bifrost, or an enterprise gateway like TrueFoundry or Kong that runs in your own Kubernetes.
Sources
Every figure above was read from these pages on August 2026. Vendors reprice without notice; if you find a stale number, tell us.
- AI governance with Unity AI Gateway (Databricks docs) capability list and governed objects
- Unity AI Gateway is Generally Available (Databricks blog) GA date 4 August 2026, Smart Routing beta, scale figures
- Monitor Unity AI Gateway cost system tables, attribution dimensions, estimate disclaimer
- Unity AI Gateway product page positioning and multi-model support