Skip to main content
MindStudio
Pricing
BlogAbout
My Workspace
Text Generation Model

Grok 4

Grok 4 is a text generation model from X.ai with a 256,000-token context window, released in July 2025.

PublisherX.ai
TypeText
Context Window256,000 tokens
ReleasedJuly 2025
Input$3.00/MTok
Output$15.00/MTok

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 Free

Benchmark scores

Scores represent accuracy — the percentage of questions answered correctly on each test.

BenchmarkWhat it testsScore
MMLU-ProExpert knowledge across 14 academic disciplines86.6%
GPQA DiamondPhD-level science questions (biology, physics, chemistry)87.7%
MATH-500Undergraduate and competition-level math problems99.0%
AIME 2024American math olympiad problems94.3%
LiveCodeBenchReal-world coding tasks from recent competitions81.9%
HLEQuestions that challenge frontier models across many domains23.9%
SciCodeScientific research coding and numerical methods45.7%
AIME 2025American math olympiad problems (2025)91.7%
SWE-bench VerifiedReal GitHub issues requiring multi-file code fixes69.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.

View more discussions →

Parameters & options

Max Temperature1
Max Response Size256,000 tokens

Start building with Grok 4

No API keys required. Create AI-powered workflows with Grok 4 in minutes — free.