Claude Code with Free $10 API Usage: LLMsRelay Setup
Create an LLMsRelay key, claim $10 in promotional API usage, and configure a Claude-compatible client with a custom base URL.
LLMsRelay is an independently operated API gateway. It is not affiliated with or endorsed by Anthropic, PBC. Product and model names are used only to describe compatibility.
Start with $10 in Promotional API Usage
LLMsRelay provides its own API keys for an independently operated gateway. You can claim $10 in promotional API usage through the dashboard reward flow and use a compatible custom base URL in your local development tools. Check GET /v1/models before choosing a model ID.
How to Configure a Compatible Client
Use this flow to test your LLMsRelay key with a local client that supports a custom base URL:
- Create an LLMsRelay key in the dashboard and claim the reward if eligible.
- Confirm model IDs with
GET /v1/models. - Install and configure your local client according to its documentation.
- Set the gateway endpoint and your LLMsRelay key in a test environment.
- Run a small request first before using the setup in a larger project.
# Install Claude Code using its official installation instructions
npm install -g @anthropic-ai/claude-code
# Set your LLMsRelay API key
export ANTHROPIC_BASE_URL="https://api.llmsrelay.com"
export ANTHROPIC_API_KEY="YOUR_SK_CS4_KEY"
export ANTHROPIC_MODEL="MODEL_ID_FROM_V1_MODELS"
export ANTHROPIC_SMALL_FAST_MODEL="FAST_MODEL_ID_FROM_V1_MODELS"
# Launch the local client
claudeWhat to Verify Before Use
| Check | Why it matters |
|---|---|
| Custom base URL support | The local client must allow the configured endpoint |
| Model ID | Use GET /v1/models instead of assuming a static model list |
| Small test request | Confirms your local configuration and network path |
| Usage limit | Prevents a test session from consuming more than intended |
| Client updates | A future client release can change custom gateway behavior |
Choosing a Model for Coding Tasks
- Smaller or faster routes for short edits, test generation, and simple automation.
- Balanced routes for daily coding tasks and analysis.
- Larger routes for complex refactoring, broad code changes, and architecture work.
# Use a model ID returned by GET /v1/models
claude --model MODEL_ID_FROM_V1_MODELS
# Test a second available model when your workflow needs it
claude --model ANOTHER_MODEL_ID_FROM_V1_MODELSFrequently Asked Questions
Can I start Claude Code with promotional API usage?
You can create an LLMsRelay key, claim $10 in promotional API usage through the dashboard reward flow, and configure a compatible base URL where your local client supports it.
Is this an Anthropic subscription or account?
No. LLMsRelay is independently operated and provides its own API keys. It does not provide claude.ai accounts or subscriptions.
How do I confirm the available models?
Call GET /v1/models with your LLMsRelay key before configuration. It returns the model IDs currently available to that key.
Will every Claude Code feature work through a custom gateway?
Compatibility depends on the client version, the configured request format, and the selected model route. Test your intended workflow with a non-production key before rollout.