API Integration

Create an API key in the dashboard, then add balance before your first request.

Endpoint and models

  • Base URL: https://api.teamorouter.cn/v1
  • Authentication: Authorization: Bearer your TeamoRouter API Key
  • Chat Completions: POST /v1/chat/completions

Check the model catalog for available models, including deepseek-v4-pro, kimi-k3.1-pro, and glm-5.3.

Example

bash
curl https://api.teamorouter.cn/v1/chat/completions \
  -H "Authorization: Bearer your TeamoRouter API Key" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-v4-pro","messages":[{"role":"user","content":"Hello"}]}'

The reply is in choices[0].message.content. If your balance is insufficient, add funds in the dashboard. If a model is unavailable, copy its current ID from the model catalog.

Ready? Three steps to startLog in to the console · top up · create an API key
DiscordDapatkan bantuan komunitas secara instan