← All Models
Grok 4.6
xAI's frontier model for coding, agentic tasks, and knowledge work. Configurable reasoning up to the new xhigh level, a 500K token context window, and native web search, X search, and code execution.
Web Search
X Search
Specifications
| Provider | xAI |
| Category | Text |
| Context window | 500K tokens |
Pricing (Starter tier)
260.00 credits / 1M input tokens
780.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.6","messages":[{"role":"user","content":"Find and fix the bug, then explain it: function median(a){a.sort();return a[a.length/2]}"}],"stream":true}'
Availability
Grok 4.6 is available in the GenX Pro App and via the GenX Router API.