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 · 11 months ago
Deprecation Date
Benchmarks
Intelligence Index
#190
Math Index
#175
MMLU-Pro
#142
GPQA
#237
HLE
#249
LiveCodeBench
#110
IFBench
#251
Time to First Token
#293
SciCode
#218
AIME 2025
#175
LCR
#213
TerminalBench Hard
#174
TAU2
#136
Output TPS
#525

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.6500K$2.00$6.00Available
Grok 4.5500K$2.00$6.00Available
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 Reasoning2.0M$0.200$0.500Deprecated
Grok 4.1 Fast2.0M$1.25$2.50Deprecated
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