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.
4

Fill in the model configuration

When the Add model window appears, fill in the fields as follows:
5

Save and start using it

Click Confirm to save the configuration, then choose the new model from a supported provider.
BetterToken only supports TRAE through models from a supported provider. Do not use fixed Claude model names, and do not set the custom request URL to https://bettertoken.ai/v1.

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

Advanced setup

Supported providers

Statuses apply to the BetterToken setup documented on this page.
  • Manual setup: enter the API Key, Base URL, and Model.
  • Not supported: no verified direct setup is currently available.

Technical details

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