Grok (xAI) API Cost Calculator
Estimate xAI Grok 4.5 and Grok 4.3 API costs.
Results update automatically as you type.
- Input cost
- $0.00125
- Output cost
- $0.00125
- Per request
- $0.00250
- Per day
- $2.50
- Per month
- $75.00
Estimate the cost of xAI's Grok API. Grok 4.5 is the flagship; Grok 4.3 is the current default text model with a 1M-token context window and cheaper cached input. Enter your tokens and volume to see per-request and monthly cost.
How this is calculated
This calculator uses the api cost formulas described in our methodology. All figures are estimates for planning; verify current pricing with each provider before relying on them.
Worked example (defaults)
With the default inputs above, here is the result:
- Input cost
- $0.00125
- Output cost
- $0.00125
- Per request
- $0.00250
- Per day
- $2.50
- Per month
- $75.00
Frequently asked questions
How much does Grok cost?+
Grok 4.3 is $1.25 per 1M input tokens and $2.50 per 1M output tokens (cached input $0.20). Grok 4.5 is $2.00 input and $6.00 output per 1M tokens.
Which Grok model should I use?+
Grok 4.3 is the current default for chat, coding and agentic tool use with a 1M context. Grok 4.5 is the flagship for the hardest reasoning and coding tasks.