Grok 2 Latest

JSON →
xai llm
text

The latest stable version of Grok 2, automatically updated with the most recent improvements.

context window 131K tokens
max output 131K tokens
input price $2 / 1M tokens
output price $10 / 1M tokens
tool-usejson-modestreamingreasoningcode-generationfunction-calling
releasedAug 2024
knowledge cutoffNov 2024
grok-2
full doc /v1/models/grok-2-latest