Grok 3
grok-3Pricing
List prices at Azure AI Foundry, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $3.00 | $15.00 |
What it costs a month
At Azure AI Foundry list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$2,025
- RAG over documents2,000 requests a day, 8K in / 0.6K out$1,980
- Coding agent1,000 requests a day, 40K in / 2K out$4,500
- Overnight batch20,000 requests a day, 4K in / 0.4K out$10,800
Where to run it
3 hosts serve Grok 3. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
Azure AI FoundryCloud grok-3 | $3.00 / $15.00 | grok-3 | |
Oracle OCICloud xai.grok-3 | $3.00 / $15.00 | xai.grok-3 | |
Vercel AI GatewayGateway grok-3 | $3.00 / $15.00 | grok-3 |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- Text
- Produces
- Text
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than Azure AI Foundry.
Smaller xAI models
- 50% less
- 74% less
- 79% less
Other frontier labs
- 20% less
- 33% less
- 33% less
- 33% less
Open-weight picks
- 27% less
- 33% less
- 50% less
- 67% less
Model line
Newer and older versions, at each lab's own price.
Call it
Using Azure AI Foundry's API.
from litellm import completion
response = completion(
model="azure_ai/grok-3",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Grok 3 cost?
On Azure AI Foundry, Grok 3 costs $3.00 per million input tokens and $15.00 per million output tokens.
Which APIs offer Grok 3?
Grok 3 runs on 3 APIs: Azure AI Foundry, Oracle OCI and Vercel AI Gateway.
What is Grok 3's context window?
131K tokens, with up to 131K tokens in one reply.
Is Grok 3 being retired?
No retirement date is scheduled for it on any API we track.
Is there a newer version of Grok 3?
Yes. Grok 4.7 is the newest model in this line, released on 21 Sep 2026.
What are cheaper alternatives to Grok 3?
Models that cost less and keep most of what it can do: Grok 4.7 on xAI (50% less), GPT-5.3 Codex on OpenAI (20% less), Gemini 4 Carbon on Google AI Studio (33% less) and Command A Plus on AIHubMix (27% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Grok 3's API model id?
Use grok-3 with Azure AI Foundry. Other hosts use their own ids: xai.grok-3 on Oracle OCI.
Sources
Raw catalog entry for grok-3 on Azure AI Foundry
{
"deprecation_date": "2026-05-01",
"deprecation_source": "https://learn.microsoft.com/en-us/azure/foundry/concepts/model-lifecycle-retirement",
"successor_model": "azure_ai/grok-4",
"input_cost_per_token": 0.000003,
"output_cost_per_token": 0.000015,
"litellm_provider": "azure_ai",
"mode": "chat",
"source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",
"supports_pdf_input": false
}