Grok Build reads ~/.grok/config.toml. Merge the block below into
that file to route built-in Grok models through Sleev.
With this in place, requests bill to your Grok subscription sign-in.
xAI API billing
To use a pay-as-you-go xAI API key instead, remove the endpoint above and add
this custom provider. Paste your key from console.x.ai into api_key, or use env_key = "XAI_API_KEY". Sleev sends
the key per request and never stores it.
Reference the provider from each model you want routed through Sleev:
Note: Sleev serves Grok Build on the Responses API only. Do
not set api_backend to "messages" or "chat_completions".