GR

Xai Org.Grok 2

GrokGGUF by DevQuasarUpdated 2025-09-24
Download on Hugging Face
Parameters270B
Context128K
Layers64
Architecturegrok
Smallest quant0.1 GB
Quick answer

Xai Org.Grok 2 needs about 166.7 GB of memory at Q4_K_M (a 164.1 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 12 quants, from 0.1 GB to 539.1 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 8.6 GB.

Grok 2 – 270B parameter LLM with 131072 token context

Grok 2 is a 270B parameter model trained by xAI in 2024. It supports a 131072 token context window and is available in multiple GGUF quantizations. The model is a mixture of experts and can be served with SGLang on 8 GPUs with >40 GB VRAM each.

Good at

  • Large context generation
  • High‑parameter inference
  • Mixture‑of‑experts flexibility

Limits

  • No vision support
  • License not specified
  • Requires 8 GPUs for full TP=8

Best for

  • Long‑form content creation
  • Complex dialogue systems
  • Research prototyping

Who it’s for. Developers and researchers needing a large‑parameter model with extended context. The model is suitable for environments that can provide the necessary GPU resources and comply with the Grok 2 Community License Agreement.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.1 GB 2.7 GB
Fits Get file →
IQ1_M62.6 GB (5 parts) 65.2 GB
Too big Get file →
IQ2_XXS72.6 GB (6 parts) 75.3 GB
Too big Get file →
IQ2_XS80.6 GB (6 parts) 83.3 GB
Too big Get file →
IQ2_S81.3 GB (6 parts) 83.9 GB
Too big Get file →
Q2_K100.1 GB (8 parts) 102.7 GB
Too big Get file →
Q3_K_M130.1 GB (10 parts) 132.8 GB
Too big Get file →
Q4_K_M164.1 GB (12 parts) 166.7 GB
Too big Get file →
Q5_K_M191.6 GB (14 parts) 194.2 GB
Too big Get file →
Q6_K221.4 GB (17 parts) 224.0 GB
Too big Get file →
Q8_0286.4 GB (22 parts) 289.0 GB
Too big Get file →
F16539.1 GB (36 parts) 541.7 GB
Too big Get file →

For 8 GB VRAM, use the smallest quantization: IQ1_M (62.58 GB file, ~65.2 GB memory at 8k context). For 16 GB VRAM, IQ2_XXS (72.6 GB file, ~75.3 GB memory). For 40 GB VRAM, Q4_K_M (164.06 GB file, ~166.7 GB memory).

What GPU do you need for Xai Org.Grok 2?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).
  • 6 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).
  • 12 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).
  • 16 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).
  • 24 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).
  • 32 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).
  • 48 GB VRAM: the best quant that fits is the main file (0.1 GB file, about 2.7 GB in use).

Which Xai Org.Grok 2 quant should you choose?

Q4_K_M is the usual starting point for Xai Org.Grok 2: it balances file size and quality well. Here it is a 164.1 GB file.

The Q8_0 file is 286.4 GB, about 1.7 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is the first one in the table at 0.1 GB, with the quality trade-offs that come with fewer bits.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegrok
Parameters270B (approximate, mixture of experts)
Layers64
Trained context131,072 tokens
KV cache (fp16)256 KB per token

Source

Quantized byDevQuasar
FamilyGrok
Base modelxai-org/grok-2
Downloads (HF)934
Last updated2025-09-24

Frequently asked questions about Xai Org.Grok 2

How much VRAM does Xai Org.Grok 2 need?

About 166.7 GB at Q4_K_M with an 8K context window. That is the 164.1 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Xai Org.Grok 2 on an 8 GB GPU?

Yes, with the smaller files: the 0.1 GB file needs about 2.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Xai Org.Grok 2 GGUF?

It depends on the quant: file is 0.1 GB, IQ1_M is 62.6 GB, IQ2_XXS is 72.6 GB, IQ2_XS is 80.6 GB, IQ2_S is 81.3 GB, Q2_K is 100.1 GB and 6 more.

What context length does Xai Org.Grok 2 support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 2.1 GB at 8K and 8.6 GB at 32K.

Where can I download Xai Org.Grok 2 GGUF?

The files are on Hugging Face in the DevQuasar/xai-org.grok-2-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Can I run Grok 2 on 8 GB VRAM?

The smallest available quantization (IQ1_M) requires about 65.2 GB of VRAM at 8k context, so 8 GB VRAM is insufficient.

What is the context length of Grok 2?

The model supports 131072 tokens of context.

How many GPUs are needed for full inference?

The checkpoint is TP=8, requiring 8 GPUs each with >40 GB VRAM.

Other GGUFs of grok-2

Similar models

Browse all →

More from DevQuasar

All by DevQuasar →

More Grok models

All Grok →

Other large models

All large models →