SargalaySargalay

Command Palette

Search for a command to run...

Back to all models
x-ai

xAI: 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)

x-ai/grok-4

Context Size

256K

Input Price

18,450 Ks/M

Output Price

92,250 Ks/M


Architecture

Image
Text

Supported Parameters

include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_logprobstop_p

Details

TokenizerGrok
Provider Context256K tokens
ModeratedNo