Side-by-side technical and economic comparison between Mistral AI's Codestral (Current Generation) and xAI's Grok 4.6 Mini.
| Metric | Codestral (Current Generation) | Grok 4.6 Mini | Advantage |
|---|---|---|---|
| Provider Organization | Mistral AI | xAI | — |
| Standard Input / 1M | $0.30 | $0.40 | Codestral (Current Generation) (25% lower) |
| Cached Input / 1M | $0.03 | $0.10 | Codestral (Current Generation) lower |
| Output / 1M | $0.90 | $1.60 | Codestral (Current Generation) lower |
| Context Window | 256k | 512k | Grok 4.6 Mini (512k) |
| Max Generation Tokens | 8.2k | 64k | Grok 4.6 Mini |
| Tokenizer Family | Mistral Tekken BPE (~131k vocabulary) | OpenAI o200k_base legacy (200k vocabulary) | — |
Opt for Codestral (Current Generation) when your engineering requirements prioritize Mistral AI's ecosystem, specific tokenizer efficiencies (Exact Tekken Tokenizer (±2%)), or when your expected prompt-to-completion ratios favor its $0.3/M input rate.
Opt for Grok 4.6 Mini when looking for xAI's tooling integration, specific context window depth (512k tokens), or when output generation volume favors its $1.6/M rate.