OpenAI-Compatible Router
OpenAI-compatible routing — just change the Base URL
MuiRouter speaks the OpenAI API. Keep your existing OpenAI SDK, swap the Base URL and API key, and route to OpenAI, Claude, Gemini, Workers AI and MiMo without touching the rest of your code.
Drop-in OpenAI compatibility
Zero-rewrite migration
The Chat Completions and Images endpoints match OpenAI's format, so existing projects migrate by changing two lines.
Any OpenAI SDK or tool
Works with the official OpenAI SDKs, curl and any framework that targets the OpenAI API — Python, Node.js and more.
More models, same interface
Once you point at MuiRouter you can call Claude, Gemini and MiMo with the same request shape you already use for GPT.
Native passthrough option
Need a provider-specific feature? Use native passthrough to reach each provider's own API while keeping one key.
OpenAI-compatible router FAQ
- What does OpenAI-compatible mean?
- It means MuiRouter accepts the same request and response format as the OpenAI API. Any client built for OpenAI can talk to MuiRouter by changing only the Base URL and API key.
- What do I change in my code?
- Set the OpenAI client's base URL to MuiRouter's endpoint and use your MuiRouter API key. Everything else — messages, streaming, tools — stays the same.
- Can I still use non-OpenAI models?
- Yes. Through the same OpenAI-compatible endpoint you can route to Claude, Gemini and MiMo by setting the model name.
Point your Base URL at MuiRouter
Grab a free API key and route your first OpenAI-compatible request in minutes.