← Back to glossary Glossary

LLM Gateway

Reviewed 19 July 2026 Canonical definition Part of: AI Agent Cost & Token Terms →

An LLM gateway is a centralised proxy that sits between AI agents and foundation model APIs, providing a single point for authentication, rate limiting, cost tracking, content filtering, and audit logging across all model interactions. It allows organisations to enforce consistent governance policies regardless of which model provider or API an agent uses, and to switch model providers without changing agent code.

§01 / QUESTIONSterm: LLM Gateway
Questions

Common questions.

What is LLM Gateway?

An LLM gateway is a centralised proxy that sits between AI agents and foundation model APIs, providing a single point for authentication, rate limiting, cost tracking, content filtering, and audit logging across all model interactions.

Why does LLM Gateway matter for AI agents?

It allows organisations to enforce consistent governance policies regardless of which model provider or API an agent uses, and to switch model providers without changing agent code.

Which terms are related to LLM Gateway?

Closely related concepts include Unit Economics (AI Agent), Agent Quota, Cost per Task (Agent), Inference Cost. Each is defined in the Prefactor glossary.

§02 / RELATEDnext: where this fits
Keep reading

Where this fits.

See how every agent performs, and make it better

Prefactor helps teams observe, evaluate, and improve their AI agents in production, across every framework and provider.