Roboflow

Grok 4 Overview

Grok 4, released by xAI on July 9, 2025, is the fourth-generation model in the Grok family and the most advanced to date. It is multimodal, supporting text, vision, tool use, and real-time web search, with a reported 256,000-token context window for long-form reasoning and document analysis. Its training data extends through November 2024, making it the most up-to-date Grok model at launch.

The lineup includes Grok 4 Generalist for broad tasks, Grok 4 Heavy for higher-capacity reasoning, and Grok 4 Code optimized for programming and debugging. A notable feature is its always-on “Think” mode, designed for deeper multi-step reasoning. While xAI has not disclosed parameter counts, Grok 4 is positioned to compete with frontier models like GPT-5 and Claude 4, balancing real-time knowledge via web integration with structured tool use. It is best suited for coding, complex reasoning, and multimodal AI assistants.

Grok 4 Interactive Demo

Grok 4 Details & Performance

Details

Resources

Vision Tasks

CaptioningChart Question AnsweringClassificationDocument Question AnsweringImage TaggingMulti-Label ClassificationOCRObject DetectionVision LanguageVisual Question Answering

Features

Foundation VisionLLMs with Vision CapabilitiesMultimodal Vision

Usage

Past 30 Days

Performance

Avg. Latency

Arena Rankings

Grok 4 Vision Evals

Grok 4 has not yet been evaluated on the current benchmark. The results below are from the legacy version of Vision Evals, our previous benchmark. See the current Vision Evals

Visual Understanding

77 models · 67 tasks
HighestLowest
This model#63 of 7752.24% pass rate · better than 17%
Score52.24%pass rate across 67 tasks
Speed85.24savg response per task
Costpricing unavailable
Tokenstokens unavailable
Score key:≥75%40–74%<40%
CategoryPassedScore
Defect Detection12 / 15
80%
Object Understanding8 / 14
57.1%
Spatial Understanding10 / 19
52.6%
Document Understanding4 / 9
44.4%
Object Counting1 / 10
10%

Scores based on a single evaluation run · Methodology

View all legacy Vision Evals results →

Price vs. performance

Estimated cost per task vs. Visual Understanding score, for this model and others ranked near it. Upper-left is the sweet spot (high quality, low cost). Based on Vision Evals (legacy) results.

6 of 7 models plotted · 1 not yet evaluated

ModelScoreMedian tokensEst. cost / taskCompare
AnthropicClaude Haiku 4.558.2%2.3K$0.0030Compare
OpenAIGPT-5 Nano58.2%2.7K$0.0003Compare
QwenQwen3.5 397B A17B58.2%1.5K$0.0008Compare
GoogleGemini 2.5 Flash55.2%476$0.0005Compare
GoogleGemini 2.5 Flash-Lite53.7%301<$0.0001Compare
GrokGrok 4(this model)52.2%
MoonshotAIKimi K2.535.8%2.7K$0.0031Compare

Alternatives to Grok 4

Other models worth comparing for similar use cases.

Google
Gemini 3.1 Pro
Gemini 3.1 Pro is a proprietary multimodal model from Google’s Gemini 3 series, released in early 2026 and designed for advanced reasoning across large multimodal datasets. It accepts text, images, audio, video, and documents, supporting up to a 1-million-token input context with up to 64k output tokens. Compared with Gemini 3 Pro, it improves long-context synthesis and multi-step reasoning, enabling more reliable analysis of large documents, datasets, and software codebases.The model also advances visual understanding and grounding, allowing it to interpret UI screenshots, diagrams, and real-world scenes while referencing specific regions within images or video. These capabilities make Gemini 3.1 Pro well suited for multimodal workflows involving document processing, interface analysis, robotics research, and complex visual reasoning.
Anthropic
Claude Opus 4.8
Claude Opus 4.8 is Anthropic's most capable generally available large language model, released on May 28, 2026 as an incremental upgrade to Claude Opus 4.7. The model accepts text and image inputs and produces text outputs, with a 1 million token context window on the Claude API, Amazon Bedrock, and Google Cloud Vertex AI (200k tokens on Microsoft Foundry) and up to 128k max output tokens. It uses adaptive thinking and supports adjustable effort tiers — high by default, with extra and max tiers available for more demanding tasks. A fast mode operates at approximately 2.5x standard speed. The model is described by Anthropic as a hybrid reasoning model designed for advanced coding, agentic workflows, long-context reasoning, and professional knowledge work.Key behavioral improvements over Opus 4.7 include substantially reduced rates of unreported code flaws, improved honesty in self-assessment, and better tool-calling reliability. On Anthropic's Super-Agent benchmark, Opus 4.8 completes every case end-to-end, and it scores 84% on Online-Mind2Web for computer-use and browser-agent tasks. It achieves 88.6% on SWE-bench Verified and 69.2% on SWE-bench Pro. Alongside the model, Anthropic launched Dynamic Workflows in Claude Code (research preview), which enables Claude to orchestrate hundreds of parallel subagents for codebase-scale tasks such as large migrations. The Messages API was also updated to accept mid-task system messages without breaking prompt caching, improving support for long-running agentic pipelines.
OpenAI
GPT-5.6 Sol
GPT-5.6 Sol is the flagship model in OpenAI's GPT-5.6 family, which also includes Terra (a balanced everyday-work tier) and Luna (a fast, cost-efficient tier). Sol is designed for demanding reasoning, long-horizon agentic workflows, software engineering, computer use, scientific research, and cybersecurity tasks. It introduces two new capability modes: a "max" reasoning effort setting that allocates additional compute time for difficult problems, and an "ultra" mode that coordinates multiple subagents in parallel to accelerate complex, multi-step work. The model supports native multimodal input, allowing it to process screenshots, diagrams, charts, documents, and photographs alongside text. A reported context window of approximately 1.5 million tokens enables processing of large codebases, lengthy research documents, and extended agentic sessions.GPT-5.6 Sol was announced on June 26, 2026, initially in a limited preview for trusted partners, and reached general availability on July 9, 2026. On the Agents' Last Exam benchmark, which evaluates long-running professional workflows across 55 fields, Sol scores 53.6. On Terminal-Bench 2.1, which tests command-line agentic coding workflows, Sol Ultra achieves 91.9%. The model also demonstrates gains in life sciences evaluations, including long-horizon genomics and quantitative biology analyses. OpenAI paired the release with its most extensive safety evaluation to date, combining human red teaming with large-scale automated testing, and classified Sol as High capability in both cybersecurity and biological risk under its Preparedness Framework, though it does not cross the Critical threshold in either category.
Qwen
Qwen3 VL 235B A22B Instruct
Qwen3 VL 235B A22B Instruct is a flagship multimodal vision-language model developed by Qwen (Alibaba Cloud), designed for instruction-following tasks that combine advanced text generation with visual understanding. It serves as a high-end open-weight model for developers and researchers building multimodal AI systems that require strong reasoning, perception, and long-context capabilities.The model supports interleaved text and image inputs, very long context windows (up to roughly 256K tokens), and efficient inference through a mixture-of-experts architecture with about 22B active parameters out of 235B total. In today’s landscape, it competes with top-tier proprietary vision-language models while offering the advantages of open weights and flexible deployment. Typical applications include multimodal assistants, document and image analysis, visual reasoning, and large-context instruction-based workflows.

Other SpaceXAI Grok models

Other versions in the same family as Grok 4.

Grok 4 License

Proprietary

Grok 4 is proprietary: the weights are not distributed, and the Grok 4 license is the vendor's commercial terms of service that you accept when you call the API.

Commercial use
Permitted under the vendor terms, typically metered per token or per request, with the vendor usage policy applying to your inputs and outputs.
Modification
Not available. Grok 4 weights are closed, so you can configure prompts and use vendor-hosted fine-tuning where it is offered, but you cannot modify the model itself.
Redistribution
Not permitted. You cannot self-host or resell the model; you build on the hosted API instead.

Vendor terms govern data retention, whether your inputs can be trained on, rate limits, and regional availability, and they can change with notice. Review them if you handle regulated or customer data.

Do I need a commercial license for Grok 4?

Proprietary terms are set by the vendor rather than negotiated per project, and no open-source obligation attaches to your code. If you would rather deploy a model whose commercial license is included in your plan — on Roboflow Managed Cloud or a Self-Hosted Inference Server — Roboflow's licensing page lists the supported alternatives to Grok 4.

Do not hesitate to reach out with questions for your commercial project — our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

This model is proprietary. The author retains all rights, and use of the model is governed by their specific terms of service or license agreement.

Commercial use depends on the terms set by the model author. Most proprietary commercial models require a paid subscription, API key, or per-call billing. Check the provider’s pricing and terms-of-service for details.

License information is provided as a guide and is not legal advice.

Frequently Asked Questions About Grok 4 Vision

Yes. Grok 4 accepts image input, and on Roboflow's previous vision benchmark it passed 52.2% of visual understanding tasks (#63 of 77). You can test it on your own image in the demo above.

Grok 4 has not yet been evaluated on Roboflow's current Vision Evals. The results on this page are from the previous benchmark.

Yes. The demo on this page runs Grok 4 in the free Roboflow Playground: upload an image and see results in seconds. A free account unlocks unlimited runs.