ThePromptBuddy logoThePromptBuddy

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)

Specifications
ProviderX Ai
Input pricing$3.00/M tokens
Output pricing$15.00/M tokens
Context length256K tokens
Input modalities
imagetextfile
Output modalities
text
TokenizerGrok
Knowledge cutoff2025-07-31
Content moderatedNo

Supported Parameters

include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_logprobstop_p