xAI logo

Grok 1 Code Fast

Deprecated

Grok 1 Code Fast is xAI's language model with a 256K context window and up to 10K output tokens, available from 4 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
#137
Coding Index
23.7
#148
Math Index
43.3
#143
MMLU-Pro
0.8
#116
GPQA
0.7
#159
HLE
0.1
#176
LiveCodeBench
0.7
#83
IFBench
0.4
#206
Time to First Token
0.00s
#192
SciCode
0.4
#147
AIME 2025
0.4
#143
LCR
0.5
#136
TerminalBench Hard
0.2
#147
TAU2
0.8
#109
Output TPS
0.0
#463

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
Web Search
$ / query
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
azure_ai/grok-code-fast-1
$0.200$1.50N/AN/A
OpenRouter logo
OpenRouter
x-ai/grok-code-fast-1
$0.200$1.50$0.020$0.0050
Vercel AI Gateway logo
Vercel AI Gateway
xai/grok-code-fast-1
$0.200$1.50$0.020N/A
xAI logo
xAI
grok-code-fast-1-0825
$1.25$2.50$0.200N/A$0.625$1.25$0.100

Cost Calculator

Preset:
Compares every provider & tier in USD

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.500Available
Grok 4256K$1.25$2.50Deprecated
Grok 1 Code Fast256K$0.200$1.50Current

Model IDs