Open API PricingOpen API Pricing

xAI Grok API API pricing: plans, free tier and what to watch for

By the Open API Pricing research team · Verified Jun 27, 2026

xAI Grok API API pricing at a glance: grok-4.3 (flagship) $1.25 / $2.50 per 1M, grok-4.20 reasoning / non-reasoning $1.25 / $2.50 per 1M, grok-build-0.1 (coding agent) $1.00 / $2.00 per 1M, Grok 4 (legacy / launch) $3.00 / $15.00 per 1M

The short answer

xAI Grok API is billed per token. It has no free tier (Pay-as-you-go; periodic free-credit / data-sharing promos (no guaranteed standing free tier)). The paid plans we list start at $1.25 / $2.50 per 1M (grok-4.3 (flagship)).

Plans and prices

PlanPriceWhat it covers
grok-4.3 (flagship)$1.25 / $2.50 per 1MInput / output per million tokens; cached input ~$0.20/1M. 1M-token context.
grok-4.20 reasoning / non-reasoning$1.25 / $2.50 per 1MReasoning and standard variants on the 4.20 series, 1M context.
grok-build-0.1 (coding agent)$1.00 / $2.00 per 1MLower-cost SKU aimed at the Grok Build terminal coding agent, 256k context.
Grok 4 (legacy / launch)$3.00 / $15.00 per 1MOriginal July 2025 flagship pricing; now legacy/enterprise as newer SKUs supersede it.
Grok Imagine API$0.02–$0.05 / image, $0.05–$0.08 / sec videoImage and video generation pricing.
Grok Voice API$0.05/min realtime; $15/1M chars TTS; ~$0.10/hr STTRealtime audio, text-to-speech, and speech-to-text endpoints.

How xAI Grok API bills you

The pricing model is per token. Frontier Grok models with large context and OpenAI/Anthropic-compatible SDKs, self-serve from a single key. Best suited to: frontier models, x-integrated.

What to watch for on the bill

The pricing page we read

xAI Grok API pricing page, captured for reference
Capture of x.ai. Captured from Germany, so some vendors show local prices or currency. Listed prices are verified Jun 27, 2026. The live page may differ.

Source: https://x.ai/api. Prices change, so confirm there before you commit.

Compare xAI Grok API with alternatives

Other llm apis: OpenAI API, Anthropic Claude API, Google Gemini API, Mistral La Plateforme, Groq.

Looking at quality rather than price? See the xAI Grok API score on APIbenchmarks. Full entry: xAI Grok API pricing.