Grok 4

Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the xAI docs

Share

Model details

Context window256,000 tokens
Max completion size11 tokens
Prompt cost / 1K tokens$0.000003
Completion cost / 1K tokens$0.000015
Accepts
Produces

Benchmark performance

Overall

64
score
21st
placement

Cost

NA
score
23rd
placement

Logic

73
score
10th
placement

Speed

33
score
34th
placement

Scoring

30
score
16th
placement

Tool Use

45
score
5th
placement

Hallucination

97
score
2nd
placement

Classification

50
score
1st
placement

Structured Output

100
score
1st
placement

Pricing

Usage pricing
Prompt
$0.000003
Completion
$0.000015
Request
FREE
Image
FREE
Web Search
FREE
Internal Reasoning
FREE
Input Cache Read
FREE

Best Overall scoring LLMs

xAI

Grok 4 Fast

88
score
1st
placement
Qwen

Qwen3 VL 235B A22B Instruct

86
score
2nd
placement
xAI

Grok 4.1 Fast

84
score
3rd
placement
OpenAI

GPT-5.1 Chat

82
score
4th
placement
OpenAI

GPT-5.1-Codex

82
score
4th
placement
Anthropic

Claude Haiku 4.5

80
score
5th
placement