Side-by-side technical and economic comparison between Meta / Together's Llama 3.1 405B — Together AI and xAI's Grok 4.6 Mini.
• Llama 3.1 405B — Together AI: Classified as a Legacy Reference model (Deprecated on Together AI (Reference)).
| Metric | Llama 3.1 405B — Together AI | Grok 4.6 Mini | Advantage |
|---|---|---|---|
| Provider Organization | Meta / Together | xAI | — |
| Standard Input / 1M | $3.50 | $0.40 | Grok 4.6 Mini (89% lower) |
| Cached Input / 1M | None | $0.10 | Grok 4.6 Mini lower |
| Output / 1M | $3.50 | $1.60 | Grok 4.6 Mini lower |
| Context Window | 128k | 512k | Grok 4.6 Mini (512k) |
| Max Generation Tokens | 4.1k | 64k | Grok 4.6 Mini |
| Tokenizer Family | Meta Llama 3 Tiktoken BPE (~128k vocabulary) | OpenAI o200k_base legacy (200k vocabulary) | — |
Opt for Llama 3.1 405B — Together AI when your engineering requirements prioritize Meta / Together's ecosystem, specific tokenizer efficiencies (Exact Llama 3 Tokenizer (±2%)), or when your expected prompt-to-completion ratios favor its $3.5/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.