Skip to content

Quick Start

Get your first API request in 5 minutes.


1. Sign Up & Get API Key

  1. Go to https://cnaitoken.store
  2. Register an account
  3. Log in → Tokens → Create a new API key
  4. Copy and save your key (it's shown only once)

2. Recharge Credits

  1. Visit https://cnaitoken.store/panel/topup
  2. Add your User ID to the URL: ?user_id=YOUR_USER_ID
  3. Choose an amount ($10 / $50 / $100)
  4. Pay via PayPal (card, PayPal balance, or other methods PayPal offers in your region)
  5. Credits are added automatically after payment

!!! tip "Find your User ID" Go to SettingsPersonal Settings in the dashboard.


3. Make Your First Request

Base URL: https://cnaitoken.store/v1

Authentication: Authorization: Bearer YOUR_API_KEY

cURL

curl https://cnaitoken.store/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-your-api-key" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "Hello, say hi in one sentence."}]
  }'

Python

from openai import OpenAI

client = OpenAI(
    api_key="sk-your-api-key",
    base_url="https://cnaitoken.store/v1"
)

response = client.chat.completions.create(
    model="deepseek-chat",
    messages=[{"role": "user", "content": "Hello, say hi in one sentence."}]
)
print(response.choices[0].message.content)

Node.js

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'sk-your-api-key',
  baseURL: 'https://cnaitoken.store/v1',
});

const response = await client.chat.completions.create({
  model: 'deepseek-chat',
  messages: [{ role: 'user', content: 'Hello, say hi in one sentence.' }],
});
console.log(response.choices[0].message.content);

4. Available Models

Call GET https://cnaitoken.store/v1/models with Authorization: Bearer YOUR_API_KEY for models your account can use. Examples (names may differ in your deployment):

Model Description
deepseek-chat DeepSeek — general chat
deepseek-reasoner DeepSeek — reasoning
kimi-k2.5, moonshot-v1-8k Moonshot (Kimi)
glm-4-plus Zhipu GLM (example)
MiniMax-M2.7 MiniMax (example)
qwen-plus Qwen / DashScope (example)
ernie-4.0-turbo-8k Baidu ERNIE (example)
ep-… Volcengine Ark endpoint
hunyuan-turbo Tencent Hunyuan (example)
baichuan2-turbo Baichuan (example)
step-2-mini StepFun (example)

Next Steps