Plans and prices
| Plan | Price | Includes |
|---|---|---|
| grok-4.7 (Text input) | 2 USD | per 1M input tokens, 500k context window |
| grok-4.7 (Output) | 6 USD | per 1M output tokens |
| grok-imagine-image | 0.002 USD | per image input, 1K/2K output $0.02 per image |
| grok-imagine-video-1.5-lite | 0.02 USD | per second of video, 480p to 1080p, from |
| Text to Speech | 15 USD | per 1M characters |
| Speech to Speech | 0.08 USD | per minute |
Prices copied from xAI API pricing, checked October 12, 2026. Currency as shown by the vendor; taxes may apply.
Is there a free plan?
There is a free trial. Playground is included with every Console account for testing models and generating images and video. API usage is billed per token, with no free API tier mentioned.
Compared with alternatives
| Tool | Price from | Free plan | Category |
|---|---|---|---|
| 0,10 USD | ? | APIs & models | |
| 5 USD | trial | APIs & models | |
| 20 USD/mo | yes | APIs & models | |
| 0,75 USD | ? | APIs & models |
FAQ
How much is xAI API per month?
The cheapest paid plan is 0.002 USD.
Does xAI API have a free plan?
There is a free trial. Playground is included with every Console account for testing models and generating images and video. API usage is billed per token, with no free API tier mentioned.