Claude Code
Claude Code는 Anthropic Messages API를 사용합니다. Anthropic 호환 게이트웨이에 연결하세요.
빠른 시작
1단계: Claude Code 설치
macOS, Linux, WSL
curl -fsSL https://claude.ai/install.sh | bash
Windows PowerShell
irm https://claude.ai/install.ps1 | iex
또는 npm을 사용합니다.
npm install -g @anthropic-ai/claude-code
2단계: 플랫폼 연결
사용자 설정 파일을 편집합니다.
- macOS / Linux:
~/.claude/settings.json - Windows:
%USERPROFILE%\.claude\settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.benpay.ai/anthropic/v1",
"ANTHROPIC_AUTH_TOKEN": "<your-api-key>",
"ANTHROPIC_API_KEY": "",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "",
"ANTHROPIC_DEFAULT_OPUS_MODEL": ""
}
}
3단계: 저장된 Anthropic 로그인 정보 삭제
> /logout
4단계: 세션 시작
cd /path/to/project
claude
Claude Code에서 /status를 실행하여 ANTHROPIC_AUTH_TOKEN과 LLMPool Base URL이 표시되는지 확인합니다.