Skip to content
Getting started

Quick start

TokenArmy provides API access to all Claude models: native Anthropic Messages format, plus OpenAI-compatible format (so tools like Cursor and Cherry Studio that only support OpenAI format can call Claude). Your existing SDKs and clients need no code changes—just swap the Base URL and API Key for TokenArmy's.

Three steps to get started

  1. Sign up with an invite code and log in.Register.
  2. Top up your balance in the consoleBilling & top-up(card, PayPal, or stablecoin).
  3. Create an API Key inAPI Keys. The full key is shown once—save it now.

Base URL

FormatBase URLEndpoint
Anthropic (native)https://tokenarmy.shopPOST /v1/messages
OpenAI-compatiblehttps://tokenarmy.shop/v1POST /v1/chat/completions

The Anthropic SDK builds the URL itself by appending /v1/messages, so the Base URL doesn't include /v1. The OpenAI SDK appends /chat/completions, so the Base URL must include /v1. Both formats call the same Claude models—just put the Claude model ID in the model field.

Your first request

curl https://tokenarmy.shop/v1/messages \
  -H "x-api-key: $TOKENARMY_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Next steps