How Grok tokenization works
The Grok tokenizer is not public; estimates here follow the common 4-characters-per-token English baseline with adjustments for code and symbols.
Grok 4.3 supports a context window around 1 million tokens; Grok Build 0.1 supports 256,000 tokens.
The xAI API reports exact token usage per request, which you can use to validate these planning estimates.