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.200 / 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 · 9 months ago
Knowledge Cutoff
Deprecation Date
Benchmarks
Intelligence Index
28.7
#141
Coding Index
23.7
#152
Math Index
43.3
#143
MMLU-Pro
0.8
#116
GPQA
0.7
#163
HLE
0.1
#180
LiveCodeBench
0.7
#83
IFBench
0.4
#210
Time to First Token
0.00s
#195
SciCode
0.4
#151
AIME 2025
0.4
#143
LCR
0.5
#139
TerminalBench Hard
0.2
#151
TAU2
0.8
#113
Output TPS
0.0
#467

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

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.200$1.50N/A
xAI logo
xAI
grok-code-fast-1-0825
$1.00$2.00$0.200$0.500$1.00$0.100

Cost Calculator

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$1.25$2.50Deprecated
Grok 4 Fast131K$0.200$0.500Deprecated
Grok 4 Fast Non-Reasoning2.0M$0.200$0.500Available
Grok 4256K$1.25$2.50Deprecated
Grok 1 Code Fast256K$0.200$1.50Current

Model IDs