Skip to main content

Claude Code

Claude Code is Anthropic's agentic coding tool for the terminal. Official site: code.claude.com

1.1 Anthropic-Compatible Path

Run the following commands in the same terminal session before starting Claude Code with claude. After the variables are set, launch Claude Code from that terminal window.

export ANTHROPIC_BASE_URL="https://api.hpc-ai.com/inference/v1"
export ANTHROPIC_API_KEY="your-hpc-ai-api-key"
export ANTHROPIC_MODEL="minimax/minimax-m2.5"

You can also add it to the /model picker:

export ANTHROPIC_CUSTOM_MODEL_OPTION="minimax/minimax-m2.5"
export ANTHROPIC_CUSTOM_MODEL_OPTION_NAME="HPC-AI Minimax M2.5"

1.2 References