Llama 3.1 405B Instruct vs Gemma 4 31B IT
Llama 3.1 405B Instruct is cheaper on output tokens, while Gemma 4 31B IT offers a larger context window. Choose Llama 3.1 405B Instruct or Gemma 4 31B IT based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Llama 3.1 405B Instruct | Gemma 4 31B IT |
|---|---|---|
| Provider | Cortecs | Cortecs |
| Input / 1M tokens | $0.00 | $0.22 |
| Output / 1M tokens | $0.00 | $0.39 |
| Context window | 128K | 262K |
| Parameters | — | — |
| Open weights | Yes | Yes |
| Released | Jul 2024 | Apr 2026 |
FAQ
Is Llama 3.1 405B Instruct or Gemma 4 31B IT cheaper?
Llama 3.1 405B Instruct is cheaper on output tokens ($0.00 vs $0.39 per 1M).
Which has the larger context window, Llama 3.1 405B Instruct or Gemma 4 31B IT?
Gemma 4 31B IT has the larger context window (262K tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.