Skip to main content
Model & API platforms

xAI (Grok API) pricing

For technical teams

xAI (Grok API) is priced per use rather than per month; the rate for each option is in the table below. Checked Sep 22, 2026 against the official pricing page.

Grok 4.7 at $2/$6 per 1M tokens with a 500K context — frontier-class knowledge work priced below the Claude and GPT flagships. Not the cheapest volume option; xAI reports 38% on Terminal-Bench 4.0, and it spends many reasoning tokens, so cost per task runs above the rate card.

Our take

Score 3.5 out of 5How we score

The xAI API gives you Grok models with a large context window at prices below the Claude and GPT flagships. It is a solid option for knowledge work over long documents; it is not the cheapest API per token.

Plans and prices

xAI (Grok API) plans, checked Sep 22, 2026. Official pricing page Prices are indicative and may change. Always confirm on the provider's site.
PlanPriceWhat you get
grok-4-7Our pickUsage-based$2/1M input, $6/1M output for prompts under 200k tokens; $4/$12 above 200k; Grok 4.6 still served at the same price

500K context

  • OpenAI-compatible endpoint
  • Tool calls
  • Reasoning effort low/medium/high/xhigh
  • Fast variant only in Cursor and Grok Build

Pick this tier: grok-4-7

The current Grok model is the main option on the API; use the standard variant unless latency really matters.

What works

  • Large context window
  • Lower per-token price than the leading flagships
  • OpenAI-compatible endpoint
  • Tool calls supported

What to watch

  • The fast variant is not on the public API
  • Fewer model sizes than the biggest providers
  • Not the lowest-cost option for bulk work

Skip it if

  • You need the lowest cost per token
  • You are not building with an API
  • You want a consumer chat subscription

Best for

Research competitorsCreate content fasterReply to customers faster

xAI (Grok API) pricing questions

How much does xAI (Grok API) cost in 2026?
xAI (Grok API) is priced per use rather than per month; the rate for each option is in the table below. Checked Sep 22, 2026 against the official pricing page.
Is the xAI API compatible with OpenAI clients?
Yes. xAI offers an OpenAI-compatible endpoint, so most OpenAI client libraries work by changing the base URL and key.
Can I use the fast Grok variant through the API?
Not for the current model. xAI offers the fast variant of its newest Grok only inside Cursor and Grok Build; on the public API you use the standard model.

Reviewed Sep 22, 2026 by the Dapols team. Report a price change

Our evidence on this tool

Catalog status
Recommended — can be a primary pick in a plan
Price last checked
Sep 22, 2026
Capability last reviewed
Aug 13, 2026
Evidence confidence
Medium — verified, but the vendor changes plans often
Official documentation
Read the vendor docs

Re-checked in batches. We date every check and never take payment for placement. How we rank tools

Is xAI (Grok API) right for your business?

Answer a few questions and see whether xAI (Grok API) fits your stack and budget.

Find my plan