Grok 1 Code Fast is xAI's language model with a 256K context window and up to 10K output tokens, available from 2 providers, starting at $0.2 / 1M input and $1.50 / 1M output. A fast, economical reasoning model from xAI optimized for agentic coding tasks, with visible reasoning traces in responses.
Specifications
Canonical IDxai-grok-1-code-fast
TypeLanguage
StatusDeprecated
CreatorxAIxAI
Providers
Context Window256K tokens
Max Output10K tokens
Input ModalitiesImageText
Output ModalitiesText
Reasoning Effortsdefault
Release Date · 1 year ago
Knowledge Cutoff · 1 year ago
Deprecation Date
Benchmarks
Intelligence Index
#241
Math Index
#175
MMLU-Pro
#142
GPQA
#247
HLE
#278
LiveCodeBench
#110
IFBench
#252
Time to First Token
#325
SciCode
#251
AIME 2025
#175
LCR
#240
TerminalBench Hard
#175
TAU2
#135
Output TPS
#558

Capabilities

Input2/5
Text✓
Image✓
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
azure_ai/grok-code-fast-1
$0.2$1.50N/A———
xAI logo
xAI
grok-code-fast-1
$1.00$2.00$0.2$0.5$1.00$0.1

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Grok 4.7524K$2.00$6.00Available
Grok 4.6524K$2.00$6.00Available
Grok 4.5500K$2.00$6.00Available
Grok 4.31.0M$1.25$2.50Available
Grok 4.3 Batch1.0M$1.00$2.00Available
Grok 4.202.0M$1.25$2.50Available
Grok 4.20 Multi-Agent2.0M$1.25$2.50Available
Grok 4.20 Multi-Agent Beta2.0M$1.25$2.50Available
Grok 4.20 Non-Reasoning2.0M$1.25$2.50Deprecating
Grok 4.20 Multi-Agent2.0M$1.00$2.00Available
Grok 1 Code Fast256K$0.200$1.50Current

Model IDs

azure_ai/grok-code-fast-1
grok-code-fast-1
x-ai/grok-code-fast-1
xai-grok-1-code-fast
xai/grok-code-fast-1
xai/grok-code-fast-1-0825