Getting Started

YesToken is an AI model gateway: one API key gives you access to GPT, Claude, Gemini, Seedance video models and more, through OpenAI-compatible and provider-native endpoints.

1. Create an account

Register at /register, then recharge your balance on the Billing / Wallet page (Stripe, minimum $10).

2. Create an API key

Go to API Keys → Create New. The full key is shown only once — copy it immediately.

Optionally bind the key to a group to get group pricing (multiplier discounts).

3. Make your first request

Base URL: https://yestoken.io

curl https://yestoken.io/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $YESTOKEN_KEY" \
  -d '{
    "model": "gpt-5.6",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 100
  }'

Any OpenAI SDK works by overriding the base URL:

from openai import OpenAI

client = OpenAI(
    base_url="https://yestoken.io/v1",
    api_key="sk-...",  # your YesToken key
)
resp = client.chat.completions.create(
    model="gpt-5.6",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)