One API key for every AI model you use.
OpenMux is an OpenAI-compatible AI gateway. Route requests to any model, track usage per key, and manage billing — all from a single control plane.
Anthropic Primary
OpenAI Fallback
DeepSeek Standby
A unified AI API layer for developers and teams.
Keep your existing SDK. Swap the base URL and API key — OpenMux handles routing, billing, and observability across every provider.
Stable monthly quota for Claude Code, Cursor, and Codex workflows.
Top up a balance and pay only for what you use, per token.
Per-request breakdown by model, token count, cost, and status.
Drop-in replacement — no SDK changes, no rewrites required.
Send a request. OpenMux routes it to the right model.
From solo developer tools to production services — all your keys, models, spend, and logs in one console.
Two-minute integration. No rewrites.
OpenAI-compatible protocol means you only change the base URL and API key — everything else stays the same.
Use a subscription key for high-frequency terminal coding.
Paste the OpenAI-compatible base URL in settings.
Set OPENAI_BASE_URL to route to Claude or DeepSeek.
Plug into agentic editor workflows with any model.
# pip install openai from openai import OpenAI client = OpenAI( base_url="https://api.openmux.ai/v1", api_key="om-sk-your-key", ) response = client.chat.completions.create( model="claude-sonnet-4-6", messages=[{ "role": "user", "content": "Ship it.", }], ) print(response.choices[0].message.content)
Every model. Visible pricing. Faster decisions.
Pick the right model for each job — high-capability, cost-efficient, or reasoning — and assign different keys to different teams or projects.