Grok Code Fast
JSON →Fast code generation model from xAI, optimized for rapid code synthesis and completion.
Specs
context window 256K tokens
max output 256K tokens
input price $0.2 / 1M tokens
output price $1.5 / 1M tokens
Capabilities
code-generationstreamingfunction-callingtool-useprompt-cachingreasoning
API
full doc /v1/models/grok-code-fast