Skip to main content
Connecting TRAE to BetterToken requires adding a custom model through the settings UI.

Prerequisites

Setup

1

Open model settings

Click the Settings icon in the top-right corner of the TRAE AI chat panel, then select the Models tab.
2

Add a custom model

Click + Add Model and select Custom or OpenAI Compatible as the provider.
3

Enter BetterToken config

FieldValue
API URLhttps://www.bettertoken.com/v1
API KeyYour BetterToken API Key
Model nameclaude-sonnet-4-5 (or another supported model)
4

Save and verify

Click Add Model. TRAE will validate your API Key automatically:
  • Success: the model appears in your model list
  • Failure: check the API URL and API Key
5

Select the model

Choose the newly added model from the chat panel dropdown to start using it.

Supported models

SeriesModelDescription
Claudeclaude-sonnet-4-5Balanced — recommended
Claudeclaude-opus-4-5Most capable
Claudeclaude-haiku-4-5Fastest
GPTgpt-4oOpenAI flagship
GPTgpt-4o-miniLightweight, faster