Explicit freshness rules
Tell the model which search surface to use and which claims require citations.
Treat Grok as a reasoning-and-tools system: choose effort intentionally and enable search whenever freshness matters.
The mental model
“A confident answer is not a current answer unless the right search tool was available.”
Three levels
Do not add production scaffolding before you can describe and measure a good single-task result.
Avoid paying for deep reasoning when the job is a simple lookup or action.
Separate model knowledge from live web and X evidence.
Keep multi-turn tool work efficient and inspectable.
Starter template
Replace the bracketed text, run it on a real task, and add guidance only when you can name the failure it fixes.
Task: [specific outcome]
Freshness:
- Use web search for current public facts.
- Use X search only when posts or live conversation are relevant.
- Cite each time-sensitive claim.
Reasoning: [low for routine tool use / medium for analysis / high for difficult multistep work]
Return: [format, length, and acceptance criteria]Tell the model which search surface to use and which claims require citations.
Choose low, medium, or high by task difficulty instead of asking every request to think as hard as possible.
Use tools to gather evidence and a JSON schema to make the final response safe for downstream code.
A recent-sounding answer contains no search sources.
Fix: Enable web or X search and require citations; the base model does not automatically know live events.
Repeated long context is billed at the full input rate.
Fix: Set a stable conversation or prompt cache key and keep the prefix unchanged.
Tool calls that should be quick inherit unnecessary latency.
Fix: Use low effort for routine agentic actions and raise it only for the reasoning-heavy step.
Current as of July 26, 2026
xAI’s July 2026 documentation positions Grok 4.5 as its current flagship and documents configurable reasoning, server-side search and code tools, structured outputs, and cache-aware conversation patterns.
Evidence ledger
Official provider documentation takes priority. Maintainer field notes are useful evidence, but they are labeled separately.
xAI
Current model identity, supported tools, reasoning levels, knowledge cutoff, and cache guidance.
xAI
Reasoning effort behavior, defaults, compatibility limits, and encrypted reasoning.
xAI
Web search, X search, code execution, custom functions, and returned citations.
This guide is reviewed at least every 30 days. Automated checks flag unavailable sources and overdue reviews; substantive advice changes require human verification.