---
title: "Use Anthropic SDKs with apiToken.sale"
description: "Use the official Anthropic Python and TypeScript SDKs with apiToken.sale by changing the base URL and providing your API key."
url: "https://apitoken.sale/int-sdk"
language: "en"
---
# Use Anthropic SDKs with apiToken.sale

Use the official Anthropic Python and TypeScript SDKs with apiToken.sale by changing the base URL and providing your API key.

## Steps

1. Create a key at https://apitoken.sale/register — it looks like `sk-pool-…` and works across every Claude model.
2. Point Use Anthropic SDKs with apiToken.sale 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

```
from anthropic import Anthropic
client = Anthropic(base_url="https://api.apitoken.sale", api_key="sk-pool-…")
msg = client.messages.create(
    model="claude-opus-4-8",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
```

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