← All integrations Integrations

SDK (Python / TS)

Drop-in with the official Anthropic SDK — just change the base URL.

01

Create a key

Generate one key.

02

Point to apiToken.sale

Set base URL and key.

03

Start building

Same balance for all models.

Configuration

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