Skip to main content
Claude Code is an agentic coding tool launched by Anthropic that runs in your terminal. It can understand your codebase and help you code faster by performing routine tasks. This site provides an Anthropic SDK-compatible LLM API service. You can easily use a variety of large language models in Claude Code to complete tasks. Please refer to the guide below to complete the integration process.
  1. Install Claude Code
Run the following command in your terminal to install Claude Code. ⚠️ Before installing Claude Code, please make sure your local environment has Node.js 18 or higher installed.
npm install -g @anthropic-ai/claude-code
  1. Start a terminal session
{
  export ANTHROPIC_BASE_URL="https://api.myrouter.ai/anthropic"
  export ANTHROPIC_AUTH_TOKEN="<API Key>"
  # Set a model supported by this platform
  export ANTHROPIC_MODEL="claude-opus-4-1-20250805"
  export ANTHROPIC_SMALL_FAST_MODEL="claude-sonnet-4-20250514"
}
Next, navigate to your project directory and start Claude Code.
cd <your-project-directory>
claude .