Skip to main content

Install and Launch Trae

  1. Go to TRAE’s website to install TRAE
  2. Click TRAE’s icon to launch it
  3. The following screen appears at TRAE’s first launch
  1. Click the Get Started button, TRAE’s setup begins
For detailed installation steps, please refer to: Trae Setup Guide

Configure MiniMax API

Important: Clear OpenAI Environment Variables Before ConfigurationBefore configuring, ensure you clear the following OpenAI-related environment variables to avoid conflicts with MiniMax API:
  • OPENAI_API_KEY
  • OPENAI_BASE_URL
In TRAE, you can connect to MiniMax M2.1 model using API keys obtained from the MiniMax Developer Platform (For users in China, visit MiniMax Developer Platform).
  1. At the top right of the side chat box, click Settings icon > Models
  2. The Models window appears
  3. Click the + Add Model button
  4. The Add Model pop-up appears
  1. Enter Configuration Details
    • Provider: Select OpenRouter or SiliconFlow
    • Model: Select other models
    • Model ID: MiniMax M2.1
    • API Key: Input your MiniMax API Key
  2. Click the Add Model button.