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 ModalitiesText
Output ModalitiesText
Reasoning Effortsdefault
Release Date · 10 months ago
Knowledge Cutoff · 9 months ago
Deprecation Date
Benchmarks
Intelligence Index
21.6
#147
Math Index
43.3
#143
MMLU-Pro
0.8
#116
GPQA
0.7
#172
HLE
0.1
#189
LiveCodeBench
0.7
#83
IFBench
0.4
#221
Time to First Token
0.00s
#207
SciCode
0.4
#160
AIME 2025
0.4
#143
LCR
0.5
#148
TerminalBench Hard
0.2
#160
TAU2
0.8
#123
Output TPS
0.0
#479

Capabilities

Input1/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.31.0M$1.25$2.50Available
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.50Available
Grok 4.20 Reasoning2.0M$1.25$2.50Available
Grok 4.1 Fast2.0M$0.200$0.500Deprecated
Grok 4 Fast131K$0.200$0.500Deprecated
Grok 4 Fast Non-Reasoning2.0M$0.200$0.500Deprecated
Grok 4256K$3.00$15.00Deprecated
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