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.
- 1Open the configuration panel of your extension (e.g., Cline).
- 2Change the AI Provider to OpenAI Compatible.
- 3Set your Custom Base URL to:
https://api.codemax.pro/v1 - 4Enter your API Key:
sk-cp-your-api-key - 5Explicitly type the Model ID:
claude-opus-4.6
Cursor IDE Setup
Using the proxy directly inside Cursor's configuration panel.
- 1Open Cursor Settings (Ctrl/Cmd + ,).
- 2Navigate to Models > OpenAI.
- 3Enable Override OpenAI Base URL and enter:
https://api.codemax.pro/v1 - 4Provide your CodeMax key in the OpenAI API Key field.
- 5At the bottom of the Models page, click "Add custom model", type
claude-opus-4.6, and verify it with the (+) button.