Back to Models
x-ai logo
x-ai/grok-4
Not Available

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](https://docs.x.ai/docs/models/grok-4-0709)

7/9/2025
256,000 tokens
#24 Text (Math)

Specifications

Modalities

Input
image
text
Output
text

Supported Parameters

include_reasoning
logprobs
max_tokens
reasoning
response_format
seed
structured_outputs
temperature
tool_choice
tools
top_logprobs
top_p

Frequently asked questions

Is Grok 4 available on FastMetal?
Not at the moment. Grok 4.5, from the same lab, is available on the FastMetal API today.
What is the context window of Grok 4?
256,000 tokens, shared between the prompt and the response.
How does Grok 4 rank?
#107 on the public arena's Japanese board (ELO 1,362). Ranks move as the leaderboard is updated.

Leaderboard

Text
OverallELO: 1,404
#140
JapaneseELO: 1,362
#107
ChineseELO: 1,430
#144
KoreanELO: 1,336
#136
EnglishELO: 1,414
#145
frenchELO: 1,423
#125
germanELO: 1,384
#130
spanishELO: 1,405
#120
russianELO: 1,395
#142
CodingELO: 1,435
#159
MathELO: 1,479
#24
Creative WritingELO: 1,381
#126
Instruction FollowingELO: 1,389
#145
Hard PromptsELO: 1,414
#159
Multi-TurnELO: 1,403
#145
Vision
OverallELO: 1,184
#85
Code
OverallELO: 1,162
#126