grok-4.2 pricing
grok-4.2 by xAI is sold on Microsoft Foundry (Azure). It costs $1.25 per million input tokens and $2.50 per million output tokens on Microsoft Foundry (Azure) (global deployment).
Microsoft Foundry (Azure)
| Tier | Runs in | Input | Output |
|---|---|---|---|
| Standard | Global (39 regions) | $1.25 | $2.50 |
| Standard | Geography (data zone) (37 regions) | $1.375 | $2.75 |
More xAI models
Grok 4.7 · grok-3 · grok-3-mini · grok-4 · grok-4-fast · grok-4.1 · grok-4.3 · grok-4.6 · grok-code-fast-1
Prices in USD per 1 million tokens, from OpenAI and Anthropic's pricing pages, the AWS Price List API (Bedrock) and the Azure Retail Prices API (Microsoft Foundry). Cloud prices are the lowest in any region; global deployments can run anywhere.
Prices as of 12 Nov 2026. All AI models