Meridian is an open-source LLM API gateway. Add your provider keys once, get a proxy key, and call any model through a unified OpenAI-compatible API. Your real keys never touch your app code.
// Every file, every service...
const openai = new OpenAI({
apiKey: "sk-real-key-exposed"
});
const anthropic = new Anthropic({
apiKey: "sk-ant-another-key"
});// One key. Any model.
const res = await fetch(
"https://your.meridian/api/v1/chat/completions",
{
headers: {
Authorization: "Bearer sk-mrd-..."
},
body: JSON.stringify({
model: "gpt-4.1", // or claude, gemini...
messages: [{ role: "user", content: "Hi" }]
})
}
);API keys scattered across .env files, config services, and code. One leak and you're exposed.
No idea which team, app, or feature is burning through your LLM budget until the bill arrives.
Switching from GPT-4 to Claude means rewriting API calls everywhere. No easy way to compare.
Generate revocable proxy keys. Your real API keys stay encrypted and hidden.
Provider keys encrypted at rest with AES-256-GCM. Decrypted only for the instant of the request.
OpenAI-compatible endpoint for all providers. One format, every model.
Per-request logging with token counts, latency, and cost estimates. Real-time dashboard.
Route traffic between models with configurable splits. Compare cost and latency.
Apache 2.0 licensed. Self-host anywhere. Full control over your LLM infrastructure.
Connect OpenAI, Anthropic, or Google Gemini. Keys are encrypted instantly.
Create a revocable proxy key (sk-mrd-...). Use it in all your apps.
Hit the unified API. Meridian routes, logs, and returns the response.
More providers coming soon. Contributions welcome.
GPT-4.1, GPT-4.1 Mini, GPT-4o, GPT Image 1
Claude Sonnet 4, Claude Opus 4, Claude 3.7 Sonnet
Gemini 2.5 Pro, Gemini 2.5 Flash, Gemini 2.0 Flash
Meridian is Apache 2.0 licensed. Inspect every line of code. Self-host on your own infrastructure. Contribute features the whole community needs.