Configure model providers
Set up Claude Code, Codex, Muse Code, Antigravity, OpenCode, and Cursor credentials in Conductor
Conductor runs each chat through one harness. Configure harness auth in Settings -> Agents. Use Settings -> Environment when a provider needs environment variables.
Conductor does not bill or resell model usage. Usage is billed by the provider account, subscription, usage pool, or API key used by the selected harness.
| Harness | Configure in | Credential | Notes |
|---|---|---|---|
| Claude Code | Settings -> Agents -> Claude Code | Claude subscription, CLI auth, or ANTHROPIC_API_KEY | Environment variables can route Claude Code to compatible providers. |
| Codex | Settings -> Agents -> Codex | Codex sign-in, subscription, or CODEX_API_KEY | Vercel AI Gateway uses AI_GATEWAY_API_KEY. |
| Muse Code | Settings -> Agents -> Muse Code | Muse Code sign-in or META_API_KEY | Cloud organizations use Sign in with Meta or an API key. |
| Antigravity | Settings -> Agents -> Antigravity | Google sign-in or GEMINI_API_KEY | Cloud workspaces need a Gemini API key. |
| OpenCode | Settings -> Agents -> OpenCode | OpenCode provider API keys | Visible models are managed in OpenCode settings. |
| Cursor | Settings -> Agents -> Cursor | CURSOR_API_KEY | Cursor runs through the Cursor API. |
Claude Code
Claude Code can use your Claude subscription, Claude CLI login, an Anthropic API key, or Claude-compatible provider environment variables.
- Open
Settings->Agents->Claude Code. - Choose CLI auth for an existing Claude Code login, or choose API key mode.
- For API key mode, add your Anthropic key as
ANTHROPIC_API_KEY. - Check the Claude Code auth status in the same settings panel.
If ANTHROPIC_API_KEY is set in Conductor or in the shell environment that
launches Conductor, Claude Code may use API billing instead of subscription
usage.
Codex
Codex can use Codex sign-in, an OpenAI subscription, or an API key.
- Open
Settings->Agents->Codex. - Choose CLI auth for an existing
codex login, or choose API key mode. - For API key mode, add your OpenAI key as
CODEX_API_KEY. - Start a Codex session and choose a model that is available to your account.
For Vercel AI Gateway, add these values in Settings -> Environment:
OPENAI_BASE_URL=https://ai-gateway.vercel.sh/codex/v1
AI_GATEWAY_API_KEY=your-vercel-ai-gateway-api-keyMuse Code
Muse Code can use your Muse Code subscription or a Meta API key.
- Open
Settings->Agents->Muse Code. - Click
Sign inand confirm the code in your browser, or add your Muse API key. - Start a Muse Code session and choose a model that is available to your account.
Conductor saves the API key as META_API_KEY:
META_API_KEY=your-meta-api-keyIn cloud organizations, set up Muse Code in Settings -> Agents instead. Choose Sign in with Meta for your subscription, or add an API key from dev.meta.ai.
Antigravity
Antigravity can use your Google account or a Gemini API key in local workspaces, and a Gemini API key in cloud workspaces.
- Open
Settings->Agents->Antigravity. - Click
Install Antigravityif Conductor hasn't installed it yet. - Choose
CLIand clickSign in with Google, or chooseAPI keyand add a key from Google AI Studio. - Start an Antigravity session and choose a model that is available to your account or key.
Conductor saves the API key as GEMINI_API_KEY:
GEMINI_API_KEY=your-gemini-api-keyIn cloud organizations, set up Antigravity in Settings -> Agents and add a Gemini API key. Google sign-in isn't available in cloud workspaces.
OpenCode
OpenCode uses provider credentials and the models returned by your OpenCode setup.
- Open
Settings->Agents->OpenCode. - Select
Providers. - Add provider API keys.
- Choose which OpenCode models should be visible in Conductor.
Common OpenCode provider keys:
OPENROUTER_API_KEY=your-openrouter-api-key
BASETEN_API_KEY=your-baseten-api-key
CEREBRAS_API_KEY=your-cerebras-api-key
AI_GATEWAY_API_KEY=your-vercel-ai-gateway-api-keyOpenCode can also use provider credentials from local environment variables and its own provider configuration.
Cursor
Cursor sessions use Cursor Agent through the Cursor API. Conductor does not use a local Cursor executable for Cursor sessions.
- Open
Settings->Agents->Cursor. - Add your Cursor API key.
- Or set
CURSOR_API_KEYin Conductor environment settings. - Start a Cursor session.
CURSOR_API_KEY=your-cursor-api-keyAdvanced Claude Code providers
Claude Code can use Anthropic-compatible providers through environment variables. Add these values in Settings -> Environment.
When using a compatible provider, make sure ANTHROPIC_API_KEY is not set to an Anthropic key in Conductor or in the shell environment that launches Conductor. Otherwise Claude Code may authenticate with Anthropic directly.
OpenRouter
ANTHROPIC_BASE_URL=https://openrouter.ai/api
ANTHROPIC_AUTH_TOKEN=your-openrouter-api-keyDocs: OpenRouter Claude Code integration
Vercel AI Gateway
ANTHROPIC_BASE_URL=https://ai-gateway.vercel.sh/claude-code
ANTHROPIC_AUTH_TOKEN=your-vercel-ai-gateway-api-keyDocs: Claude Code with Vercel AI Gateway
Bedrock
CLAUDE_CODE_USE_BEDROCK=1
AWS_REGION=us-east-1
ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION=us-west-2
ANTHROPIC_DEFAULT_OPUS_MODEL=us.anthropic.claude-opus-4-7
ANTHROPIC_DEFAULT_SONNET_MODEL=us.anthropic.claude-sonnet-4-6
ANTHROPIC_DEFAULT_HAIKU_MODEL=us.anthropic.claude-haiku-4-5-20251001-v1:0Docs: AWS Bedrock Claude Code
GLM
ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
ANTHROPIC_AUTH_TOKEN=your-zai-api-keyDocs: GLM Claude integration
For a full provider list, see the Claude Code third-party integrations docs.