Grok 4 Fast Reasoning
Grok 4 Fast Reasoning is the speed-optimized reasoning variant of xAI's Grok 4 Fast. It combines chain-of-thought reasoning with faster inference than the full Grok 4, within a context window of 2M tokens.
import { streamText } from 'ai'
const result = streamText({ model: 'xai/grok-4-fast-reasoning', prompt: 'Why is the sky blue?'})Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|