Grok 4 mini API Pricing
Mid-tier · 256K context · $0.5 per 1M input tokens, $2.5 per 1M output tokens.
Grok 4 mini pricing
| Provider | Input /1M | Output /1M | In+Out |
|---|---|---|---|
| xAI | $0.5 | $2.5 | $3 |
Prices per 1M tokens, USD. Snapshot 2026-07 — verify with the provider before relying on them.
Grok 4 mini cost calculator
Frequently asked
How much does Grok 4 mini cost per 1M tokens?
Grok 4 mini costs $0.5 per 1M input tokens and $2.5 per 1M output tokens from xAI.
What is Grok 4 mini's context window?
Grok 4 mini supports a context window of about 256K tokens. Remember every token in the context is billed on each call.
Is Grok 4 mini available on other providers?
Grok 4 mini is offered by xAI. For open-weight alternatives you can host on multiple providers, see the full model comparison.