Smaller prior-gen Grok for high-volume xAI experiments. Prefer Grok 3 Mini or Grok 4 Fast for new volume stacks.
Privacy first counting
TokenCALC counts tokens in your browser when an Exact encoding is available. Prompt text does not need to leave your device for local counting.
Pricing snapshot
USD per 1 million tokens. Verify against the provider source before you lock budget.
| Rate | USD |
|---|---|
| Input / 1M | $0.200 |
| Output / 1M | $0.500 |
Model details
| Detail | Value |
|---|---|
| Provider | xAI |
| Context window | 131.1K |
| Tokenizer | Approx |
| Last verified | 2026-08-02 |
| API model id | grok-2-mini |