Amux AI

Integrations

Last updated August 26, 2026

Connect Claude Code, Cursor, Cherry Studio, and similar tools to Amux AI by configuring a base URL and an API key.

Most AI developer tools rely on a standard API protocol: Claude Code uses Anthropic Messages, Codex uses OpenAI, and Gemini CLI uses Google Gemini. Amux AI (amux.ai) provides native compatibility with these protocols, so integration typically requires only a base URL and an API key.

Batch configuration with CC Switch

CC Switch is an open-source desktop application for managing provider configurations across Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, and Pi. Adding Amux AI once configures all supported tools without exporting environment variables or editing configuration files manually.

Use CC Switch if you work with multiple tools or switch frequently between subscriptions and API billing. If you only use a single tool, follow its dedicated integration guide.

Common configuration

Select the base URL based on the client protocol, not the target model:

Client protocolBase URL
OpenAI Chat Completions / Responseshttps://gateway.amux.ai/v1
Anthropic Messageshttps://gateway.amux.ai
Google Geminihttps://gateway.amux.ai

API key: Use an Amux AI key created in the console, and enter it in the tool's API key field.

Model name: Use canonical model IDs (for example, anthropic/claude-opus-5). Cross-protocol calls—such as calling an OpenAI model over the Anthropic protocol—are supported. See Protocol and model compatibility.

Common base URL mistake

Entering https://gateway.amux.ai/v1 for an Anthropic-protocol client causes requests to hit /v1/v1/messages and return 404. The /v1 segment is the OpenAI path prefix, whereas Anthropic clients automatically append /v1/messages.

If you are unsure which format to use, check the tool's default endpoint in its official documentation: replace only the hostname and preserve the path structure.

Supported tools

ToolProtocolGuide
Claude CodeAnthropicClaude Code
Claude DesktopAnthropicClaude Desktop
Codex CLI / Codex appOpenAICodex
Gemini CLIGeminiGemini CLI
OpenCodeOpenAIOpenCode
PiAny of the fourPi
OpenClawOpenAIOpenClaw
Hermes AgentOpenAIHermes Agent
DeepSeek HarnessOpenAIDeepSeek Harness
CursorOpenAICursor
Cline (VS Code)OpenAICline
Cherry StudioOpenAICherry Studio
Sider (browser extension)OpenAISider

Other tools that support a custom base URL are generally compatible as well. Select the base URL matching the client's protocol from the table above.