xAI flagship frontier model with 500k context, real-time reasoning, and prompt caching Need a token count first? Use the Grok token counter.
grok-4.6| Scenario | Input Tokens | Output Tokens | Uncached Cost | With Prompt Caching |
|---|---|---|---|---|
| Short Chat Query | 1,000 | 500 | $0.00500 | $0.00350 |
| Document Summarization | 10,000 | 2,000 | $0.0320 | $0.0170 |
| Codebase & Context Analysis | 100,000 | 20,000 | $0.3200 | $0.1700 |
| Batch Corpus Processing | 1,000,000 | 100,000 | $2.60 | $1.10 |
Tier 1 (free tier) reference limits — your account's actual quota may be higher.
Ideal for production workloads demanding flagship capabilities, deep context depth (500k tokens), and reliability from xAI. Excellent when predictable tokenomics and prompt caching support are paramount.
If your use-case requires sub-second streaming latency or ultra-high frequency classification at micro-cent pricing, consider lighter budget options such as Gemini Flash-Lite or Claude Haiku. For deep formal logic, consider dedicated reasoning models like o3.
For Grok 4.6, 1 million input tokens costs $2.00, while 1 million output tokens costs $6.00. If using prompt caching, repetitive input prefixes are discounted to $0.50 per million.
Grok 4.6 features a maximum context window of 500,000 tokens (~375,000 words), with a maximum output limit of 131,072 tokens per completion.
Grok 4.6 utilizes the xAI Byte-level BPE (~131k vocabulary). Token counting on TokenMath runs client-side to ensure maximum privacy.
Yes. Grok 4.6 supports prompt caching with a cached input rate of $0.50/1M (saving up to 75% on repeated input context).