Grok Code Fast 1 on Microsoft Foundry

Grok 4 · xAI

Serverless

Last refreshed 2026-10-19. Next refresh: weekly.

Why use Grok Code Fast 1 on Microsoft Foundry?

Microsoft Foundry offers Grok Code Fast 1 with pay-as-you-go pricing at $0.20/1M input tokens. Microsoft Foundry is a unified Azure platform-as-a-service offering for enterprise AI operations, model builders, and application development.

Compare Grok Code Fast 1 across 3 providers to find the best fit for your use case
Input / 1M
$0.20
Output / 1M
$1.50
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: grok-code-fast-1
Model ID
grok-code-fast-1

Request example

Curated snippets for this provider are not sourced yet. Use Microsoft Foundry documentation with model ID grok-code-fast-1.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare Grok Code Fast 1 Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouter$0.20$1.50
Microsoft Foundry$0.20$1.50
xAI Console——

Pricing

TypePrice (per 1M)
Input tokens$0.20
Output tokens$1.50

Capabilities

JSON / Tool useStructured Outputs

About Grok Code Fast 1

xAI's Grok Code Fast 1 is a code-specialized Mixture-of-Experts model released August 27, 2025.

Get Started

Model Specs

Released2025-08-27
Parameters314B
Context256K
ArchitectureMixture of Experts