grok-code-fast
by xAI — Price updated 2026-04-04
Pricing ($/1M tokens)
Input
$0.20
Output
$1.50
Cache Read
$0.02
Specifications
Context Window
256,000
Max Output
256,000
Input
text
Output
text
Tool Calling
Reasoning
About This Model
grok-code-fast is a budget-friendly language model from xAI.
It supports a context window of 256K tokens with up to 256K output tokens.
Key capabilities include tool calling, extended reasoning.
With input pricing at $0.20/1M tokens, it sits in the mid-range of available models.
xAI offers 62 models in total, spanning different price points and capability levels.