MuiRouter

OpenAI / Gemini / Claude / Workers AI / MiMo — one router

One AI API Router for Every LLM

MuiRouter is an OpenAI-compatible API router: one key routes your requests to OpenAI, Claude, Gemini and more. No VPN, no overseas account — start free with MiMo, top up for the rest.Drop-in compatible with the OpenAI SDK — just change the Base URL.

5
Major AI Providers
100%
OpenAI Compatible
300+
Cloudflare Nodes
$0
Monthly / Subscription Fee

Route every major LLM through one API

Supporting OpenAI, Anthropic, Google, Workers AI, Xiaomi MiMo, and more — continuously expanding

OpenAI

The most powerful general model — code, reasoning, multimodal

GPT-5GPT-5 miniGPT-5 nanoGPT-4.1GPT Image 2
Anthropic

Ultra-long context, excellent coding and analysis

Claude Fable 5Claude Opus 4.8Claude Opus 4.7Claude Opus 4.6Claude Sonnet 4.6Claude Haiku 4.5
Google

Multimodal native, ultra-large context window

Gemini 2.5 ProGemini 2.5 FlashGemini 2.5 Flash LiteGemini 3 Flash
Workers AI

Cloudflare-native models for low-cost, high-throughput calls

GLM-4.7 FlashQwen3-30BKimi K2.6
Xiaomi MiMo

Xiaomi models covering long context, multimodal, and speech synthesis, with free trial quota available

MiMo v2.5 ProMiMo v2.5MiMo v2.5 FlashMiMo TTS

Supports both OpenAI-compatible mode and native API passthrough — no features lost

Image API

Text-to-image and image editing are on the same gateway

Call GPT Image models through the same API key and billing pipeline. Generate new assets from prompts, or upload reference images for edits without a separate integration.

POST /v1/images/generations

POST /v1/images/edits

Generate from prompt

Use /v1/images/generations for product shots, diagrams, social assets, and visual drafts.

Edit uploaded images

Use /v1/images/edits with multipart uploads to transform, combine, or refine existing images.

One account, one bill

Image requests share the same model registry, wallet balance, usage logs, and API key flow as chat models.

Why developers choose MuiRouter

The AI API router and LLM gateway built for developers worldwide

No VPN Required

Proxied through Cloudflare's global edge network for barrier-free access. No overseas credit card or foreign account needed.

Pay Per Use

No monthly fees, no subscriptions. Top up your wallet, pay only for what you use. Balance never expires, check spending anytime.

OpenAI Compatible

Fully compatible with OpenAI SDK and API format. Existing projects only need to change Base URL and API Key — zero migration cost.

Native API Passthrough

Also supports native APIs from each provider, preserving all parameters and features. Claude's long context, Gemini's multimodal — nothing missed.

Get Started in 3 Steps

From sign-up to API call in as fast as 1 minute

STEP 01

Create Account

Email registration, done in 30 seconds. Get your personal API Key instantly.

STEP 02

Try First, Then Top Up

Use free MiMo quota to test immediately, then top up when you need more models or higher usage.

STEP 03

Start Calling

Replace the Base URL — no other code changes needed.

Integration Is This Simple

Already using OpenAI SDK? Just change two lines

example.py
from openai import OpenAI

client = OpenAI(
    api_key="sk-your-mui-router-key",
    base_url="https://your-domain.com/v1",
)

# It's that simple — exactly like using OpenAI directly
response = client.chat.completions.create(
    model="gpt-4o",          # or claude-sonnet, gemini-pro
    messages=[{"role": "user", "content": "Hello"}],
)

print(response.choices[0].message.content)

Also supports Node.js, curl, and any OpenAI API-compatible tool or framework

Or run Claude Code on your balance

Point Claude Code or the Anthropic SDK at MuiRouter — no Anthropic account needed

terminal
# Point Claude Code at MuiRouter — native /v1/messages
export ANTHROPIC_BASE_URL=https://your-domain.com
export ANTHROPIC_AUTH_TOKEN=sk-your-mui-router-key

claude   # runs Claude on your MuiRouter balance

Works with the Anthropic SDK too — set ANTHROPIC_BASE_URL and use your sk-gw- key.

Frequently asked questions

Is MuiRouter related to Material UI (MUI)?
No. MuiRouter is an OpenAI-compatible AI/LLM API router and MCP server, named after the muirouter.com domain. It has nothing to do with the Material UI (MUI) React component library or MUI X.
What is MuiRouter?
MuiRouter is an AI API router: one key routes your requests to OpenAI, Anthropic Claude, Google Gemini, Cloudflare Workers AI and Xiaomi MiMo, billed per token with no subscription.
Is it OpenAI-compatible?
Yes. Point the OpenAI SDK's Base URL at MuiRouter and keep your existing code. See the OpenAI-compatible router page to learn more.
Can I use Claude Code or the Anthropic SDK with MuiRouter?
Yes. MuiRouter exposes a native Anthropic /v1/messages endpoint. Set ANTHROPIC_BASE_URL to MuiRouter and use your sk-gw- key — Claude Code, the Anthropic SDK and any Anthropic-native client run on your MuiRouter balance, with no Anthropic account required.

Stop struggling with VPNs and overseas credit cards

Sign up to get your API Key and run your first call with free MiMo quota.
Top up only when you need more models or higher usage. Pay per use.