LLM Reference
Microsoft Foundry

Grok Code Fast 1 on Microsoft Foundry

Grok 4 · xAI

Serverless

Last refreshed 2026-05-20. Next refresh: weekly.

Why use Grok Code Fast 1 on Microsoft Foundry?

Microsoft Foundry offers Grok Code Fast 1 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 Code Fast 1 across 3 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
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
xAI Console$1.25$2.50

Capabilities

Function CallingTool 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. It was retired on May 15, 2026; xAI lists grok-build-0.1 as its direct replacement for current coding-agent work.

FAQ

What is the context window for Grok Code Fast 1 on Microsoft Foundry?

Grok Code Fast 1 supports a 256k token context window on Microsoft Foundry.

How does Microsoft Foundry compare to other Grok Code Fast 1 providers?

Grok Code Fast 1 is available from 3 providers. The cheapest input pricing is $0.2/1M tokens from OpenRouter.

What API model ID do I use for Grok Code Fast 1 on Microsoft Foundry?

Use the model ID grok-code-fast-1 when calling Microsoft Foundry's API.

Who created Grok Code Fast 1?

Grok Code Fast 1 was created by xAI as part of the Grok 4 model family.

Is Grok Code Fast 1 open source?

Grok Code Fast 1 is not open source; the seed data lists it as proprietary.

Get Started

Model Specs

Released2025-08-27
Parameters314B
Context262k
ArchitectureMixture of Experts