---
title: "Connect Claude Code to apiToken.sale"
description: "Configure Claude Code with apiToken.sale using ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY, then use supported Claude models through one prepaid balance."
url: "https://apitoken.sale/int-claude-code"
language: "en"
---
# Connect Claude Code to apiToken.sale

Configure Claude Code with apiToken.sale using ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY, then use supported Claude models through one prepaid balance.

## Steps

1. Create a key at https://apitoken.sale/register — it looks like `sk-pool-…` and works across every Claude model.
2. Point Claude Code at the gateway: set the Anthropic base URL to `https://api.apitoken.sale` and paste your key.
3. Pick a Claude model (e.g. `claude-opus-4-8`) and start — billing is per token at your discount.

## Configuration

```
export ANTHROPIC_BASE_URL=https://api.apitoken.sale
export ANTHROPIC_API_KEY=sk-pool-…
# then run: claude
```

---
API reference: https://apitoken.sale/md/docs · All integrations: https://apitoken.sale/md/int
