
xAI API pricing
Part of Grok
The xAI API sells Grok models per million tokens with the same input and output split as its rivals, cached input at a discount and a doubled rate for long prompts. Its flagship sits between OpenAI's mid and top tiers on price.
- Priced by
- Usage based
- Headquarters
- Unknown
- Founded
- 2023
- Pricing page tracked since
- Unknown
- Last checked
- Sep 21, 2026
xAI API price history and price changes
xAI API's pricing was read on Sep 2026. Prices are USD per million tokens, prompts under 200K tokens.
grok-4.6, input has been listed since Sep 2026, starting at $2.
grok-4.6, output has been listed since Sep 2026, starting at $6.
grok-4.3, input has been listed since Sep 2026, starting at $1.25.
grok-4.3, output has been listed since Sep 2026, starting at $2.50.
First read on 21 September 2026, so the chart starts now.
Plans and prices
Billed on what is consumed, such as API calls, messages or payment volume. Prices as extracted on Sep 21, 2026.
grok-4.6
$2per million input tokens, $6 per million output
Sep 21, 2026
grok-4.5
$2per million input tokens, $6 per million output
Sep 21, 2026
grok-4.3
$1.25per million input tokens, $2.5 per million output
Sep 21, 2026
grok-build-0.1
$1per million input tokens, $2 per million output
Sep 21, 2026
Compare xAI API with its category
Alternatives to xAI API
Other products people compare when shopping for this one.
Pricing page over the years
No archived copies of this pricing page were found yet.
See how other products lay out their plans in our pricing page examples.
Similar companies
Other tracked companies close to xAI API by industry, go-to-market motion or location.
xAI API pricing questions
- How much does xAI API cost?
- xAI API plans start at $1 per million input tokens, $2 per million output for grok-build-0.1 and go up to $2 per million input tokens, $6 per million output for grok-4.5. Prices are as shown on the pricing page when it was last read on Sep 21, 2026.
- Has xAI API raised its prices?
- grok-4.6, input has been listed since Sep 2026, starting at $2. grok-4.6, output has been listed since Sep 2026, starting at $6. grok-4.3, input has been listed since Sep 2026, starting at $1.25. grok-4.3, output has been listed since Sep 2026, starting at $2.50. First read on 21 September 2026, so the chart starts now.
About xAI API
xAI API have offered 4 different plans starting with grok-4.6 at 2$. xAI API is a undefined, undefined based company. Founded in 2023. They are using a combination of Sales-Led and Product-Led go-to-market strategy. The company describes themselves as "xAI sells Grok models per million tokens with separate input and output rates, cached input at a discount and doubled prices for prompts of 200,000 tokens or more.". They are in involved in Artificial Intelligence, Developer Tools, API, SaaS.