← Back to models

Grok-2

xAI (USA) August 23, 2025

Parameters

269.515B total / approximately 114.897B active (MoE)

Context Window

131,072 tokens (official configured maximum; validated supported limit undisclosed)

License

Custom Grok 2 Community License Agreement + xAI AUP; not Apache 2.0. Initial August 23 terms restricted commercial use to licensees and affiliates with annual revenue below US$1M; an August 24 UTC revision removed that threshold in favor of AUP compliance. Restrictions on training other foundation/general-purpose AI models and distribution attribution (including Powered by xAI) remain; current November 4, 2025 xAI Community License is a later revision.

Key Features

Public weights of xAI’s post-trained Grok-2 used in 2024, released as xai-org/grok-2 rather than a separate Instruct alias. Text-only causal decoder: the released config and all weight tensors contain no vision/audio encoder, and hosted Grok-2 vision, image generation and real-time X retrieval are not included. The 64-layer, width-8,192 Transformer uses grouped-query attention with 64 query heads and 8 KV heads of dimension 128, eight routed experts with two selected per token, and a shared gated MLP alongside the routed MoE; this is not a dense 270B model. Audited tensors contain 269,515,497,472 learned parameters; approximately 114.897B active uses conventional counting that includes both full embedding/output tables. The official config sets 131,072 positions, original_max_position_embeddings=8,192 and scaling_factor=16, but publishes no checkpoint-specific long-context validation; these fields do not establish an 8K training limit or justify a community YaRN override. Weights are BF16 across 39 safetensors files, approximately 539 GB, with expert tensors presharded for TP=8; FP8 in the official SGLang serving command is runtime quantization, not the downloaded checkpoint dtype. Official usage requires SGLang >=0.5.1, eight GPUs each with over 40 GB memory, and its Human/Assistant chat template. xAI’s August 2024 hosted evaluation reported MMLU 87.5%, GPQA 56.0% and HumanEval pass@1 88.4%, but these are not independently validated scores for the August 2025 weight export. Full pretraining data/token budget and checkpoint-specific SFT/RL recipe are undisclosed, and local deployment has substantial storage/memory and specialized-runtime requirements. Only Grok-2 is included: Grok-2 mini weights were not verified, and Grok-1 is a separate release. August 23 is a provisional weight-release date supported by the publisher’s live-release statement and contemporary public repository activity; exact first public download/unlock remains unresolved.

Official Links