Why a gateway
Putting TrustGate between your apps and your model providers gives you one control point for:- Multi-provider access — first-class adapters for OpenAI, Anthropic, Azure OpenAI,
AWS Bedrock, Google Gemini, Vertex AI, Groq, Mistral, and DeepSeek (plus any
OpenAI-compatible endpoint), behind one OpenAI-compatible surface. Chat, Responses,
Messages, embeddings, images,
files, and rerank share the same
consumer. Model discovery is
GET /{consumer}/v1/models. - Smart routing & load balancing — simple routing, fallback chains, round-robin, weighted, least-connections, random, and smart routing by complexity label (Simple / Medium / Hard).
- Cost & abuse control — request rate limiting, token/dollar LLM Budget, and request-size guards.
- Tool & prompt governance — allow-list, validate, and reshape the tools an agent can call; inject and version system prompts; restrict which models a consumer may reach.
- Guardrails — built-in TrustGuard, OpenAI Moderation, Azure Content Safety, and AWS Bedrock guardrail policies to inspect prompts and responses inline.
- Multi-tenancy & auth — per-gateway consumers authenticated by API key, OAuth2, or OIDC, with policies scoped globally or per consumer.
- Observability — rich per-request telemetry (model, tokens, cost, latency breakdown, routing attempts, policy chain) exported with OpenTelemetry and used by detection alerts.
- Agent tooling — a dedicated MCP plane exposes MCP servers and tools to agents (Claude, Cursor, Codex, VS Code, Copilot Studio) with OAuth2 support.
The building blocks
Configure everything in the console under TrustGate. Six objects make up a gateway:How a request flows
auto when
load balancing / smart routing is enabled), and the gateway resolves the registry, applies
policies, and forwards. See Architecture for the full lifecycle.
Where to go next
Quickstart
Create a gateway, connect a provider, and send your first request from the console.
Endpoints
Chat, embeddings, images, files, audio, rerank, and models routes.
Resources
Gateways, registries, consumers, auth, policies, roles.
API
Control-plane REST API for automation and self-hosted setups.