Using with Trae
Connect TokenDNS models in Trae using the OpenAI-compatible format.
Download and add a model
- Open the Trae website, download Trae and install it.
- Open Trae and sign up.
- Click "Avatar → Settings" in the bottom-left corner.
- Choose "Models → Add model → Custom model".
- Select
OpenAIas the API format. - Enter this custom request URL:
https://api.tokendns.net/v1- Enter the model ID you want to use.
- Enter your TokenDNS API key.
- Click "Add model".
Verify
Go back to the home screen, select the model you just added and send a test message. If you get a reply, the configuration works. For the currently available model IDs, refer to the TokenDNS model list.
