Side-by-side technical and economic comparison between Google's Gemini 3.1 Pro Preview and Meta / Together's Llama 4 Maverick (400B) — Together AI.
• Llama 4 Maverick (400B) — Together AI: Classified as a Legacy Reference model (Deprecated on Together AI (Reference)).
| Metric | Gemini 3.1 Pro Preview | Llama 4 Maverick (400B) — Together AI | Advantage |
|---|---|---|---|
| Provider Organization | Meta / Together | — | |
| Standard Input / 1M | $2.00 | $0.27 | Llama 4 Maverick (400B) — Together AI (87% lower) |
| Cached Input / 1M | $0.20 | None | Llama 4 Maverick (400B) — Together AI lower |
| Output / 1M | $12.00 | $0.85 | Llama 4 Maverick (400B) — Together AI lower |
| Context Window | 1.05M | 1M | Gemini 3.1 Pro Preview (1.05M) |
| Max Generation Tokens | 16.4k | 16.4k | Gemini 3.1 Pro Preview |
| Tokenizer Family | Google Gemini SentencePiece (256k vocabulary) | Meta Llama 3/4 Tiktoken (128k vocabulary) | — |
Opt for Gemini 3.1 Pro Preview when your engineering requirements prioritize Google's ecosystem, specific tokenizer efficiencies (Calibrated Gemini Tokenizer (±4%)), or when your expected prompt-to-completion ratios favor its $2/M input rate.
Opt for Llama 4 Maverick (400B) — Together AI when looking for Meta / Together's tooling integration, specific context window depth (1M tokens), or when output generation volume favors its $0.85/M rate.