xAI: Grok 4

xAIID: x-ai/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)

Pricing per 1M Tokens

Input (Prompt)$3.00
Output (Completion)$15
Cache Read$0.75
Cache WriteFree
ImageN/A

Specifications

Context Length256K
Max Output TokensN/A
Input ModalitiesImage + Text
Output ModalitiesText
TokenizerGrok
Instruct TypeN/A
Top Provider Context256K
Top Provider Max OutputN/A
ModeratedNo

More from xAI

Last updated: March 23, 2026

First tracked: March 23, 2026