Grok context window calculator

Plan how much room your Grok context bundle needs before you upload files or paste a large source package.

Grok 4.6 budget planner

Grok 4.6 documents a 500K-token context window. It is xAI's recommended general-purpose and coding model.

500,000 tokens
Used 0
Remaining 0
Status Ready

Source: xAI documentation. Last reviewed 2026-09-08. Prices reviewed 2026-09-08.

Frequently asked questions

What context windows does this calculator use for Grok?

It shows Grok 4.6 with a 500K-token context window and Grok 4.3 with a 1M-token window. The newer Grok 4.6 has the smaller window of the two, so check which model you are actually using.

Should I fill the whole Grok context window?

Usually no. Reserve room for your instructions and the response. A focused bundle of the right files normally beats a much larger dump of everything you have.

Can Riflet build the source context?

Yes. Riflet can combine folders, PDFs, websites, GitHub repos, Obsidian vaults, and Notion exports into a portable context file for Grok.

Does Riflet send my files to Grok automatically?

No. Riflet exports the file locally. You choose when to paste or upload it.