Integrations / Claude Code
C

Claude Code

Anthropic · Verified setup guide

The terminal coding agent. Two environment variables and it runs on your LuxeChain balance.

Setup steps

  1. 1
    Get your keyRedeem a voucher at /redeem and copy the key. It starts with lxc_live_.
  2. 2
    Export two variablesSet ANTHROPIC_BASE_URL to the base below and ANTHROPIC_API_KEY to your key.
  3. 3
    Restart Claude CodeClose any running session, open a new terminal, run claude.
  4. 4
    VerifyAsk it anything. The request now spends from your LuxeChain balance.

Configuration example

bash
export ANTHROPIC_BASE_URL="https://api.luxechain.si"
export ANTHROPIC_API_KEY="lxc_live_YOUR_KEY"

# then start it as usual
claude

Replace YOUR_MODEL_ID with any model from the catalogue. Never paste a real API key into a shared document.

Troubleshooting

Claude Code appends /v1/messages itself, so the base URL must NOT end in /v1.

If the tool rejects the endpoint, confirm the base URL exactly matches the value on the right, and that the key is active in your account.