Grok 4 reasoning
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
Capabilities
Context Window 256k tokens
Max Output 0 tokens
Inputs
Outputs
Pricing (per 1M tokens)
Input $3.00
Output $15.00
Cache Read $0.75
Cache Write -
Supported Parameters
include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_logprobstop_p