Grok API pricing
Grok API pricing on 3 platforms: 22 Grok endpoints by xAI and 102 current prices. The cheapest exact price is $0.8/M in for Grok 4.7, on kie.ai. Prices are read from each platform daily and tagged by task, resolution and duration.
- Endpoints
- 22
- Current prices
- 102
- Platforms
- 3
- Cheapest
- $0.8/M in
Grok API pricing by platform
One row per model, matched across platforms by its model id; each cell is input / output per million tokens. Green is the cheapest platform for that model. Different models are never ranked against each other.
| Model | OpenRouter | kie.ai | APIMart |
|---|---|---|---|
| Grok 4.7 | $2 in$6 out | $0.8 in$2.4 out | $1.6 in$4.8 out |
| Grok 4.6 | $2 in$6 out | $0.8 in$2.4 out | $1.6 in$4.8 out |
| Grok 4.5 | $2 in$6 out | $0.8 in$2.4 out | $1.6 in$4.8 out |
| Grok 4.3 | $1.25 in$2.5 out | — | $1 in$2 out |
| Grok Build 0.1 | $1 in$2 out | — | $0.8 in$1.6 out |
Sold on one platform only (9)
Nothing to compare these with yet, so no price here is marked cheapest.
| Model | Platform | USD |
|---|---|---|
| Grok 4.7 (batch) | OpenRouter | $1.6 in$4.8 out |
| Grok 4.6 (batch) | OpenRouter | $1.6 in$4.8 out |
| Grok 4.3 (batch) | OpenRouter | $1 in$2 out |
| Grok 4.20 | OpenRouter | $1.25 in$2.5 out |
| grok-4.20-0309-non-reasoning | APIMart | $1 in$2 out |
| grok-4.20-0309-reasoning | APIMart | $1 in$2 out |
| Grok 4.20 Multi-Agent | OpenRouter | $1.25 in$2.5 out |
| grok-4.20-multi-agent-0309 | APIMart | $1 in$2 out |
| Grok Latest | OpenRouter | $2 in$6 out |
Grok API pricing FAQ
How much does the Grok API cost?
Grok 4.7: from $0.8/M in ($2.4 output) on kie.ai, up to $2/M in ($6 output). Grok 4.6: from $0.8/M in ($2.4 output) on kie.ai, up to $2/M in ($6 output). Grok 4.5: from $0.8/M in ($2.4 output) on kie.ai, up to $2/M in ($6 output). Grok 4.3: from $1/M in ($2 output) on APIMart, up to $1.25/M in ($2.5 output). Each price is the platform’s own list price, read daily.
Which platform has the cheapest Grok API?
It depends on the version: kie.ai in 3, APIMart in 2. No platform is cheapest for every version, so compare the one you will call.
Which platforms sell the Grok API?
3 of the platforms tracked here: APIMart, kie.ai, OpenRouter. Together they list 22 endpoints and 102 prices.
How current are these prices?
A collector reads each platform’s pricing API or page daily and keeps the response. Every price links to the listing it came from, so you can check it before you call.