Grok 4 Latest
JSON →The latest stable version of the Grok 4 model.
Specs
context window 256K tokens
max output 256K tokens
input price $3 / 1M tokens
output price $15 / 1M tokens
Capabilities
streamingreasoningcode-generationfunction-callingtool-useprompt-caching
API
full doc /v1/models/grok-4-latest