Back to all models
x-ai
xAI: Grok 4 Fast
Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. It comes in two flavors: non-reasoning and reasoning. Read more about the model on xAI's [news post](http://x.ai/news/grok-4-fast). Reasoning can be enabled/disabled using the `reasoning` `enabled` parameter in the API. [Learn more in our docs](https://openrouter.ai/docs/use-cases/reasoning-tokens#controlling-reasoning-tokens)
x-ai/grok-4-fast
Context Size
2,000K
Input Price
1,230 Ks/M
Output Price
3,075 Ks/M
Architecture
Text
Image
Supported Parameters
include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetool_choicetoolstop_logprobstop_p
Details
TokenizerGrok
Max Completion30,000 tokens
Provider Context2,000K tokens
ModeratedNo