Files
t3code/docs/user/providers-grok.md
T
Theo Browne fbd04178e1 feat(server): wire Grok Build effort, auth, rewind, and usage
Grok already advertised reasoning effort and rewind over ACP. T3 dropped the metadata and forced a new thread for model changes.

Map the live effort menu into composer options, send session/set_model _meta.reasoningEffort, probe login, roll back turns through _x.ai/rewind, and emit thread token usage.

Made with Grok 4.6.
2026-08-12 14:42:38 -07:00

1.1 KiB

Grok Build

This guide is for people who want to use Grok Build in T3 Code. For first-time setup, see Install T3 Code.

Log in with the Grok CLI on the machine that runs the T3 Code server:

grok login

You can also set XAI_API_KEY in the server environment instead of running grok login.

In T3 Code Settings, the default Grok provider can stay like this:

Display name: Grok
Binary path: grok

Use an explicit binary path when grok is not on the PATH of the shell that started T3 Code.

Models and effort

T3 Code reads the live Grok model list from the CLI. Current Grok Build installs advertise grok-4.6 and grok-4.5. Each model that supports reasoning effort shows a Reasoning control in the composer. The menu comes from the CLI, so the levels can differ by model.

T3 Code sends the selected effort on the live session. You do not need a new thread to change model or effort.

If Grok looks ready but will not start

Run grok login again on the server machine. T3 Code reports an unauthenticated Grok install in Settings when ACP login fails.