Trae Setup
Connect Trae to Tokenfly
Installation
Download the installer for your platform (Windows / macOS / Linux) from the Trae website, then run it — no Node.js or npm required.
Configure a Custom Model
-
Open
Settings→Modelsto access the model management panel. -
Click the Add Model button to open the add model dialog.
-
Select the Custom Configuration option.
-
Set the API format to OpenAI Chat Completions format.
-
Enter the request URL: turn off the Full URL toggle, and enter the base address:
https://tokenfly.com/v1 -
Enter the model ID:
gpt-5.4 -
Enter the API key:
sk-xxx. -
Click Add Model.
Trae will call the provider's API to verify the API key: on success the model appears in the model list; on failure an error message and provider log are shown to help troubleshoot.
Configuration Reference
| Field | Purpose |
|---|---|
| API Format | Select OpenAI Chat Completions format |
| Request URL | Service gateway address |
| Model ID | Model name to use, case-sensitive |
| API Key | Access token |
Switching Models
Click the current model name in the bottom-right corner of the chat input box to open the model list, then select gpt-5.4.
Verification
After selecting the gpt-5.4 model, start a conversation — a normal reply confirms the setup works.
How is this guide?