Grok 4

Grok 4

xAILLM

Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not...

MultimodalAPI AvailableVisionTool CallingReasoning

Specifications

Context Window

256K tokens

Input Price/1M

$5.50

Output Price/1M

$27.50

Parameters

00

Benchmarks

Grok 4 results on the main AI model evaluation benchmarks. Higher scores indicate better performance.

Agentic

BenchmarkScoreMaximumMethodology
Terminal-Bench Hard38.0100.0

Coding

BenchmarkScoreMaximumMethodology
LiveCodeBench82.0100.0Artificial Analysis official API
SciCode46.0100.0
AA Coding Index40.5100.0Artificial Analysis official API

Knowledge

BenchmarkScoreMaximumMethodology
MMLU-Pro87.0100.0

Long Context

BenchmarkScoreMaximumMethodology
AA-LCR68.0100.0

Math

BenchmarkScoreMaximumMethodology
MATH-50099.0100.0Artificial Analysis official API
AIME 202593.0100.0Artificial Analysis official API
AA Math Index92.7100.0Artificial Analysis official API

overall

BenchmarkScoreMaximumMethodology
AA Intelligence Index41.5100.0Artificial Analysis official API

Reasoning

BenchmarkScoreMaximumMethodology
GPQA Diamond88.0100.0Artificial Analysis official API
MMLU Pro86.6100.0Artificial Analysis official API
IFBench54.0100.0
HLE24.0100.0

Tool Use

BenchmarkScoreMaximumMethodology
Tau²-Bench75.0100.0

Information

Release date
July 10, 2025
Tool Calling
✅ Supported
Vision
✅ Supported
Audio
❌ Not supported

Full Analysis: Grok 4

What is Grok 4?

Grok 4 is an AI model developed by xAI, classified as a large language model (LLM). It is a multimodal model, capable of processing text, images, and potentially other media types. As a proprietary model, it is available via xAI's cloud API. With a context window of 256K tokens, it is suitable for processing long documents such as contracts, books, and complete codebases.

Pricing & Costs in 2026

Grok 4 is usage-based, priced at $5.5/1M input tokens and $27.5/1M output tokens. For context: 1 million tokens is approximately 750,000 words, or about 10 average-length books. The mid-range pricing balances quality and cost for most professional applications.

Benchmarks & Performance

Grok 4 was evaluated on 15 different benchmarks, covering categories like Agentic, Coding, Knowledge, Long Context, Math, overall, Reasoning, Tool Use. Results show exceptional performance across available evaluations.

It's important to note that benchmarks measure specific aspects and don't capture the full user experience. Factors like instruction adherence, behavior in long conversations, and real-world task quality vary significantly between models and aren't always reflected in standard scores.

Recommended Use Cases

Grok 4 is suitable for a wide range of AI applications: long document analysis (contracts, legal proceedings, codebases), automation with tool calling (API integration, databases, external systems), image and visual document analysis (OCR, diagrams, screenshots), multimodal processing combining text and images, complex reasoning, math problem solving, and logical analysis, text generation, summarization, translation, and general assistance.

Comparison with Alternatives

In the 2026 AI model ecosystem, Grok 4 competes directly with similarly capable models. xAI competes in this segment against OpenAI, Anthropic, Google, and Meta. The choice between models depends on the specific use case, budget, latency requirements, and need for features like multimodality and tool calling.

For a detailed side-by-side comparison, use our comparison tool or check the overall model ranking.

Comparisons with Grok 4

Frequently Asked Questions

What is Grok 4?

Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not...

How much does Grok 4 cost?

Grok 4 costs $5.5/1M input tokens and $27.5/1M output tokens. For heavy usage (e.g., a chatbot handling 100k messages/month), costs can range from $10 to $1,000 depending on volume.

How does Grok 4 compare with other models?

In available benchmarks, Grok 4 scored: Terminal-Bench Hard: 38/100, LiveCodeBench: 82/100, SciCode: 46/100. See the full table above for a detailed comparison.

Is Grok 4 open source?

No, Grok 4 is a proprietary model from xAI. It is available via cloud API. For open source alternatives, check our open source model ranking.

What is Grok 4 best for?

Grok 4 excels at complex reasoning and problem solving. With its large context window, it handles long documents, codebases, and extended conversations. It supports tool calling for API integrations and automation.

Last updated: June 01, 2026 View methodology →