xAI: Grok Code Fast 1 Pricing & Specs

Released: Unknown
OpenRouter Model IDx-ai/grok-code-fast-1

xAI: Grok Code Fast 1 is an API-access large language model from X-ai priced at $0.20/1M input tokens and $1.50/1M output tokens with a 256k context window. Context caching reduces input costs to $0.10/1M for cache reads.

Economics (OpenRouter)

Input / 1M
$0.20
Output / 1M
$1.50
Est. Monthly Cost
$21.06
Based on current usage settings
Cache Read$0.10
Cache Write$0.25

Capabilities (models.dev)

ReasoningNo
Tool CallNo
Audio InNo
Audio OutNo
Modalitytext
Context Window256k

Benchmarks (AA)

Intelligence Index
General reasoning and knowledge
Coding Index
Code generation & debugging
Math Index
Mathematical reasoning
Performance
tokens/sec

* Median output throughput

Model ID: x-ai/grok-code-fast-1 • Data Sources: OpenRouter, Artificial Analysis, models.dev