Connect Trae to TeamoRouter

New accounts start with a $0 balance — top up before your first request. Top up from $5. If a request returns 402 (400 on the OpenAI format) with "wallet balance is insufficient", your balance is empty — your base URL and key are fine. Top up and retry.

1. Connect to TeamoRouter

If Trae is already installed, add TeamoRouter:

  1. Open Trae and go to Settings -> Models.
  2. Click Add model and choose custom configuration in the dialog.
  3. Fill in the custom configuration form:

  • API format: choose the compatible format that matches the model family you want to use:
Model families API format Request URL with Full URL turned off

| GPT, Gemini, DeepSeek, GLM, and Grok | OpenAI Chat Completions | https://api.agentapiai.com/v1 | | Claude | Anthropic Messages | https://api.agentapiai.com |

  1. Add the model IDs you want to use:
Available model IDs37 models

OpenAIGPT9

  • gpt-6.1-sol
  • gpt-6-astra
  • gpt-6-sol
  • gpt-6-luna
  • gpt-5.6-sol
  • gpt-5.6-terra
  • gpt-5.6-luna
  • gpt-5.5
  • gpt-5.4

ClaudeClaude12

  • claude-opus-5-5
  • claude-sonnet-5-5
  • claude-haiku-5-5
  • claude-fable-5-1
  • claude-opus-5
  • claude-fable-5
  • claude-sonnet-5
  • claude-opus-4-8
  • claude-opus-4-7
  • claude-opus-4-6
  • claude-sonnet-4-6
  • claude-haiku-4-5

GeminiGemini5

  • gemini-3.8-flash
  • gemini-3.7-flash
  • gemini-3.6-flash
  • gemini-3.5-flash-lite
  • gemini-3.1-pro-preview

DeepSeekDeepSeek6

  • deepseek-flash
  • deepseek-flash-free
  • deepseek-v4-flash-vision-exp
  • deepseek-v4-pro
  • deepseek-v4-flash
  • deepseek-v4-flash-free

ZhipuGLM4

  • glm-5.3-flash
  • glm-5.3-flash-free
  • glm-5.3
  • glm-5.2

GrokGrok1

  • grok-4.6
  1. Click Add model to save. Trae will verify your API key. Once verification succeeds, the model appears in the list.

Select the model you added in the chat box and start using it.

If the model does not work, fully quit Trae and open it again.

Note: Trae adds extra fields to protect its own models. This may cause some third-party models to fail. The error may look like this:

2. Install Trae from scratch

Install or upgrade from the Trae download page, then follow the first section to configure TeamoRouter.

Pay with USDT or USDC

You don't need a credit card to use Trae with TeamoRouter. Top up your balance with USDT, USDC or ETH straight from an exchange app (Binance, OKX and others) or any wallet: click Pay with crypto in the top-up dialog, pick a coin and network, and send. The minimum is $5 (USDT on BEP20), and no browser extension is needed. Step by step: Pay for Claude and GPT APIs with crypto (USDT).

Ready? Three steps to startLog in to the console · top up · create an API key
DiscordGet community help instantly
Connect Trae to TeamoRouter · Docs