xAI API pricing

Grok 4.3 pricing

Input / 1M tokens
$1.25
Output / 1M tokens
$2.50
Cached input / 1M
$0.20

Prompts over 199,999 tokens cost $2.50 in and $5 out per million, for the whole request.

Source: xAI pricing, checked 1 Nov 2026. API name: grok-4.3.

Price your prompt on Grok 4.3

What a prompt costs on Grok 4.3

ExampleTokens in / outCost1,000 a day, per month
A short question and answer50 / 300$0.0008$24.38
A one-page document summarised700 / 400$0.0019$56.25
A 300-line code file reviewed4,000 / 1,200$0.0080$240.00
A 50-page report summarised35,000 / 1,500$0.048$1,425

Token sizes are typical, not exact. Replies include any thinking the model does.

Other Grok models

Grok 4.7Grok Build 0.1

FAQ

How much does Grok 4.3 cost?

$1.25 per million input tokens and $2.50 per million output tokens on xAI's standard API tier, and $0.20 per million for cached input. Checked 1 Nov 2026.

What does one prompt cost on Grok 4.3?

A 1,000-token prompt with a typical medium-length reply costs about $0.0033. Paste your own prompt into the calculator for an exact figure.