The AI gateway for routing, spend, governance and observability
Requesty is an AI gateway, also called an LLM gateway or LLM router, between your app and 600+ models. Change one base URL and every request gets failover, spend limits, access rules and a full trace.
What is an AI gateway?
An AI gateway is a layer between your application and the model providers it calls. Your code sends every LLM request to one endpoint, and the gateway chooses the model, enforces spend limits and access rules, and records what each call cost and how long it took.
Without one, each of those jobs lives in your application code, written again for every provider. With one, they sit in a single place you configure, and switching or adding a model is a string change. You will also see the same layer called an LLM gateway, an LLM router or an LLM proxy.
- Routing picks the model and provider, and fails over when one errors or rate limits you.
- Spend management counts the tokens and cost of every call and stops at the limit you set.
- Governance decides which teams use which models, and can mask personal data and secrets before a provider sees them.
- Observability logs the call with its model, latency and cost, tagged to whoever it served.
model="policy/prod"
- attempts
- 0
- masked
- 0
- elapsed
- 0.00s
- cost
- $0.0000
Change one line
Your app already speaks the OpenAI or Anthropic format. Point the base URL at Requesty and keep the rest of your code.
Every check, on one line.
The same kind of request, end to end. Six checks before anything leaves, a route, a failover, the answer and the record it leaves behind. Pick any stop to see what the gateway decided.
- elapsed
- 0.000s
- endpoints
- -
- attempts
- 0
- cost
- $0.0000
Your app sends one call
An OpenAI-format request to the EU gateway. The model name is a routing policy, so the code never names a provider.
- endpoint
- router.eu.requesty.ai/v1
- path
- POST /chat/completions
- model
- policy/eu-checkout
- input
- 12,480 tokens
- Request
- Checks
- Route
- Response
- Record
AI gateway vs API gateway
Both sit in front of something and route traffic to it. An API gateway manages requests to your services; an AI gateway manages model calls, which fail, cost and leak in different ways.
| Topic | API gateway | AI gateway |
|---|---|---|
| What sits behind it | What sits behind itYour own services and endpoints | Model providers: OpenAI, Anthropic, Google and 600+ models |
| Unit of cost | Unit of costRequests | Tokens, priced differently by every model |
| When the upstream fails | When the upstream failsRetry, or send to another instance of the same service | Fail over to a different model or provider in the policy |
| Limits | LimitsRequests per second per client | Monthly spend per key, user, team and organization |
| What it inspects | What it inspectsAuth tokens, headers and payload shape | Prompts, scanned for personal data and secrets before a provider sees them |
| What it records | What it recordsStatus code and latency | Model, provider, tokens, cost, time to first token and finish reason |
Many teams run both: the API gateway in front of their own services, the AI gateway between those services and the models.
Comparing AI gateways and LLM routers
The AI and LLM gateways teams evaluate alongside Requesty, and a side by side page for each: hosting, model reach, spend control and governance.
AI gateway questions
An AI gateway is a layer between your application and the model providers it calls. Your code sends every LLM request to one endpoint, and the gateway chooses the model and provider, enforces spend limits and access rules, and logs each call with its tokens, cost and latency. Requesty is an AI gateway for 600+ models behind one OpenAI-compatible API.
An API gateway fronts your own services: it authenticates requests, rate limits clients and routes to backend instances. An AI gateway fronts model providers: it fails over between models and providers, counts tokens and cost, caps spend per key and team, and scans prompts for personal data and secrets. Many teams run both.
In practice, yes. LLM gateway, LLM router and LLM proxy name the same layer. AI gateway is the broader term; LLM gateway is the one people use when the traffic is language models.
An LLM gateway is a service between your application and AI model providers. It gives your application one API and applies routing, fallback, spend controls and access policies to every request. You need one when multiple providers, teams or governance requirements make direct integrations hard to manage; a single-provider prototype usually does not.
The term is used two ways. Most often it means an LLM gateway that routes each request across models and providers, with failover when one errors. It is also used for a classifier that picks a model per prompt. Requesty is the first kind: you choose the models in a routing policy, and the gateway fails over, load balances or picks the fastest of them.
If one app calls one model, probably not yet. Teams add a gateway when they use more than one provider, need a fallback when a provider errors or rate limits them, have to cap and attribute spend across teams and customers, or must show an auditor which data went to which model.
Among AI and LLM gateways: Requesty, OpenRouter, LiteLLM, Portkey, Kong AI Gateway, Cloudflare AI Gateway, Vercel AI Gateway and Helicone. They differ in whether you host them yourself, how many models they reach, and how much spend control and governance they include.
Change the base URL: client = OpenAI(base_url='https://router.requesty.ai/v1', api_key='your-key'). It works with the OpenAI and Anthropic SDKs, any OpenAI-compatible framework, and coding agents such as Claude Code, Cline and Roo Code.
Create a policy in the dashboard and call it as model="policy/name". A policy is a failover chain, a weighted load balance or a latency policy, and policies can be nested. Changing the chain needs no deploy.
Yes. Send requests to router.eu.requesty.ai in Frankfurt and an admin can restrict the organization to the EU gateway, so requests through any other endpoint are rejected. You can also require zero data retention models.
A 5% fee on top of credit top-ups, or 0% with your own provider keys. No seat fees and no minimum spend. Guardrails are billed per token scanned. Enterprise plans add SSO, directory sync and volume discounts.
