Skip to content

Claude Code

Use this for Anthropic groups such as Claude via Kiro or Claude Max Pool.

Current session

Run this to start Claude Code immediately. These variables only apply to the current terminal session.

sh
export ANTHROPIC_BASE_URL="https://codex-easy.ai"
export ANTHROPIC_AUTH_TOKEN="<your-ce-api-key>"
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
export CLAUDE_CODE_ATTRIBUTION_HEADER=0
claude
bat
set ANTHROPIC_BASE_URL=https://codex-easy.ai
set ANTHROPIC_AUTH_TOKEN=<your-ce-api-key>
set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
set CLAUDE_CODE_ATTRIBUTION_HEADER=0
claude
powershell
$env:ANTHROPIC_BASE_URL="https://codex-easy.ai"
$env:ANTHROPIC_AUTH_TOKEN="<your-ce-api-key>"
$env:CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
$env:CLAUDE_CODE_ATTRIBUTION_HEADER=0
claude

settings.json

This configuration applies to Claude Code CLI and the VS Code extension.

json
// ~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://codex-easy.ai",
    "ANTHROPIC_AUTH_TOKEN": "<your-ce-api-key>",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
  }
}
json
// %userprofile%\.claude\settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://codex-easy.ai",
    "ANTHROPIC_AUTH_TOKEN": "<your-ce-api-key>",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "CLAUDE_CODE_ATTRIBUTION_HEADER": "0"
  }
}

Switch model

To switch models in Claude Code, use a command like this:

txt
/model claude-fable-5  # Claude Fable 5 example
/model glm-5.2         # GLM 5.2 example

This only works if the selected group includes the corresponding model.

For Claude Desktop configuration, see the Anthropic-compatible API page.