← All docs

Coding tools

Grok Build

Updated

Generate your config

Pick one or more models and press Confirm. The config below is regenerated so every model you picked is ready to use. The first model you pick becomes the default. Context, output limits, and prices come from the model catalog. This tool runs as an agent, so only models that support tool calling are listed.

Reasoning effort

The initial value is the model's default. Choose Tool default to leave it out of the config.

~/.grok/config.toml
[models]
default = "everyais/gemini-4-argon"
session_summary = "everyais/gemini-4-argon"

[features]
turn_summary = false

[model."everyais/gemini-4-argon"]
model = "everyais/gemini-4-argon:high"
name = "Gemini 4 Argon"
base_url = "https://api.everyais.com/v1"
api_backend = "messages"
env_key = "EVERYAIS_API_KEY"
context_window = 1048576
max_completion_tokens = 32768

Merge keys into existing sections. The first model handles the chat and session titles.

Run in a terminal
export EVERYAIS_API_KEY="everyais_your_api_key"
grok

Desktop IDE · Models

Override OpenAI Base URL
https://api.everyais.com/v1
Gemini 4 Argon
everyais/gemini-4-argon:high

Use these values in IDE versions that show the URL override. Set the URL before entering your EveryAIS key in the OpenAI API Key field.

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

toml
[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

bash
export EVERYAIS_API_KEY="everyais_your_api_key"
grok

Replace 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

  1. 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/v1 first. If your IDE has no override, use the terminal configuration above.
  2. Enter your EveryAIS key in OpenAI API Key and enable Use OpenAI API Key.
  3. 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.
  4. 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

Contact support