/
Log in Create Account

Quick Start

Get your first request running in under 5 minutes.

1
Create an account

Register for a TokenDock account. After email verification, log in to the portal.

2
Add credits

Go to Billing and top up your account. TokenDock runs on prepaid credits — no monthly subscriptions.

3
Create an API key

Go to API Keys and create a new key. Copy the key value — it is only shown once.

4
Make your first request

Use the OpenAI SDK or any HTTP client. Point it at the TokenDock API base URL and use your TokenDock API key.

Python

Python
from openai import OpenAI

client = OpenAI(
    api_key="your-tokendock-api-key",
    base_url="https://tokendock.ai/v1",
)

response = client.chat.completions.create(
    model="qwen3.6-plus",
    messages=[
        {"role": "user", "content": "Hello, what can you do?"}
    ],
)

print(response.choices[0].message.content)

Node.js

JavaScript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "your-tokendock-api-key",
  baseURL: "https://tokendock.ai/v1",
});

const response = await client.chat.completions.create({
  model: "qwen3.6-plus",
  messages: [{ role: "user", content: "Hello, what can you do?" }],
});

console.log(response.choices[0].message.content);

cURL

Shell
curl https://tokendock.ai/v1/chat/completions \
  -H "Authorization: Bearer your-tokendock-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.6-plus",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'