Cmd+, / Ctrl+,).
Quick Setup
- Open Settings (
Cmd+,/Ctrl+,) - Navigate to Providers
- Expand any provider and enter your API key
- Start using models from that provider
Supported Providers
| Provider | Models | Get API Key |
|---|---|---|
| Anthropic | Claude Opus, Sonnet, Haiku | console.anthropic.com |
| OpenAI | GPT-5, Codex | platform.openai.com |
| Gemini Pro, Flash | aistudio.google.com | |
| xAI | Grok | console.x.ai |
| DeepSeek | DeepSeek Chat, Reasoner | platform.deepseek.com |
| OpenRouter | 300+ models | openrouter.ai |
| Ollama | Local models | ollama.com (no key needed) |
| Bedrock | Claude via AWS | AWS Console |
Environment Variables
Providers also read from environment variables as fallback:| Provider | Environment Variable |
|---|---|
| Anthropic | ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN |
| OpenAI | OPENAI_API_KEY |
GOOGLE_GENERATIVE_AI_API_KEY | |
| xAI | XAI_API_KEY |
| DeepSeek | DEEPSEEK_API_KEY |
| OpenRouter | OPENROUTER_API_KEY |
| Bedrock | AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION |
Advanced: Manual Configuration
For advanced options not exposed in the UI, edit~/.mux/providers.jsonc directly:
Bedrock Authentication
Bedrock supports multiple authentication methods (tried in order):- Bearer Token — Single API key via
bearerTokenconfig orAWS_BEARER_TOKEN_BEDROCKenv var - Explicit Credentials —
accessKeyId+secretAccessKeyin config - AWS Credential Chain — Automatic resolution from environment,
~/.aws/credentials, SSO, EC2/ECS roles
aws sso login), mux uses those credentials automatically.
OpenRouter Provider Routing
Control which infrastructure providers handle your requests:order: Priority list of providers (e.g.,["Cerebras", "Fireworks"])allow_fallbacks: Whether to try other providers if preferred ones are unavailableonly/ignore: Restrict or exclude specific providersdata_collection:"allow"or"deny"for training data policies
xAI Search Orchestration
Grok models support live web search. mux enables this by default withmode: "auto". Customize via searchParameters for regional focus, time filters, or to disable search.