{"license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"Credit the site and link to the page the figure came from."},"source":{"name":"AI Gateway Tools","url":"https://aigateway.tools/blog/what-is-an-ai-gateway/","home":"https://aigateway.tools/","method":"https://aigateway.tools/methodology/","data_month":"Dec 2026","note":"Compiled from public web pages. The page behind each fact is listed in `sources` where a document has one."},"generated_at":"2026-12-03T08:15:00.000Z","site":{"key":"gateway","name":"AI Gateway Tools","domain":"aigateway.tools"},"slug":"what-is-an-ai-gateway","url":"https://aigateway.tools/blog/what-is-an-ai-gateway/","json":"https://aigateway.tools/blog/what-is-an-ai-gateway.json","title":"What is an AI gateway? What 132 of them actually do","description":"An AI gateway sits between your app and the model providers. Here is what the 132 gateways, routers and proxies in this index say they do, how many run in your own network, and what to ask before you pick one.","author":"Editorial desk","published_at":"2026-12-02","updated_at":"2026-12-02","tags":[],"reading_minutes":6,"sources":[{"url":"https://aigateway.tools/methodology/","title":"AI Gateway Tools: methodology"},{"url":"https://developers.cloudflare.com/ai-gateway/reference/pricing/","title":"Cloudflare AI Gateway pricing"},{"url":"https://vercel.com/docs/ai-gateway/pricing","title":"Vercel AI Gateway pricing"}],"faq":[{"q":"What is an AI gateway in one sentence?","a":"A service your app calls instead of calling OpenAI, Anthropic or another provider directly; it forwards the request and adds keys, limits, fallbacks, caching and logs on the way."},{"q":"Do most AI gateways run in my own network?","a":"Most do. In this index far more entries say they can be self-hosted than are offered as a managed service, and some offer both; the post gives the current counts and the chart."},{"q":"Which control do AI gateways name most often?","a":"Fallbacks lead in the AI gateways list, ahead of budgets, caching and tracing; load balancing is named least of the six. The post gives the current counts."},{"q":"Is an AI gateway the same as an API gateway?","a":"No. An API gateway manages any HTTP API. An AI gateway understands model requests: tokens, providers, streaming, prompts. Several API gateways in this index added AI plugins, such as Kong and Apache APISIX."}],"body_markdown":"An AI gateway is the one endpoint your application calls instead of calling each model provider. It forwards the request to OpenAI, Anthropic, Gemini or a model you host, and on the way it can swap keys, enforce budgets, retry on another provider, cache answers and write a log line. This guide uses the 132 gateways, routers and proxies in this index to show what that means in practice, as of 2 December 2026.\n\n<picture class=\"gw-fig\"><source media=\"(max-width: 599px)\" srcset=\"/sites/gateway/img/blog/request-path-m.svg\"><img src=\"/sites/gateway/img/blog/request-path.svg\" alt=\"Diagram: your app sends every request to one AI gateway endpoint, which adds keys, budgets, fallbacks, cache and logs, then forwards it to a provider. Of the 70 AI gateways, 62 name OpenAI, 60 Anthropic, 47 Gemini, 44 Azure OpenAI, 38 Mistral and 37 Bedrock\" width=\"680\" height=\"376\"></picture>\n\n## What sits in the request path\n\nEvery product here does the same basic job: accept a request shaped like a provider API, decide where to send it, send it, and return the answer. The differences are in what happens around that hop. We sort the index into seven lists:\n\n| List | Entries | What it is for |\n|---|---:|---|\n| AI gateways | 70 | One endpoint in front of many providers, with keys, budgets, fallbacks and logs |\n| MCP gateways | 39 | One governed endpoint between agents and many MCP servers |\n| LLM proxies | 30 | Thin layers that log, redact or translate requests |\n| LLM routers | 27 | Pick the model per request by cost, latency or task |\n| AI security gateways | 13 | Redact, filter or block what reaches a model |\n| API gateways with AI features | 12 | API platforms that added LLM plugins |\n| LLM observability gateways | 9 | Proxies whose main job is tracing and cost tracking |\n\nAn entry can sit in more than one list, so the column adds up to more than 132.\n\n## Where it runs\n\n<picture class=\"gw-fig\"><source media=\"(max-width: 599px)\" srcset=\"/sites/gateway/img/blog/deployment-m.svg?v=r8\"><img src=\"/sites/gateway/img/blog/deployment.svg?v=r8\" alt=\"Bar chart: 83 of 132 gateways are self-hosted only, 24 can be self-hosted or managed, 6 are managed only and 19 do not state it\" width=\"680\" height=\"272\" loading=\"lazy\" decoding=\"async\"></picture>\n\nMost gateways in this index are software you run: 107 of 132 say they can be self-hosted, against 30 offered as a managed service, with 24 offering both. That split matters more than any feature. A self-hosted gateway keeps prompts and keys inside your network and costs you a server and someone to patch it. A managed one costs a fee or a plan and sees your traffic.\n\nOf the 132 entries, 91 carry an OSI licence that GitHub reports or that the licence file states, mostly Apache-2.0 (45) and MIT (34). The [open source AI gateways list](/best/open-source-ai-gateways/) ranks the ones you can read before you run.\n\n## What gateways say they do\n\n<picture class=\"gw-fig\"><source media=\"(max-width: 599px)\" srcset=\"/sites/gateway/img/blog/controls-ai-gateways-m.svg?v=r8\"><img src=\"/sites/gateway/img/blog/controls-ai-gateways.svg?v=r8\" alt=\"Bar chart of six controls named by the 70 AI gateways: fallbacks 73%, budgets 70%, caching 64%, tracing 64%, guardrails 59%, load balancing 49%\" width=\"680\" height=\"340\" loading=\"lazy\" decoding=\"async\"></picture>\n\nWe read each vendor's homepage, README and one docs page, and list a control when that text names it. For the 70 entries in the AI gateways list:\n\n- Fallbacks are named by 51 of 70: if a provider errors or times out, the gateway retries elsewhere.\n- Budgets by 49: a spend cap per key, team or project.\n- Caching by 45 and tracing by 45. Only 17 name semantic caching, which matches similar prompts and not only identical ones.\n- Guardrails by 41: checks on what goes in or comes out.\n- Load balancing by 34: spreading traffic across several keys or deployments of one model.\n\nIn that list, 16 of the 70 name all six. A name in the docs is a claim, not a test result; the profile of each gateway links the page that makes it.\n\n## API shape\n\nA gateway is only a drop-in if it accepts the request format your code already sends. 81 of 132 entries say they accept OpenAI-shaped requests and 43 say they accept Anthropic-shaped ones. 49 do not say either way, which usually means a native SDK or a format you have to adapt to. If your team uses Claude Code or another coding agent through a gateway, the Anthropic shape is the one to check: 63 entries name Claude Code in their own docs.\n\n## AI gateway or API gateway\n\nIf you already run Kong, Apache APISIX, Tyk or Azure API Management, you may not need a separate product: 12 API gateways here added AI plugins for token limits, provider routing or prompt guards. The trade-off is depth. A dedicated AI gateway usually names more providers (25 of the 70 in the AI gateways list name ten or more) and ships model-aware controls first.\n\n## Five questions to ask before you pick\n\n1. Must prompts stay in your network? If yes, start with the self-hosted entries.\n2. Which request shape does your code send today, OpenAI or Anthropic?\n3. Which providers do you call now, and which might you add? Check the provider list on each profile.\n4. Who needs a budget? Per team, per key or per customer.\n5. What does it add to the bill? Managed gateways charge a percentage on credits, a flat plan or nothing on tokens; the [fee calculator](/tools/gateway-cost-calculator/) adds each published fee to your own volume.\n\nThe full ranked list is on the [AI gateways page](/ai-gateways/), and the scoring rules are on the [methodology page](/methodology/)."}