Skip to main content

Your LLM traffic and your AI agents, behind the same gateway as your APIs

Send requests to OpenAI, Anthropic, Azure OpenAI, Amazon Bedrock, Google Gemini and more through one gateway in your own infrastructure, with fallback, token limits and prompt rules. Serve your APIs to AI agents with OpenAPI to MCP.

Request a demoWhere your keys and prompts go

In every edition, Community included

OpenAPI to MCP

Serve your existing APIs to AI agents

Add the openapi-to-mcp Plugin to a Route and point it at an API’s OpenAPI document. MCP clients, such as AI agents, can then list the API’s operations as tools and call them. The G8 engine does the conversion, inside your infrastructure.

Set it up in one form

The openapi-to-mcp form has two parts: where the document and the service are, and how MCP clients connect to the Route.

  • Transportsse or streamable_http, the two ways an MCP client can exchange messages with the Route.
  • HeadersHeaders sent with every call to the service, such as a tenant name.
With the rules you already have

Your identity, your limits, your logs

The MCP endpoint is a Route like any other. The Plugins you already use run on it, before openapi-to-mcp.

Your identity

Put an authentication Plugin on the Route, and MCP clients sign in like any other client.

key-auth · jwt-auth · openid-connect

Your limits

Rate limits on the Route count MCP requests like any other requests.

limit-count · limit-req

Your logs

MCP requests appear in Traffic Explorer and in the logs you already send.

http-logger · kafka-logger
Authentication and limits run before openapi-to-mcp: the order comes from the engine’s Plugin priorities.
LLM gateway

Providers, token limits and prompt rules for every model call

Each capability is a Plugin with its own form in the G8 console. Attach them to the Route your applications call. The Route’s request path shows the order they run in.

Send each request to the right provider

Route traffic to OpenAI, Anthropic, Azure OpenAI, Amazon Bedrock, Google Gemini, Vertex AI, DeepSeek, OpenRouter and AI/ML API, or to any OpenAI-compatible endpoint, including a model you run yourself.

  1. Keys stay at the gatewayProvider keys are set in the Plugin, masked for roles that can’t manage it.
  2. BalancingSpread requests across instances by round robin, by a hash of a request value or by how similar prompts are.
  3. FallbackMove a request to another instance when one returns a server error or is rate limited.
ai-proxy · ai-proxy-multi
Keys and data

Where your keys and prompts go

  • Provider keys stay at the gatewayApplications call the Route with their own credentials. The provider key is set in the Plugin and stored on the engine, and roles that can’t manage the Route see it masked.
  • Model calls recorded like any requestRequests to models appear in Traffic Explorer like any other request, with the masking you set. The Plugin can add the model, the duration and the token counts, or the request and response bodies, to the records your logger Plugins write.
  • Data leaves only for what you configurePrompts leave your infrastructure only for the providers and services you set in a Plugin: a model provider, an embedding or search service, a moderation service or Lakera Guard. A model you run behind an OpenAI-compatible endpoint keeps them inside.
Same rules as your APIs

AI traffic runs on the same Routes, roles, Environments and audit record as your APIs

Identity Plugins, rate limits and logging work on a Route to a model as on any other Route. The G8 engine checks each change to it, and G8 records the change before it’s applied.

Control from one consoleAnalytics and Traffic Explorer
What you provide

What the AI capabilities connect to

AI Gateway runs on the same G8 engine clusters as your APIs. Each capability needs only what it connects to, and only when you use it.

What API Gateway needs
Provider accounts and keys

An account and a key for each model provider you send traffic to, or an OpenAI-compatible endpoint you run.

Redis

For semantic and exact caching, and for token limits shared across gateway nodes. The semantic layer needs the RediSearch module and an embedding model from OpenAI or Azure OpenAI.

A vector search service

For retrieval: Azure AI Search, with embeddings from Azure OpenAI.

A moderation service

For content moderation, such as Amazon Comprehend.

A Lakera Guard project

For Lakera Guard: the project and its API key.

See G8 in a demo

We’ll show your team a Route to language models in the G8 console, with a fallback provider and a token limit, and one of your APIs served to MCP clients.

Request a demo