Setup Instructions

Welcome to the CodeMax setup guide. Our gateway operates as a drop-in replacement for the official Anthropic API. Follow the steps below sequentially to configure your environment in minutes.

Claude Code CLI

Configure the official Anthropic Terminal CLI tool through environment variables.

Mac / Linux Terminal
export ANTHROPIC_API_KEY="sk-cp-your-api-key"export ANTHROPIC_BASE_URL="https://api.codemax.pro/v1"export ANTHROPIC_MODEL="claude-opus-4.6"claude
Windows PowerShell
$env:ANTHROPIC_API_KEY="sk-cp-your-api-key"$env:ANTHROPIC_BASE_URL="https://api.codemax.pro/v1"$env:ANTHROPIC_MODEL="claude-opus-4.6"claude

VS Code Setup (Cline / Roo)

Integrating with compatible AI extensions inside Visual Studio Code.

  1. 1
    Open the configuration panel of your extension (e.g., Cline).
  2. 2
    Change the AI Provider to OpenAI Compatible.
  3. 3
    Set your Custom Base URL to:https://api.codemax.pro/v1
  4. 4
    Enter your API Key: sk-cp-your-api-key
  5. 5
    Explicitly type the Model ID: claude-opus-4.6

Cursor IDE Setup

Using the proxy directly inside Cursor's configuration panel.

  1. 1
    Open Cursor Settings (Ctrl/Cmd + ,).
  2. 2
    Navigate to Models > OpenAI.
  3. 3
    Enable Override OpenAI Base URL and enter:https://api.codemax.pro/v1
  4. 4
    Provide your CodeMax key in the OpenAI API Key field.
  5. 5
    At the bottom of the Models page, click "Add custom model", type claude-opus-4.6, and verify it with the (+) button.