Grok 4.1 Fast Reasoning
Grok 4.1 Fast Reasoning is xAI's reasoning-enabled Grok 4.1 Fast model optimized for agentic operations. It combines structured chain-of-thought reasoning with speed-optimized inference and a context window of 1M tokens for complex agent workflows.
import { streamText } from 'ai'
const result = streamText({ model: 'xai/grok-4.1-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 |
|---|