Text, image, video, audio — 800+ models from Western and Chinese providers. AI smart routing cuts costs 60-95%. OpenAI-compatible. One line of code.
const client = new OpenAI({
baseURL: "https://api.modurouter.com/v1",
apiKey: "your-key",
});
const res = await client.chat.completions
.create({
model: "auto",
messages: [{ role: "user",
content: "Build a dashboard" }],
});