Introducing Conductor Cloud →Skip to docs content
Conductor

Configure model providers

Set up Claude Code, Codex, OpenCode, and Cursor credentials in Conductor

Conductor runs each chat through one harness. Configure harness auth in Settings -> Harnesses. 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.

HarnessConfigure inCredentialNotes
Claude CodeSettings -> Harnesses -> Claude CodeClaude subscription, CLI auth, or ANTHROPIC_API_KEYEnvironment variables can route Claude Code to compatible providers.
CodexSettings -> Harnesses -> CodexCodex sign-in, subscription, or CODEX_API_KEYVercel AI Gateway uses AI_GATEWAY_API_KEY.
OpenCodeSettings -> Harnesses -> OpenCodeOpenCode provider API keysVisible models are managed in OpenCode settings.
CursorSettings -> Harnesses -> CursorCURSOR_API_KEYCursor 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.

  1. Open Settings -> Harnesses -> Claude Code.
  2. Choose CLI auth for an existing Claude Code login, or choose API key mode.
  3. For API key mode, add your Anthropic key as ANTHROPIC_API_KEY.
  4. Check the Claude Code auth status in the same settings panel.
Warning:

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.

  1. Open Settings -> Harnesses -> Codex.
  2. Choose CLI auth for an existing codex login, or choose API key mode.
  3. For API key mode, add your OpenAI key as CODEX_API_KEY.
  4. 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/v1
AI_GATEWAY_API_KEY=your-vercel-ai-gateway-api-key

OpenCode

OpenCode uses provider credentials and the models returned by your OpenCode setup.

  1. Open Settings -> Harnesses -> OpenCode.
  2. Select Providers.
  3. Add provider API keys.
  4. 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-key

OpenCode 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.

  1. Open Settings -> Harnesses -> Cursor.
  2. Add your Cursor API key.
  3. Or set CURSOR_API_KEY in Conductor environment settings.
  4. Start a Cursor session.
CURSOR_API_KEY=your-cursor-api-key

Advanced 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-key

Docs: OpenRouter Claude Code integration

Vercel AI Gateway

ANTHROPIC_BASE_URL=https://ai-gateway.vercel.sh
ANTHROPIC_AUTH_TOKEN=your-vercel-ai-gateway-api-key

Docs: Vercel AI Gateway Anthropic-compatible API

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:0

Docs: AWS Bedrock Claude Code

GLM

ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
ANTHROPIC_AUTH_TOKEN=your-zai-api-key

Docs: GLM Claude integration

For a full provider list, see the Claude Code third-party integrations docs.

On this page