OpenAI-compatible
Keep the SDK and request shape you already know. Change the API key and base URL to get started.
Build with GPT, Claude, Gemini, and models from leading providers without maintaining a separate integration for each one.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.ROUTERBASE_API_KEY,
baseURL: "https://routerbase.com/v1",
});
const response = await client.chat.completions.create({
model: process.env.ROUTERBASE_MODEL,
messages: [{ role: "user", content: "Hello" }],
});
One integration
Keep the SDK and request shape you already know. Change the API key and base URL to get started.
Use one catalog and one endpoint across supported providers, model families, and modalities.
Build more dependable applications with smart routing and automatic fallback available behind the gateway.
Developer resources
Make your first request with Node.js, Python, or cURL.
Practical starters for popular languages and runtimes.
OpenAPI, Postman, Bruno, and Insomnia resources.
Focused tutorials and reusable integration patterns.
Packages, SDKs, tools, and guides in one directory.
Ready when you are
Pick a model from the live catalog, add your API key, and keep using the OpenAI-compatible tools you already know.