⚡ GET STARTED · 3 MINUTES TO FIRST CALL ⚡ 快速上手 · 3 分钟完成首次调用

Welcome to Taotok API 快速上手 taotok.io

Your account is active. Let's get you from signup to your first API call — copy, paste, done. 统一 LLM API 网关 · 海外可用 · 支持 USDT / 加密货币支付,无需信用卡

1

Find your API key 如何找到你的 API Key

Your key was auto-created and emailed to you. You can always view or rotate it in the console: 登录控制台后即可查看或新建你的密钥:

  1. Open the Dashboard → Tokens page.
  2. Copy an existing token, or click Add New Token to create one.
  3. Store it safely — it's your secret for every request.
  1. 登录 Dashboard(控制台);
  2. 左侧菜单点击「API Keys」;
  3. 点击「Create / 新建」生成密钥,复制并妥善保存。
💡 Tip: set it once as an environment variable so you never paste it into code.
export TAOTOK_KEY="sk-..."
💡 提示:把它一次性设为环境变量,就不用在代码里反复粘贴。
export TAOTOK_KEY="sk-..."
2

Make your first call 复制即用的 curl 示例

One OpenAI-compatible endpoint. The example below uses our fastest model, deepseek-v4-flash. 把下方命令里的 $TAOTOK_KEY 换成你的密钥即可直接运行(base_url:https://api.taotok.io/v1)。

# Set your key once (or replace $TAOTOK_KEY with your key)
export TAOTOK_KEY="sk-..."

curl https://api.taotok.io/v1/chat/completions \
  -H "Authorization: Bearer $TAOTOK_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",
    "messages": [{"role":"user","content":"Hello, Taotok!"}]
  }'
# 调用聊天补全接口
curl https://api.taotok.io/v1/chat/completions \
  -H "Authorization: Bearer $TAOTOK_KEY" \   # 认证:Bearer + 你的密钥
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-flash",             # 示例模型(内部映射 deepseek-flash)
    "messages": [{"role": "user", "content": "你好"}]
  }'
Base URL https://api.taotok.io/v1 Auth Bearer <API_KEY> Default model deepseek-v4-flash
3

Try it in the Playground Playground 一键试调

No code? No problem. Open the in-browser Playground to send a request, tweak parameters, and copy the generated code. 不想写代码?打开 Playground,在浏览器里直接发请求、看返回。

Frequently asked 常见问题

Which model name should I use? deepseek-v4-flash 是什么模型?

deepseek-v4-flash is our default fast & cost-efficient model — perfect for getting started. We also serve deepseek-v4 (stronger reasoning) plus GPT, Claude, Gemini, Kimi and more, all through the same endpoint. See the full, always-current list in the Playground model picker or your console. 这是 taotok 的模型别名,内部映射到 deepseek-flash。调用时填 deepseek-v4-flash 即可。

What is a "credit" and how am I billed? 额度按 token 还是 credit 计费?

Credits are Taotok's unified usage unit. Every model draws from one shared credit pool, billed per token — there's no per-provider wallet. deepseek-v4-flash is the most credit-efficient option. Top up once and use it across all models; exact rates per plan are on the Pricing page. 按 credit 计费,不是 token。请在 Dashboard 查看 credit 余额。

Any region or access restrictions? 中国大陆可以使用吗?

Taotok runs on a global edge network optimized for low latency from Asia and worldwide — no regional key restrictions. The same API key and base URL work from anywhere. A few models may have temporary availability differences; the Playground always reflects what's currently callable. 不含中国大陆。本服务面向海外地区(东南亚、北美、欧洲等华语开发者)。

Do I need a credit card? 需要信用卡吗?

No. We support USDT / cryptocurrency payments — no credit card required. 不需要。支持 USDT / 加密货币支付,无需绑定信用卡。

Is it OpenAI-compatible? 是否兼容 OpenAI?

Yes. Use the OpenAI SDK, LangChain, or any tool pointed at https://api.taotok.io/v1 with Authorization: Bearer <API_KEY>. No SDK lock-in — just change the base URL. 兼容。使用 OpenAI SDK、LangChain 或任意指向 https://api.taotok.io/v1 的工具,并附带 Authorization: Bearer <API_KEY> 即可。无需绑定特定 SDK——只需修改 base URL。