LLM Reference

Grok 4 Models by xAI

13 models2025–2026Up to 2M ctxFrom $0.2/1M input

About

Grok 4 is a family of 13 AI models by xAI, released between 2025 and 2026.

Current Variants

Use-when guidance is derived from seed capabilities, context, release, and replacement fields.

8 in view5 retired

Use when the workload needs code, 256K context, and reasoning.

2026-05code256K contextreasoning
Grok 4.3Current

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

2026-051M contextreasoningtool use

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

2026-03agentic2M contextreasoning

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

2026-03reasoning1M contexttool use

Use when the workload needs 1M context, tool use, and function calling.

2026-031M contexttool usefunction calling
Grok 4.20Current

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

2026-021M contextreasoningtool use
Grok 4.1Current

Use when the workload needs 131K context, reasoning, and tool use.

2025-11131K contextreasoningtool use

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

2025-07256K contextmultimodal inputs

Release Timeline

7 release groups
2026-05
2 current
Grok 4.3
1M contextreasoningtool use
Current
Grok Build 0.1
code256K contextreasoning
Current
2026-03
3 current
Grok 4.20 Multi-Agent
agentic2M contextreasoning
Current
Grok 4.20 Non-Reasoning
1M contexttool usefunction calling
Current
Grok 4.20 Reasoning
reasoning1M contexttool use
Current
2026-02
1 current
Grok 4.20
1M contextreasoningtool use
Current
2025-11
1 current · 1 retired
Grok 4.1
131K contextreasoningtool use
Current
Grok 4.1 Fast
2M contextreasoningtool use
Replaced
2025-09
2 retired
Grok 4 Fast Non-Reasoning
2M contextreasoningmultimodal inputs
Replaced
Grok 4 Fast Reasoning
2M contextreasoningmultimodal inputs
Replaced
2025-08
1 retired
Grok Code Fast 1
code262K context314B parameters
Replaced
2025-07
1 current · 1 retired
Grok 4
256K contextreasoningtool use
Replaced
Grok 4 Heavy
256K contextmultimodal inputs
Current

Replaced By

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

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

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

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

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

Specifications(13 models)

Grok 4 model specifications comparison
ModelReleasedContextParametersVisionMultimodalReasoningFn CallingTool UseStructured OutputsCode Exec
Grok Build 0.12026-05256KNoNoYesYesYesYesNo
Grok 4.32026-051M~0.5TYesYesYesYesYesYesNo
Grok 4.20 Multi-Agent2026-032MYesYesYesYesYesYesNo
Grok 4.20 Reasoning2026-031MYesYesYesYesYesYesNo
Grok 4.20 Non-Reasoning2026-031MYesYesNoYesYesYesNo
Grok 4.202026-021MYesYesYesYesYesYesNo
Grok 4.12025-11131KNoYesYesYesYesNoNo
Grok 4 Heavy2025-07256kNoYesNoNoNoNoNo

Available From(4 providers)

Pricing

Grok 4 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
Grok Build 0.1xAI Console$1$2Serverless
Grok 4.20xAI Console$1.25$2.5Serverless
Grok 4.3xAI Console$1.25$2.5Serverless
Grok 4.20 Multi-AgentxAI Console$1.25$2.5Serverless
Grok 4.3OpenRouter$1.25$2.5Serverless
Grok 4.20OpenRouter$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-AgentOpenRouter$2$6Serverless

Comparisons

All comparisons →

Frequently Asked Questions

What is Grok 4 used for?
Grok 4 is used for code, agentic, and reasoning. The family description and listed model capabilities point to those workloads as the best fit.
How does Grok 4 compare to Grok 1?
Grok 4 by xAI is strongest where you need code, while Grok 1 by xAI is the closest related family to check for reasoning. Grok 4 has 13 listed variants and reaches up to 2M context, so compare the specs and pricing tables before choosing a production model.
Which Grok 4 model should I use?
For the lowest listed input price, start with Grok 4.1 Fast through OpenRouter at $0.2/1M input tokens. For the most capable/latest local choice, evaluate Grok 4.20 Multi-Agent with 2M context and reasoning, tool use, function calling, structured outputs, and multimodal inputs.

Models(13)