AI Gateway
One API for every AI provider. Built-in security, observability, and compliance.
Supported Providers
Everything in one gateway
AI Gateway combines five essential capabilities into one unified solution.
Multi-Provider Routing
14+ providers, one API
Route requests to OpenAI, Anthropic, Google, Mistral, Meta, and more through a single unified API.
- OpenAI-compatible API
- Automatic fallback
- Model equivalence mapping
AI Security
Production-grade protection
Real-time protection against prompt injection, PII leakage, and harmful content.
- Prompt injection detection
- PII scanning
- Content filtering
Full Observability
See everything
Complete visibility into every AI request. Logs, analytics, latency, and cost tracking.
- Request/response logging
- P50/P90/P99 latency
- Cost per request
Developer Platform
Ship faster
TypeScript and Python SDKs, Vercel AI SDK integration, API key management.
- TypeScript & Python SDKs
- Vercel AI SDK provider
- Rate limiting
Compliance Ready
Enterprise-grade audit
Full audit trail, security incident logging, and data governance policies.
- Audit logs
- Security incidents
- Policy enforcement
Integrate in 3 lines
Drop-in replacement for your existing OpenAI calls. Switch providers with one parameter.
import { Cencori } from 'cencori';
const cencori = new Cencori({
apiKey: process.env.CENCORI_API_KEY
});
const response = await cencori.ai.chat({
model: 'gpt-4o',
messages: [{ role: 'user', content: 'Hello!' }]
});