← All Models
Grok 4.1 Fast Reasoning
xAI's fast reasoning model. 2M token context window for processing massive documents and codebases.
Web Search
X Search
Specifications
| Provider | xAI |
| Category | Text |
| Context window | 2M tokens |
Pricing (Starter tier)
26.00 credits / 1M input tokens
65.00 credits / 1M output tokens
Higher tiers get volume discounts. See tiers
Quick Start
curl -N https://query.genx.sh/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"grok-4.1-fast-reasoning","messages":[{"role":"user","content":"What are people saying about AI on X today?"}],"tools":[{"type":"web_search"},{"type":"x_search"}],"stream":true}'