Claude Code integration
Connect Claude Code to Claude models through the Claude API Tech Anthropic-compatible API.
Claude Code is Anthropic's official terminal coding agent. Claude API Tech is an independent third-party gateway and is not affiliated with Anthropic.
1
Install Claude Code
Install Claude Code with the official script for macOS, Linux, or WSL. Other installation options are available on the official website.
Terminal
curl -fsSL https://claude.ai/install.sh | bash
2
Open settings
For the current project, open or create .claude/settings.json in its root folder. To configure all projects for your user, use ~/.claude/settings.json.
Project settings
.claude/settings.json
3
Add the configuration
Paste the configuration below and replace ANTHROPIC_API_KEY with a key from your Claude API Tech dashboard.
.claude/settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.llm-gate.tech",
"ANTHROPIC_API_KEY": "sk-cs2-YOUR_API_KEY"
},
"model": "sonnet"
}Do not commit a real API key to a public repository. For a personal key, prefer ~/.claude/settings.json or the Git-ignored .claude/settings.local.json file.
4
Start working
Run claude in your project directory. Claude Code is ready and will send requests through Claude API Tech.
Terminal
claude