Grok 4
Grok 4 is a text generation model from X.ai with a 256,000-token context window, released in July 2025.
Large-context text generation from X.ai
Grok 4 is a large language model developed by X.ai, the AI research company founded by Elon Musk. Released in July 2025, it is designed for text generation tasks and supports a context window of 256,000 tokens, allowing it to process and respond to very long inputs within a single session.
The model is suited for tasks that benefit from extended context, such as analyzing lengthy documents, multi-turn conversations, and complex instruction-following. Grok 4 is available through MindStudio without requiring separate API key management, making it accessible for developers and builders working on AI-powered applications.
What Grok 4 supports
Long Context Window
Processes up to 256,000 tokens in a single session, enabling analysis of lengthy documents or extended multi-turn conversations without truncation.
Text Generation
Generates coherent, contextually relevant text for tasks such as summarization, drafting, and instruction-following based on natural language prompts.
Instruction Following
Responds to structured and complex natural language instructions, supporting multi-step tasks and detailed user-defined workflows.
Conversational Reasoning
Maintains coherent reasoning across long multi-turn dialogues, leveraging its large context window to track prior context throughout a session.
Code Assistance
Generates, explains, and debugs code across common programming languages as part of its general text generation capabilities.
Ready to build with Grok 4?
Get Started FreeBenchmark scores
Scores represent accuracy — the percentage of questions answered correctly on each test.
| Benchmark | What it tests | Score |
|---|---|---|
| MMLU-Pro | Expert knowledge across 14 academic disciplines | 86.6% |
| GPQA Diamond | PhD-level science questions (biology, physics, chemistry) | 87.7% |
| MATH-500 | Undergraduate and competition-level math problems | 99.0% |
| AIME 2024 | American math olympiad problems | 94.3% |
| LiveCodeBench | Real-world coding tasks from recent competitions | 81.9% |
| HLE | Questions that challenge frontier models across many domains | 23.9% |
| SciCode | Scientific research coding and numerical methods | 45.7% |
| AIME 2025 | American math olympiad problems (2025) | 91.7% |
| SWE-bench Verified | Real GitHub issues requiring multi-file code fixes | 69.1% |
Common questions about Grok 4
What is the context window size for Grok 4?
Grok 4 supports a context window of 256,000 tokens, which also matches its maximum response size.
Who developed Grok 4?
Grok 4 was developed by X.ai, the AI research company associated with Elon Musk. It was released in July 2025.
What type of model is Grok 4?
Grok 4 is a text generation model (LLM chat type), designed to process and generate natural language text.
What is the pricing for Grok 4 on MindStudio?
Published pricing details for Grok 4 are not currently listed in the model metadata. Check MindStudio's pricing page or your account dashboard for current usage costs.
Does Grok 4 support image or video inputs?
Based on the available metadata, image and video analysis support for Grok 4 is not confirmed. The model's listed input types are standard text.
What is the knowledge cutoff date for Grok 4?
A specific knowledge cutoff date is not provided in the available metadata for Grok 4. X.ai has not publicly confirmed this detail in sources reviewed at the time of writing.
What people think about Grok 4
Community discussion ahead of Grok 4's release was largely anticipatory, with threads citing xAI engineers claiming it would represent a larger generational leap than Grok 3 was over Grok 2. After release, discussion focused on benchmark results, particularly its performance on Humanity's Last Exam and ARC-AGI V2.
A widely circulated thread raised concerns about content moderation after users reported the model producing inappropriate outputs, reflecting ongoing community scrutiny of safety guardrails. Discussions around Grok 4 Fast benchmarks and a rumored future Grok 4.20 release also generated engagement, indicating active interest in xAI's development roadmap.
xAI employee bragging about upcoming release of grok 4
xAI Engineer: "Grok 4 is coming, and its going to be a bigger jump from grok 3 than grok 3 was from 2."
xAI releases details and performance benchmarks for Grok 4 Fast
xAI to launch Grok 4.20 by Christmas
Grok says its surname is Hitler
Documentation & links
Parameters & options
Explore similar models
Start building with Grok 4
No API keys required. Create AI-powered workflows with Grok 4 in minutes — free.