Configuration Options for Grok 3's Think Mode and DeepSearch Mode

Grok 3's Think mode and DeepSearch mode are binary UI toggles with no user-configurable parameters, activated exclusively through interface buttons rather than adjustable runtime settings.

The asgeirtj/system_prompts_leaks repository houses the official system prompts for xAI's Grok 3, providing authoritative insight into how these modes operate. According to the source code found in xAI/grok-3.md, configuration options for Grok 3's Think mode and DeepSearch mode are architected as simple binary flags without granular controls for reasoning depth, search iterations, or timeouts.

Binary Architecture of Think Mode and DeepSearch Mode

Grok 3 implements two distinct runtime modes that fundamentally alter response generation, both functioning as strict on/off switches.

Think mode slows response generation to allow extended internal reasoning before delivering the final answer. DeepSearch mode performs iterative web searches and analysis, collecting external information before producing responses. According to the system prompt in xAI/grok-3.md (lines 27-28), both modes are described as capabilities the model uses when instructed by the UI, not as user-tunable features.

The modes are mutually exclusive—only one can be active per request—and are triggered solely by user interaction with the Think or DeepSearch buttons in the interface. The system prompt notes these capabilities but exposes no numeric controls or configuration parameters for either mode.

System Prompt as Source of Truth

The xAI/grok-3.md file serves as the single source of truth for mode capabilities within the Grok 3 architecture. The prompt lists these modes as features that the model can employ when provided with the appropriate UI-generated flag.

Since no additional parameters are defined in the prompt, the underlying implementation presumably handled by the xAI front-end must manage activation logic. This typically involves adding a think: true or deepSearch: true flag to the request payload. Any future configuration options—such as time budgets, reasoning steps, or search result limits—would require updates to both the system prompt and the front-end request schema.

Simulating Mode Activation via API

While the official UI restricts these modes to button presses, developers can simulate the activation flags through JSON payloads when interacting with the underlying API. These examples illustrate the binary nature of the configuration options:

To activate Think mode:

{
  "model": "grok-3",
  "prompt": "Explain quantum entanglement in simple terms.",
  "options": {
    "think": true,
    "deepSearch": false
  }
}

To activate DeepSearch mode:

{
  "model": "grok-3",
  "prompt": "What are the latest regulations on AI transparency in the EU?",
  "options": {
    "think": false,
    "deepSearch": true
  }
}

Prompt Engineering Workarounds

Without direct access to the UI buttons, you can request similar behaviors through careful prompt engineering, though these methods rely on the model's instruction-following capabilities rather than the official mode architecture.

For Think-style reasoning without UI interaction:


You are Grok 3. Please take extra time to think through the answer before responding.

For DeepSearch-style information gathering:


You are Grok 3. Before answering, iteratively search the web for up-to-date information and incorporate it into your response.

These prompt-only approaches force the model to emulate the behaviors triggered by the official modes, but they do not engage the actual infrastructure optimizations present in the binary toggle implementations described in xAI/grok-3.md.

Summary

  • Think mode and DeepSearch mode are binary toggles with no configurable parameters for depth, timeout, or iterations.
  • Both modes are defined in xAI/grok-3.md (lines 27-28) as UI-driven capabilities rather than API configuration options.
  • The modes are mutually exclusive; only one can be active per request.
  • Activation occurs exclusively through the Think and DeepSearch buttons in the xAI interface.
  • Future configuration options would require updates to the system prompt and front-end request schema.

Frequently Asked Questions

Can I adjust the reasoning depth or search iterations in Grok 3 modes?

No. According to the source code in asgeirtj/system_prompts_leaks, both Think mode and DeepSearch mode are binary toggles without adjustable parameters. The system prompt does not expose controls for time budgets, reasoning steps, or result counts.

Are Think mode and DeepSearch mode mutually exclusive?

Yes. The Grok 3 system prompt indicates that only one mode can be active per request. The UI architecture prevents simultaneous activation of both extended reasoning and iterative web searching.

How do I enable Think mode or DeepSearch mode without the xAI UI?

You cannot officially enable these modes outside the UI, as activation requires specific flags generated by the interface buttons. However, you can simulate similar behaviors through prompt engineering by explicitly instructing the model to engage in extended reasoning or web research, though this lacks the infrastructure optimizations of the official modes.

Where are the mode configurations documented in the source code?

The configurations are documented in xAI/grok-3.md within the asgeirtj/system_prompts_leaks repository, specifically around lines 27-28. This file describes the modes as capabilities activated by UI interaction rather than user-configurable runtime parameters.

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →