xAI Grok API Pricing 2026: Every Model, Context Window, and Cost Compared

xAI Grok API Pricing 2026: Every Model, Context Window, and Cost Compared

xAI’s Grok API in 2026 offers three distinct models priced from $0.20 to $6.00 per million tokens, with a 2M-token context window on the flagship tiers — undercutting Anthropic’s Claude Opus 4.7 by 92% on input costs and GPT-5.5 by 60% on output costs at comparable capability levels. The API is fully OpenAI-compatible, ships with built-in real-time web search, and supports prompt caching to further reduce repeated-context costs. This guide covers every model, every price point, and how to calculate what you will actually spend in production. ...

May 7, 2026 · 15 min · baeseokjae
Grok 4 Review 2026: xAI Flagship Model, grok-code-fast, Benchmarks and API

Grok 4 Review 2026: xAI Flagship Model, grok-code-fast, Benchmarks and API

Grok 4 launched in Q2 2026 as xAI’s flagship reasoning model, positioned against Claude Opus 4.7 and GPT-5.5 at a competitive $3.50 per million tokens for API access — significantly cheaper than Claude Opus 4.7’s input pricing or GPT-5.5’s $5/million input tokens. The 2M+ context window is the headline spec: processing an entire large codebase or a full book in a single prompt without chunking. The grok-code-fast variant adds a specialized tokenizer optimized for programming tasks. xAI built Colossus — a 100,000+ H100/H200 GPU cluster — specifically for Grok 4’s training, which reflects both the ambition and the resources behind this model. Here’s an honest technical assessment of what Grok 4 delivers versus its benchmarks. ...

May 7, 2026 · 10 min · baeseokjae