Skip to main content
TRAE IDE is an AI-powered code editor by ByteDance. It supports custom third-party model providers through its AI settings. Add ClearMaas to access 570+ models from a single configuration.

Prerequisites

  • TRAE IDE installed (trae.ai)
  • A ClearMaas API key starting with sk-

Setup via AI Settings

TRAE supports two protocol paths for custom providers:

OpenAI-compatible setup

  1. Open Settings �?AI (or Trae AI)
  2. Navigate to Models or Custom Providers
  3. Add a new provider:

Anthropic-compatible setup

The Anthropic path uses the bare host URL �?TRAE’s SDK appends /v1/messages automatically.

Model naming format

When selecting models in TRAE, use ClearMaas’s provider/model format:

Selecting a model

After adding the provider:
  1. Open the AI chat or Builder panel
  2. Open the model selector
  3. Choose ClearMaas (or the provider name you configured)
  4. Pick any available model
To set a default, look for a Default Model or Preferred Model option in Settings > AI.

Project-level configuration

For team consistency, you can add model configuration to a project file (if TRAE supports project-scoped AI settings):

Environment variable fallback

If TRAE reads standard environment variables, you can set them before launching:

Verification

  1. After adding ClearMaas as a provider, select a ClearMaas model
  2. Ask a question in the AI chat
  3. Check your ClearMaas dashboard to confirm the request was routed

See also