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
| Router | Input / 1M | Output / 1M | Cached Input / 1M |
|---|---|---|---|
| Requesty★ | $3.00 | $15.00 | $0.75 |
| OpenRouter | $3.00 | $15.00 | $0.75 |
| Vercel AI | $3.00 | $15.00 | — |
| Martian | $3.00 | $15.00 | $0.75 |
xai/grok-4x-ai/grok-4Ranked by provider, pricing, capabilities, and arena performance
Same provider · Similar ranking · Similar price
Same provider · Similar price
Same family · Both support vision & tools
Same family · Similar ranking
Same family · Both support vision & tools
Same family · Both support tools