Overview
Type: Coding ToolPrimary Path: Anthropic-nativeSupport Confidence: Strong native path
Installation
Anthropic now recommends the native installer. npm installation still exists for compatibility, but it is deprecated upstream.Configuration
Environment Variables
Set the following environment variables:~/.bashrc, ~/.zshrc, etc.) for persistence.
For LemonData, keep
ANTHROPIC_BASE_URL at https://api.lemondata.cc without a /v1 suffix. This matches the Anthropic-style endpoint shape and the unified gateway pattern documented by Claude Code.Configuration File
Alternatively, create or edit~/.claude/settings.json:
Usage
After configuration, use Claude Code normally:Available Models
LemonData supports all Claude models:| Model | Description |
|---|---|
claude-opus-4-6 | Most capable, complex reasoning |
claude-sonnet-4-6 | Balanced performance, excellent for coding |
claude-haiku-4-5 | Fastest, cost-effective |
Model Selection
Specify a model with the--model flag:
Extended Thinking
For complex reasoning tasks, use models with extended thinking:Troubleshooting
Connection errors
Connection errors
Verify the base URL is exactly
https://api.lemondata.cc (no /v1 suffix for Anthropic-style requests).Invalid API key
Invalid API key
Ensure your LemonData API key starts with
sk- and has sufficient balance.Gateway requires Authorization bearer token
Gateway requires Authorization bearer token
Model not found
Model not found
Check the model name is correct. Use
claude-sonnet-4-6 format.