Official LLM API price list
A "0.3x rate" only means something against a baseline — this table is that baseline. Prices are taken from each vendor's own pricing page, at list price (excluding volume discounts), in USD per million tokens. Work out real cost in the rate calculator →
xAI
| Model | Tier | Input $/M | Output $/M | Cached input | Context | Services | Notes |
|---|---|---|---|---|---|---|---|
|
Grok 4.3
grok-4.3
|
Workhorse | $1.25 | $2.5 | — | 1000K | 26 → | |
|
Grok 4.20
grok-4.20
|
Workhorse | $1.25 | $2.5 | — | 1000K | 26 → | |
|
Grok 4.7
grok-4.7
|
Flagship | $1.6 | $4.8 | $0.4 | 500K | 26 → | Cache read $0.40; about 20% cheaper than 4.6 |
|
Grok 4.6
grok-4.6
|
Workhorse | $2 | $6 | $0.5 | 500K | 26 → | Doubles for the portion above 200K context |
|
Grok 4.1 Fast
cheapest in family
grok-4.1-fast
|
Lightweight | $0.2 | $0.5 | — | 2000K | 26 → | The xAI fast tier — both input and output prices are very low, suited to high-throughput workloads. |
Three traps in any API price list
- A cheap input price does not mean a cheap bill. Output tokens usually cost 4–6x input, so if you are generating long text or completing code, the output column is your bill.
- Cache pricing differs by an order of magnitude. For some vendors a cache hit costs 10% of list price, so if you use a fixed system prompt or repeated documents, work out the caching benefit first.
- Promotional prices expire. Models with a promotion window noted in the remarks column may double afterwards — budget at list price for anything long-term (the Notes column flags these).
Prices change as vendors adjust them; the verification date for each row is in its notes. Check the vendor's own pricing page again before making a production decision.