Last refreshed 2026-05-16. Next refresh: weekly.
Why use Grok 4 on Microsoft Foundry?
Microsoft Foundry offers Grok 4 with competitive pricing. Microsoft Foundry is a unified Azure platform-as-a-service offering for enterprise AI operations, model builders, and application development.
Compare Grok 4 across 4 providers to find the best fit for your use caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: grok-4grok-4Request example
grok-4.Gotchas
No curated gotchas have been sourced for this exact provider/model route yet.
Compare Grok 4 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Microsoft Foundry | — | — |
| OpenRouter | $3.00 | $15.00 |
| Replicate API | $7.20 | $36.00 |
| xAI Console | $1.25 | $2.50 |
Capabilities
About Grok 4
Original Grok 4 API model (grok-4-0709) with 256K context, reasoning, text and image input, function calling, structured outputs, live browsing, and code execution support. xAI lists May 15, 2026 as the API retirement date for this model; new integrations should use Grok 4.3.
FAQ
What is the context window for Grok 4 on Microsoft Foundry?
Grok 4 supports a 256,000 token context window on Microsoft Foundry.
How does Microsoft Foundry compare to other Grok 4 providers?
Grok 4 is available from 4 providers. The cheapest input pricing is $1.25/1M tokens from xAI Console.
Who created Grok 4?
Grok 4 was created by xAI as part of the Grok 4 model family.
Is Grok 4 open source?
Grok 4 is not open source; the seed data lists it as proprietary.