Home / Gateway

One safe endpoint for every AI call

Your apps, Claude Code, Codex and Cursor call AgentKeyRoute instead of the AI provider. Every request is checked, cleaned, sent to a model you approved, and logged. Your code stays the same.

OpenAI- and Anthropic-compatible · 25,000 free requests a month

Change one line
from openai import OpenAI

client = OpenAI(
  base_url="https://gateway.agentkeyroute.com/v1",
  api_key="<your API key>",
)
Patient name and record number removedSent to the on-premises model your rule requires
Cleaned
Provider rate limit hitRetried on the next model your rules allow
Fallback
Why Gateway

Every tool talks to AI its own way. Gateway gives you one control point.

Cleans data automatically

Health, personal, payment and secret data is found and swapped for typed placeholders before the request leaves, so the model still understands the task.

Sends data where it's allowed

Health data to your on-premises model, EU personal data to EU regions. Your ordered rules decide, and anything no rule allows is denied.

Keeps working when providers don't

Failed calls are retried, then sent to the next approved model, so provider outages and rate limits don't reach your users.

Any model

Connect the providers you already pay for

Add provider keys once, in AgentKeyRoute. Each tool gets its own AgentKeyRoute key and never sees the provider keys.

  • Model providers: OpenAI, Anthropic, Google Gemini, Mistral, xAI Grok, OpenRouter and more.
  • Your cloud tenancy: Azure OpenAI, AWS Bedrock and Google Vertex AI.
  • Your own models: Ollama, vLLM and other servers in your cloud or data centre.
  • Subscriptions: Claude, ChatGPT, Copilot and Gemini accounts, under the same rules. Check your vendor's terms, since consumer plans are licensed for personal use.

See every supported provider and model →

OpenAIHealthy
AnthropicHealthy
Azure OpenAI (EU)Healthy
On-premises LlamaHealth data only
Cost control

Know what AI costs, team by team

Every request is metered and tagged with the team, workload and person behind it.

  • Budgets per key, team or agent. When one is spent, requests stop with a clear error.
  • Prompt compression and caching to cut cost and latency.
  • Model verification: the gateway checks which model actually answered. If it isn't one your policy allowed, the request fails closed.
Engineering$1,240 / $2,000
Support bot$610 / $800
Marketing$95 / $300
How it works

Live in three steps

Add your providers

Paste your provider keys, connect a subscription, or point to your own model server.

Create a key per tool

Each app, agent or coding tool gets its own key, tied to a team, a workload and a governance profile.

Change the base URL

Swap the provider URL for gateway.agentkeyroute.com/v1. That's the only code change.

Using Claude Code, Codex or Cursor? Set it up with one prompt →

Built-in routing engine

Reliable by design, not just compliant

The routing engine keeps requests flowing when providers slow down, hit limits or fail, and it only ever uses connections your policy allows.

Retries and fallback

A failed call is retried, then sent to the next model your rules allow.

Circuit breaker

A struggling provider is taken out of rotation until it recovers.

Request queue

Bursts wait their turn instead of failing when limits are reached.

Cooldowns and rotation

Rate-limited accounts rest, and traffic spreads across several accounts of one provider.

Concurrency limits

Cap simultaneous requests per provider to stay under rate limits.

Risk checks

Prompt-injection checks and a risk score decide whether to allow, hold for review or block.

See all nine checks every request goes through →

FAQ

Gateway questions

Read the quickstart →
Do I need to rewrite my app?

No. The gateway speaks the OpenAI and Anthropic APIs. Change the base URL and the key, and everything else keeps working.

Does it work with Claude Code, Codex and Cursor?

Yes. Point the tool at the gateway and give it its own key. One-prompt setup →

Where are my provider keys stored?

Sealed in AgentKeyRoute. Your apps only ever see their own AgentKeyRoute key, which you can revoke at any time.

Do you resell model usage?

No. You connect your own provider accounts and pay those vendors directly. AgentKeyRoute meters and reports the cost.

Can it run without internet access?

Yes. AgentKeyRoute can run on your own servers, fully air-gapped, next to your own models.

One URL. Every model. Your rules.

25,000 free requests a month. No credit card needed.