Grok Build includes the former Cursor desktop app and the grok terminal app. The terminal reads a configuration file. The desktop IDE has its own model settings. Product announcement
Connect from the terminal
Choose a model that supports tool calling in the setup generator above. For a single model, you can use the example below. Add it to ~/.grok/config.toml, or to config.toml under GROK_HOME if you set that variable. Merge keys into any sections you already have. Grok reads custom model definitions from the user configuration file. Grok Build terminal settings
[models]
default = "everyais/gemini-3-8-flash"
session_summary = "everyais/gemini-3-8-flash"
[features]
turn_summary = false
[model."everyais/gemini-3-8-flash"]
model = "everyais/gemini-3-8-flash"
base_url = "https://api.everyais.com/v1"
api_backend = "messages"
env_key = "EVERYAIS_API_KEY"default selects the chat model. session_summary selects the model that names the session. Setting both sends title requests to EveryAIS too. turn_summary = false disables an extra per-turn summary that sends an incompatible request in terminal version 1.0.96. With api_backend = "messages", Grok appends /messages to the base URL and can send tool results and conversation history. Custom model settings
export EVERYAIS_API_KEY="everyais_your_api_key"
grokReplace the placeholder with your API key and run the commands. Use /model to switch between configured models and grok --resume to reopen a conversation. Send one message and check the model and cost in dashboard usage.
Connect from the desktop IDE
- Open Grok Build Settings → Models, then API Keys → OpenAI. In IDE version 3.33.21, enable Override OpenAI Base URL and enter
https://api.everyais.com/v1first. If your IDE has no override, use the terminal configuration above. - Enter your EveryAIS key in OpenAI API Key and enable Use OpenAI API Key.
- Under Add or search model → Add Custom Model, enter the full
everyais/model ID. The generator lists models that can call tools in the terminal. For desktop chat, you can also choose from the model catalog. Open the model’s page and check that it supports/v1/chat/completions. - Select the ID you added in chat and send a message.
Grok lists standard, non-reasoning chat models for OpenAI keys. If the IDE rejects your custom model, use the terminal setup above. Tab completion uses Grok Build’s built-in model. Desktop API key guide
Flex and resumed conversations
Append :vflex to the model value to request Flex. On an EveryAIS API version that supports conversation-level routing, you can add env_http_headers = { "X-EveryAIS-Session-Id" = "EVERYAIS_CHAT_ID" } inside the model section. Set EVERYAIS_CHAT_ID to a unique value before starting each new chat and restore the same value when resuming that chat. grok --resume reopens the Grok conversation. The deployed EveryAIS API version determines whether its tier is retained. Flex conversation settings and availability