Grok 2

JSON →
xai llm
text

A large language model from xAI with advanced reasoning and real-time knowledge capabilities.

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 cutoffJul 2024
full doc /v1/models/grok-2