xAI logo

xAI AI models

11 xAI models on FastRouter, all behind one OpenAI-compatible API. Compare pricing, context windows and benchmarks, then open any model for its providers and code samples.

Filter in catalog
Models
11
Newest
Grok 4.7
Largest context
2M
Grok 4.20 Beta
Lowest input /1M
$0.60
Grok 3 Mini Beta
Top intelligence
46.3
Grok 4.7

All xAI models

X-ai logo
Grok 4.7New#9 Intelligence

Grok 4.7 is xAI's flagship multimodal reasoning model, built on a new, larger base model than Grok 4.6 (reportedly ~2.1T parameters vs. 1.5T) with a longer reinforcement-learning run weighted toward multi-hour tasks. It accepts text and images, supports a 500K-token context window, four reasoning levels (low, medium, high, xhigh), and native understanding of the Grok Bot harness for agentic coding and knowledge work. xAI reports stronger self-verification, long-context handling, and document/presentation generation, at the same per-token price as Grok 4.6.

x-ai/grok-4.7Sep 21, 2026
Context
500K
Price /1M
$2.00 in$6.00 out
Intel
46.3
X-ai logo
Grok 4.6#4 Coding

Grok 4.6 is xAI's frontier multimodal reasoning model for coding, long-running agentic tasks, knowledge work, and interactive/visual projects, released as the successor to Grok 4.5. It accepts text and images and returns text, with a 500,000-token context window, a February 1, 2026 knowledge cutoff, and four reasoning-effort levels (low, medium, high, xhigh, with high as default). It supports function calling, JSON-schema structured outputs, web search, X search, code execution, and prompt caching, and received a longer supplemental training run than 4.5 with curated technical and agentic reasoning data.

x-ai/grok-4.6Aug 12, 2026
Context
500K
Price /1M
$2.00 in$6.00 out
Intel
44.3
X-ai logo

Grok Imagine Video 1.5 is xAI’s next-generation AI video model for animating still images into short, cinematic clips. It preserves the source image’s composition and identity while adding motion, camera movement, and synchronized audio such as dialogue, effects, ambience, and music.

x-ai/grok-imagine-video-1.5Jul 20, 2026
Context
4K
Price /1M
— in$0.08/vid out
Intel
—
X-ai logo

Grok 4.5 is xAI’s flagship multimodal reasoning model optimized for coding, agentic workflows, and knowledge work, with support for very long contexts (up to ~500K tokens) and tools. It accepts text and images and can call tools for search, code execution, and other actions via the xAI API. Designed as an Opus-class model, it targets high performance at aggressive per-token pricing for large, tool-heavy sessions.

x-ai/grok-4.5Jul 8, 202681s latency
Context
500K
Price /1M
$2.00 in$6.00 out
Intel
38.8
X-ai logo

grok-build-0.1 is xAI's specialized, ultra-fast AI model explicitly engineered for agentic software engineering and multi-step coding workflows. Rather than operating as a general-purpose conversational chatbot, it is optimized to run tools, handle debugging, and execute complex programming instructions autonomously.

x-ai/grok-build-0.1May 22, 202643s latency
Context
256K
Price /1M
$1.00 in$2.00 out
Intel
—
X-ai logo

x-ai/grok-imagine-video is xAI’s video generation model for creating short clips from text or images, with native synchronized audio such as dialogue, sound effects, and music. It supports text-to-video, image-to-video, and video editing/extending workflows, making it useful for cinematic clip generation and iterative creative editing.

x-ai/grok-imagine-videoMay 18, 2026
Context
4K
Price /1M
— in$0.05/vid out
Intel
—
X-ai logo

Grok Imagine Image is xAI’s text-to-image generation model for creating visuals from prompts, with support for both text and image inputs. xAI describes it as a model for generating images through the Grok Imagine API, and its docs list it as available for image generation with configurable output sizes.

x-ai/grok-imagine-imageMay 15, 2026
Context
4K
Price /1M
— in$0.02/img out
Intel
—
X-ai logo

Grok-4.3 is xAI's advanced reasoning model, launched in late April 2026, designed for complex tasks like advanced logic, math, scientific analysis, and multi-step agentic workflows.

x-ai/grok-4.3Apr 30, 202615s latency
Context
1M
Price /1M
$1.25 in$2.50 out
Intel
24.9
X-ai logo

Grok 4.20 Beta is xAI’s newest flagship large language model that uses four specialized “agents” working together to answer complex questions more accurately and with deeper reasoning than prior Grok versions.

x-ai/grok-4.20-betaMar 12, 202659s latency
Context
2M
Price /1M
$1.25 in$2.50 out
Intel
25.7
X-ai logo

Grok 3 Mini Beta is xAI's lightweight reasoning model designed specifically for quantitative problem-solving with transparent thinking processes. Unlike conventional AI systems that generate immediate answers, this model implements explicit reasoning steps before responding, making it particularly effective for mathematics, puzzles, and logical reasoning tasks. The model defaults to low reasoning effort but can be configured with increased reasoning capacity (reasoning: { effort: high }) for more complex problems. With accessible thinking traces, users can examine the model's step-by-step problem-solving approach, providing valuable insights into its reasoning process. This beta release offers early access to xAI's reasoning capabilities through dual endpoint options: a standard endpoint optimized for quality and a fast endpoint prioritizing throughput for latency-sensitive applications.

x-ai/grok-3-mini-betaApr 9, 202519s latency
Context
131K
Price /1M
$0.60 in$4.00 out
Intel
—
X-ai logo

Grok 3 Beta is xAI's flagship model featuring specialized domain expertise in finance, healthcare, law, and scientific fields. This enterprise-focused solution delivers exceptional performance in data extraction, code generation, and text summarization tasks. Released in 2025, the model particularly excels in structured tasks and achieves superior results on challenging benchmarks like GPQA, LCB, and MMLU-Pro, consistently outperforming the smaller Grok 3 Mini even when the latter operates at high thinking levels. Grok 3's sophisticated knowledge architecture makes it particularly valuable for professional and technical applications requiring deep contextual understanding in regulated industries. The model offers dual deployment options: a standard endpoint optimized for quality and a fast endpoint prioritizing throughput, allowing users to select the appropriate performance profile based on their specific application requirements.

x-ai/grok-3-betaApr 9, 202516s latency
Context
131K
Price /1M
$5.00 in$25.00 out
Intel
10.4

Frequently asked questions

Model scores sourced from ArtificialAnalysis

xAI AI Models: API Pricing & Benchmarks | FastRouter.ai