Skip to main content

What are the best AI gateways?

Summary

  • The best AI gateway governs model, tool and agent traffic with the same identity, permissions and audit trail you already apply to data, and enforces cost and safety policy on each request, not just records it.
  • Evaluate gateways on identity-aware access control, multi-provider model access, routing and fallbacks, rate limits and budgets, guardrails, observability, audit, MCP and agent governance, coding agent support, automation, and the GA or Beta status of each feature.
  • Feature lists look alike, so test a shortlist on your own traffic: provider failures, budget enforcement under concurrency, and whether audit records separate a person from an agent acting for them.
  • For organizations that build data and AI on Databricks, we believe Unity Gateway, generally available since August 4, 2026, is the strongest choice because it governs models, MCP servers and agent tool access with Unity Catalog permissions, and coding agents through its CLI, next to the data they touch.

What are the best AI gateways?

The best AI gateway is the one that governs model, tool and agent traffic with the same identity, permissions and audit trail you already apply to data, and that enforces cost and safety policy on every request, not just records it. Most gateways list similar features. The real differences show up in identity integration, how enforcement behaves under load, and how much of the feature set is generally available. For organizations that build data and AI on Databricks, we believe Unity Gateway is the strongest choice, because it governs models, MCP servers and agent tool access with Unity Catalog permissions, and coding agents through its CLI, alongside the data they reach.

What is an AI gateway?

An AI gateway is a control point between AI clients, such as applications, agents and coding assistants, and the models and tools they call. Databricks engineers describe it as the central place for four jobs: capacity management and proxying of access to proprietary and open models; budget tracking and enforcement; configuration management for end-user tools, such as model allow-lists; and logging of sessions for later analysis (source).

Key capabilities to evaluate

Capability What good looks like
Identity-aware access control Per-user and per-group grants on models and tools, tied to your identity provider, with no shared provider keys on laptops.
Multi-provider model access Hosted and external models behind one API, with provider credentials stored and encrypted centrally.
Routing and resilience Traffic splitting for gradual rollouts, ordered fallbacks on errors, and session affinity so caching keeps working.
Rate limits and budgets Limits by requests and by tokens; shared and per-user budgets that can block, with documented enforcement behavior.
Guardrails Policies on request and response content (PII, prompt injection, unsafe content), plus custom rules.
Observability Usage, latency, token and cost data by user, model and tag, queryable with SQL.
Audit and tracing Request and response logs and traces that distinguish a person from an agent acting on their behalf.
Tool and agent governance MCP servers and agent tools governed with the same permission model as models.
Coding agent support Works with the agents developers already use, with central configuration.
Automation API, SDK, CLI and Terraform support so configuration lives in code.
Maturity Clear GA or Beta labeling for every capability you plan to depend on.

How to test a shortlist

  • Replay representative traffic, including streaming and tool calls.
  • Simulate provider errors such as 429 and 5xx responses, and confirm fallbacks fire in the order you set.
  • Exhaust a test budget under concurrent load and measure overshoot. Databricks documents that its own budget enforcement uses near real-time estimates and that requests in progress can complete past a threshold.
  • Check that audit records separate a human caller from an agent acting for them.

How Databricks approaches the AI gateway

Unity Gateway is the Databricks governance solution for enterprise AI, built on Unity Catalog. It became generally available on August 4, 2026, and the Beta pieces are labeled below.

  • Access. Model services, model provider services and MCP services are Unity Catalog securables, governed with the same Unity Catalog privileges used for other data and AI assets, such as EXECUTE.
  • Models. Databricks-hosted foundation models are ready in system.ai. External providers connect through model provider services that encrypt and store credentials. Provisioned Throughput traffic can also be governed through the gateway.
  • Traffic. Rate limits by QPM or TPM at the service, user and group levels, plus traffic splitting and fallbacks with session affinity.
  • Spend. Budgets with shared and per-user thresholds that alert or block. Including external model spend is in Beta.
  • Guardrails (Beta). Service policies with built-in guardrails for PII, prompt injection and unsafe content, custom policies, and external partner guardrails.
  • Observability. The system.ai_gateway.usage table, cost analysis, inference tables, audit events in system.access.audit with run_by and run_as fields, and lineage. The unified trace table, in OpenTelemetry format, is in Beta.
  • Coding agents. The ug CLI connects Claude Code, Codex, OpenCode and other agents. Central coding agent configuration and Smart Routing are in Beta.
  • Automation. The Unity Gateway API for model services, model provider services and MCP services is generally available, with Terraform provider, Databricks CLI and SDK support. Declarative Automation Bundles support is in Beta.

One limit to note: Unity Gateway is not supported on AWS GovCloud.

FAQs

Is Unity Gateway generally available?

Yes, since August 4, 2026. Some capabilities, including service policies, Smart Routing, the unified trace table and coding agent configuration, remain in Beta.

Can an AI gateway guarantee a hard spending cap?

Treat budgets as near real-time cost control. Databricks states that Unity Gateway budgets shouldn't be used to ensure an absolute cap on final billed amounts, and system.billing.usage remains the source of truth.

Does Unity Gateway work with models outside Databricks?

Yes. Register an external provider once as a model provider service, and access control, usage tracking, rate limits and inference tables apply to it.

Does it work in regulated environments?

Unity Gateway supports all compliance security profile standards that Databricks supports and is available by default for workspaces with the compliance security profile enabled.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.