Grok 4 Models by xAI

xAIProprietary
xAI releases · 18 in the last 12 months · this family litChangelog →
15 models2025–2026Up to 2M ctxFrom $0.200/1M input

Last refreshed 2026-10-27. Next refresh: weekly.

Details

ResearcherxAI
LicenseProprietary
Commercial useRestricted
Models15
Released2025–2026
Max context2M

Capabilities

Vision14 of 15 models
Multimodal14 of 15 models
Reasoning12 of 15 models
JSON / Tool use12 of 15 models
Structured Outputs10 of 15 models
Code Execution4 of 15 models

About

xAI's Grok 4 model family spans the original Grok 4 API lineup, Grok 4.3, Grok 4.20 variants, and Grok 4.5 — the July 2026 flagship for coding, agentic tasks, and knowledge work.

Decision facts

Best fit
agenticreasoningvision and multimodal work
Capability starting point
Grok 4.7 with 500K context and reasoning, JSON / Tool use, structured outputs, and multimodal inputs
Lowest tracked input
Grok 4.1 Fast · $0.200/1M · OpenRouter
Closest related family
Grok 1

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

6 in view9 retired
Grok 4.7Current

Use when the workload needs 500K context, reasoning, and JSON / Tool use.

2026-09500K contextreasoningJSON / Tool use

Use when the workload needs agentic, 1M context, and reasoning.

2026-03agentic1M contextreasoning

Use when the workload needs 1M context, JSON / Tool use, and structured outputs.

2026-031M contextJSON / Tool usestructured outputs

Use when the workload needs reasoning, 1M context, and JSON / Tool use.

2026-03reasoning1M contextJSON / Tool use
Grok 4.1Current

Use when the workload needs 128K context, reasoning, and JSON / Tool use.

2025-11128K contextreasoningJSON / Tool use

Use when the workload needs 256K context and multimodal inputs.

2025-07256K contextmultimodal inputs

Release Timeline

10 release groups
2026-09
1 current
Grok 4.7
500K contextreasoningJSON / Tool use
Current
2026-08
1 retired
Grok 4.6
500K contextreasoningJSON / Tool use
Replaced
2026-07
1 retired
Grok 4.5
code500K contextreasoning
Replaced
2026-05
1 retired
Grok 4.3
1M contextreasoningJSON / Tool use
Replaced
2026-03
3 current
Grok 4.20 Multi-Agent
agentic1M contextreasoning
Current
Grok 4.20 Non-Reasoning
1M contextJSON / Tool usestructured outputs
Current
Grok 4.20 Reasoning
reasoning1M contextJSON / Tool use
Current
2026-02
1 retired
Grok 4.20
1M contextreasoningJSON / Tool use
Replaced
2025-11
1 current · 1 retired
Grok 4.1
128K contextreasoningJSON / Tool use
Current
Grok 4.1 Fast
2M contextreasoningJSON / Tool use
Replaced
2025-09
2 retired
Grok 4 Fast Non-Reasoning
2M contextreasoningmultimodal inputs
Replaced
Grok 4 Fast Reasoning
2M contextreasoningmultimodal inputs
Replaced

Replaced By

Keep for legacy integrations; evaluate Grok 4.7 before new work.

Keep for legacy integrations; evaluate Grok 4.7 before new work.

Keep for legacy integrations; evaluate Grok 4.7 before new work.

Keep for legacy integrations; evaluate Grok 4.7 before new work.

Keep for legacy integrations; evaluate Grok 4.3 before new work.

Keep for legacy integrations; evaluate Grok 4.7 before new work.

Keep for legacy integrations; evaluate Grok 4.7 before new work.

Keep for legacy integrations; evaluate Grok Build 0.1 before new work.

Keep for legacy integrations; evaluate Grok 4.7 before new work.

Specifications(15 models)

Grok 4 model specifications comparison
ModelReleasedContextParametersVisionMultimodalReasoningJSON / Tool useStructured OutputsCode Exec
Grok 4.72026-09500K—YesYesYesYesYesYes
Grok 4.20 Multi-Agent2026-031M—YesYesYesYesYesNo
Grok 4.20 Non-Reasoning2026-031M—YesYesNoYesYesNo
Grok 4.20 Reasoning2026-031M—YesYesYesYesYesNo
Grok 4.12025-11128K—YesYesYesYesNoNo
Grok 4 Heavy2025-07256K—YesYesNoNoNoNo

Pricing

Grok 4 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Grok 4.20 Multi-AgentOpenRouter$1.25$2.5Serverless
Grok 4.20 Multi-AgentxAI Console$1.25$2.5Serverless
Grok 4.20 ReasoningxAI Console$1.25$2.5Serverless
Grok 4.20 Non-ReasoningxAI Console$1.25$2.5Serverless
Grok 4.20 Multi-AgentVercel AI Gateway$1.25$2.5Serverless
Grok 4.20 Non-ReasoningVercel AI Gateway$1.25$2.5Serverless
Grok 4.20 ReasoningVercel AI Gateway$1.25$2.5Serverless
Grok 4.7xAI Console$2$6Serverless
Grok 4.7OpenRouter$2$6Serverless

Popular comparisons in this family