Pricing hub
xAI Pricing
xAI's pricing pages list current reasoning and coding models with input, cached-input, and output token rates, which makes it practical to compare them directly with other premium APIs.
Live pricing table
Use this table to compare the published input, cached input, and output rates before you run the calculator.
Input 1,000 / Output 250
| Model | Input / 1M | Cached input / 1M | Output / 1M | Example request | Source |
|---|---|---|---|---|---|
Grok 4 Fast Reasoning xAI's current cost-efficient reasoning model for text and image workloads. | $0.200 | $0.0500 | $0.500 | $0.0003 | xAI pricing |
Grok Code Fast 1 xAI's economical agentic-coding model for quick tool use and code changes. | $0.200 | $0.0200 | $1.50 | $0.0006 | xAI pricing |
Grok 3 Mini xAI's lightweight reasoning model for logic-heavy but cost-sensitive tasks. | $0.300 | $0.0750 | $0.500 | $0.0004 | xAI pricing |
Grok Build 0.1 xAI's text-focused build model with lower token rates than the flagship Grok family. | $1.00 | $0.200 | $2.00 | $0.0015 | xAI pricing |
Grok 4.3 xAI's current flagship text model for reasoning-heavy and agentic workflows. | $1.25 | $0.200 | $2.50 | $0.0019 | xAI pricing |
How to use this pricing page
- 1. Start with real prompts. Estimate the input and output token counts from the workflow you actually run.
- 2. Check the example cost. The table shows a request-level estimate so you can compare the published rate card with your usage pattern.
- 3. Validate the savings. Open the LLM cost calculator and test a few prompt sizes before you make a budget call.
- 4. Compare the model choice. If you need a second opinion, use one of the linked comparison pages below.
Highlights
- • Includes cached-input rates for repeated conversations or agent loops.
- • Good for comparing flagship, fast, and coding-oriented Grok pricing.
- • Useful if you want a token-based estimate before you try the API.
Source: xAI pricing
Compare this provider
FAQ
Does xAI use cached input pricing?
Yes. The public pricing pages list cached-input rates for the models here, which can reduce the cost of repeated context.
Which xAI model should I compare first?
Start with Grok 4 Fast Reasoning for the flagship fast model, then look at Grok Code Fast 1 or Grok 3 Mini when you want the lower-cost options.
Are image and video prices included?
No. This hub focuses on text model pricing because that is what the calculator and comparison pages use.