| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
One API for GPT, Claude, Gemini & 200+ AI models
RouterBase routes models from OpenAI, Anthropic, Google, Meta, and more through one OpenAI-compatible API—with smart routing, automatic fallback, and unified billing.
Use the official OpenAI SDK and point it at RouterBase:
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 from RouterBase" }],
});
console.log(response.choices[0].message.content);Explore the quickstart for Node.js, Python, cURL, and model discovery.
| Resource | What you will find |
|---|---|
| Examples | Practical starters for Node.js, Python, Docker, Go, Ruby, and TypeScript runtimes. |
| API Collections | OpenAPI, Postman, Bruno, and Insomnia collections. |
| Cookbook | Focused tutorials and small, reusable examples. |
| Awesome RouterBase | A curated directory of RouterBase packages, SDKs, tools, and guides. |
| RouterBase CLI | A dependency-free command-line client for chat completions and model listing. |
| Setup RouterBase | A GitHub Action for configuring RouterBase in CI workflows. |
TensorZero is an open-source stack for industrial-grade LLM applications. It unifies an LLM gateway, observability, optimization, evaluation, and experimentation.
Dev Container Feature for RouterBase OpenAI-compatible configuration
This organization has no public members. You must be a member to see who’s a part of this organization.
Loading…
Loading…
| Back | FazBrowse Home | New Git URL |