xAI's latest flagship model released April 30, 2026, leading the industry in non-hallucination rate, agentic tool calling, and instruction following. Features 1M token context window with cached input at $0.20/M and supports function calling, structured outputs, image understanding, and live search.
- Most advanced flagship model with industry-leading non-hallucination rate and instruction following
- 1M token context window with cached input pricing at $0.20/M for cost-effective long-context workloads
- Native function calling, structured outputs, and live search via web/X integration
- Image understanding support accepting JPEG/PNG inputs up to 20MiB each
- ~20% cheaper than Grok 4.20 while scoring higher on Artificial Analysis Intelligence Index
Web Search
Search the web and X for real-time info.
JSON Mode
Output responses in valid JSON format.
Code Execution
Run Python code to compute and analyze.
Model Information
Supported Formats
Coding-specialized model optimized for software engineering tasks with 256K context window. Priced at $1.00 input / $2.00 output per 1M tokens - 20% cheaper than Grok 4.3 for code-focused workflows. Ideal for agentic coding, refactors, and large codebase analysis.
xAI's most advanced flagship model released March 2026 with 2M token context window. Features extended reasoning, multi-agent collaboration, and function calling capabilities. Supports cached input at $0.20/M tokens with 50% batch discount.
Non-reasoning variant of Grok 4.20 optimized for fast, direct responses without extended deliberation. Same 1M context window and image understanding as the reasoning variant, ideal for high-throughput workloads where step-by-step thinking is not required.