Skip to main content
To connect TRAE to BetterToken, prepare an API key, enter the Base URL shown below, and choose a current Model ID from the model plaza.

Key settings

Prerequisites

Additional requirements

Install

Install or open TRAE, then continue with the manual setup below.

Manual setup

Setup

1

Open settings

In IDE mode, click the Settings icon in the upper-right corner to open the settings center.You can also open SOLO mode and click the Settings icon in the upper-right corner of the chat panel.
2

Open the model panel

In the left navigation, choose Model to open the Model panel.
3

Add a model

Click + Add model.The TRAE model panel with the settings entry, model navigation item, and add model button highlighted.
4

Fill in the model configuration

When the Add model window appears, fill in the fields as follows:The TRAE add model window with OpenAI selected, a custom model selected, and fields for model ID, API key, and custom request URL.
5

Save and start using it

Click Confirm to save the configuration, then choose the new model.
Copy the exact Model ID from the model plaza. Enter the full request URL https://bettertoken.ai/v1/chat/completions, not the Base URL.

Verify the connection

Send a short test prompt. If the tool returns a response without an authentication or Model ID error, the connection works. Fully restart the tool after changing its configuration.

Switch models

Open the model selector or change the Model field in the configuration. Use the exact Model ID from the model plaza, then restart the current session.

Common errors

Technical details

TRAE requires the complete custom request URL https://bettertoken.ai/v1/chat/completions, not only the Base URL.