Every AI request, under your control.
One endpoint for 100+ models. AI control, security, observability, and monetization.
OpenAI-compatible API. Fast setup. No rewrite.
Everything in one gateway
AI Gateway combines six essential capabilities into one unified solution.
Universal AI Gateway
Connect any client to any model with a single, secure API.
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!' }]
});The only AI gateway
that makes you money.
Every other gateway stops at routing. Cencori closes the loop with native monetization, budgets, and direct payouts — no extra plumbing, no revenue leakage.
Zero-latency margin calculator
Set percentage markups or flat fees per model. The math is calculated on the fly as payloads pass through the gateway.
Hard edge quota enforcement
Define strict token, request, or dollar limits per user. When limits are exceeded, Cencori blocks requests with a neat 429 at the edge, keeping your API bills safe.
Direct Stripe Connect payouts
Link your Stripe account once. Invoices are dispatched, funds are collected, and payouts land directly in your account. Cencori never touches the money.
const response = await cencori.ai.chat({
model: 'gpt-4o',
messages: [{ role: 'user', content: '...' }],
user: 'user_123' // Meters & limits instantly
});Every request meters token counts and charges user balance automatically at the network edge.
Controls
Set limits before costs drift.
Not after the spike.
Hard spend caps
Set limits that actually stop traffic when a budget is reached, so one broken workflow does not become an expensive incident.
Budget alerts
Get warned before you hit the threshold, with alerts designed for teams managing production and staging separately.
End-user billing
Allocate AI costs downstream with cleaner billing controls for products that need customer-level usage accounting.
Project-level control
Set different rules for production, staging, and internal tools so your budget policy matches how the organization actually works.