trace-cli chat uses the same hosted models as the chat in the Trace app, through your Trace account. Choose one with --model:
--model | Model |
|---|---|
gpt-astra | GPT Astra |
gpt-sol | GPT Sol |
genie-2-flash | Trace Genie 2.0 Flash |
genie-2 | Trace Genie 2.0 |
Leave out --model to use the default. Usage counts against your plan as it does in the app; see Billing.
Your own provider key (BYOK)
trace-cli has no option for your own model provider key, and Bring Your Own Key is turned off for Trace accounts by default. Instructions from the old developer CLI for setting up a key no longer apply.
If your organization needs BYOK, email hello@buildwithtrace.com with the Trace version you use and what you want to do. Don't send the key itself. See Bring Your Own Key.
Never put a provider key in a command, a chat message or a design file. If you stored a key in another tool, remove or revoke it there; signing in to Trace doesn't remove it.