Skip to content
Need an API key for this client? One token for Claude, GPT-6.2, Gemini 4 & DeepSeek V4 — top up via USDT or Alipay

Connect Trae IDE to byesu API ​

Key facts: Add a Custom / OpenAI Compatible model in Trae IDE (Models → Add Model) with Base URL https://byesu.com/v1 and an auto group sk-... key to run claude-opus-5-5, claude-sonnet-5-5, gpt-6.2-sol, gemini-4-argon, and deepseek-v4-pro in Builder and Chat modes — payable via Alipay or USDT without separate vendor accounts.

Trae IDE pairs multi-file autonomous Builder workflows with inline Chat assistance. When built-in model queues are congested or you need specific frontier releases across multiple labs, wiring Trae's custom OpenAI-compatible provider to byesu unlocks five major model families through a single pay-as-you-go API key.

Quick configuration

  • Menu path: Settings (⚙️) → Models → + Add Model → Provider: Custom / OpenAI Compatible
  • Base URL: https://byesu.com/v1 (keep /v1, do not append /chat/completions)
  • API Key: sk-... token created in the default auto group (Create account & token)
  • Model IDs: claude-opus-5-5, claude-sonnet-5-5, gpt-6.2-sol, gemini-4-argon, deepseek-v4-pro

You can also generate copy-paste blocks for Trae alongside your CLI and SDK tools in the AI Client & SDK Config Generator.

Step-by-Step Setup in Trae IDE ​

  1. Generate an auto token: Sign in to the byesu Console, open Tokens, and issue a key (sk-...) in the default auto group (Choosing a Token Group).
  2. Open Trae model management: Click the settings gear icon in the top-right corner of the Trae AI sidebar (or open Trae Settings) and select Models.
  3. Add a custom OpenAI-compatible model: Click + Add Model and fill in:
    text
    Provider: Custom / OpenAI Compatible
    Base URL: https://byesu.com/v1
    API Key:  sk-your-byesu-token
    Model ID: claude-sonnet-5-5
  4. Add additional frontier models: Repeat + Add Model with the exact same Base URL and API Key to add claude-opus-5-5, gpt-6.2-sol, gemini-4-argon, and deepseek-v4-pro.
  5. Switch models in Builder or Chat: Open the Builder or Chat tab, pick your custom model from the bottom model selector, and prompt Trae to scaffold or refactor files across your workspace.

Picking the Right Model for Builder vs Chat ​

Trae Mode & TaskRecommended Model IDWhy It Fits
Builder — multi-file feature scaffolding & complex bug fixesclaude-opus-5-599.99% production uptime and strongest multi-step tool reliability across large repositories
Builder & Chat — fast interactive edits & UI componentsclaude-sonnet-5-51.90s median TTFT (99.97% uptime) keeps file-edit loops responsive
Builder / Spec Review — architectural trade-offs & edge casesgpt-6.2-solDeep reasoning generation for database migrations, concurrency audits, and API contracts
Chat — reading huge logs, PDFs, or screenshotsgemini-4-argon1M-token multimodal context window
Chat & Bulk Tasks — unit tests, translations & boilerplatedeepseek-v4-pro99.90% uptime with zero-surcharge automatic prefix caching

Why Teams Pair Trae IDE with byesu ​

  • Zero vendor fragmentation or card barriers: Instead of juggling separate Anthropic, OpenAI, Google, and DeepSeek dashboards (many requiring regional phone numbers or international credit cards), fund one balance via Alipay or USDT (TRC20 / BEP20).
  • Transparent pay-as-you-go billing: Text and coding models bill strictly per token consumed using transparent multipliers (including cache reads down to 0.1x where supported), with live rates visible in the console after sign-in and itemized per-request logs.
  • Cross-editor portability: Your exact same sk-... key also works in Windsurf IDE, Zed Editor, and the tools compared in Cursor vs Claude Code vs Cline.

Troubleshooting ​

  • 401 invalid_api_key during Add Model check: Confirm your key starts with sk- without extra whitespace and Base URL is set to https://byesu.com/v1 (OpenAI 401 fix).
  • 404 or connection check failure: Make sure Base URL ends with /v1 (https://byesu.com/v1) and not /v1/chat/completions. Verify Claude model names use hyphens (claude-opus-5-5).
  • no available channel: Ensure your token was created in the auto group (glm-5.3 and kimi-k3 require Glm and Kimi group tokens respectively; see no available channel).
  • Long thinking pause on gpt-6.2-sol: Deep reasoning models think before emitting their first visible token — compare live p50 and p95 latency in our December 2026 Production Latency & Uptime Report and weekly benchmarks.

FAQ ​

How do I add a custom OpenAI-compatible model provider in Trae IDE? ​

Go to Models → + Add Model, pick Custom / OpenAI Compatible, enter Base URL https://byesu.com/v1 and your sk-... token (auto group), and specify exact console model IDs such as claude-sonnet-5-5 or gpt-6.2-sol.

Can Trae Builder mode and Chat mode both use custom byesu models? ​

Yes. Verified custom models appear in the model picker for both Builder (autonomous file editing and terminal execution) and Chat.

Do I need separate vendor accounts or an international credit card? ​

No. One byesu account covers Claude, GPT, Gemini, Grok, and DeepSeek, and you can top up directly via Alipay or USDT.

Why does Trae fail model verification with 404 or no available channel? ​

404 indicates a malformed Base URL (use https://byesu.com/v1 exactly), while no available channel means either a misspelled model ID or a token group mismatch.

Got a problem? Contact support or join our group.