Welcome to Synapse Garden
One API key for every LLM. Drop-in OpenAI- and Anthropic-compatible. Per-project keys, transparent metering, no surprise bills.
What is Synapse Garden?
Synapse Garden is a drop-in API for over 100 language, image, and video models — OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, and more — all behind a single endpoint. Use the OpenAI SDK, the Anthropic SDK, the AI SDK, or plain fetch. Change the base URL, keep your code.
The fastest path to a successful response: Quickstart. No credit card required for the free tier.
Quickstart
import { generateText } from "ai"
const { text } = await generateText({
model: "openai/gpt-5.4",
baseURL: "https://synapse.garden/api/v1",
apiKey: process.env.MG_KEY,
prompt: "Why is the sky blue?",
})
console.log(text)import OpenAI from "openai"
const client = new OpenAI({
apiKey: process.env.MG_KEY,
baseURL: "https://synapse.garden/api/v1",
})
const res = await client.chat.completions.create({
model: "openai/gpt-5.4",
messages: [{ role: "user", content: "Why is the sky blue?" }],
})What you get on day one
Per-project API keys
Issue mg_live_* keys scoped per project. Hashed at rest. Revoke and rotate without redeploying.
Honest metering
Token-accurate logs and atomic credit deduction. No surprise overage at month end.
Governance, by default
Per-project model allowlists, RPM and TPM rate limits, hard spend caps. Audit trail on every action.
One catalog, every model
GPT, Claude, Gemini, Llama, plus image and video models — all behind one endpoint.
Try it now
Edit the request, hit run. We use a sandbox key on this page so you don't need to sign up to try it.
Where to go next
- Quickstart — sign up, get a key, ship a request
- Authentication — API keys, OIDC, key rotation, per-environment patterns
- Models & providers — the full catalog, pricing, modalities
- Provider routing —
order/only/sort, model fallbacks, timeouts - Governance — projects, allowlists, spend caps, audit log
- API reference — auto-generated from our OpenAPI spec
Email hi@synapse.garden — same-day reply during the beta. Or open an issue against the docs from the link in the bottom-right of any page.