Llama 4 Maverick vs Gemma 4 31B (batch)
Llama 4 Maverick
Gemma 4 31B (batch)
| Llama 4 Maverick | Gemma 4 31B (batch) | |
|---|---|---|
| Provider | Meta | |
| Context window Maximum tokens (input + output) the model can process in a single request. Glossary → | 524,288 | 262,144 |
| Capabilities Optional capabilities the model advertises: vision (images), tools (function calling), json_mode (structured output). | vision, tools, json_mode | vision, tools, json_mode |
| Input $ / 1M tokens Cost for tokens you send (prompt + context). Cheaper side highlighted. Glossary → | 0.3500 | 0.3900 |
| Output $ / 1M tokens Cost for tokens the model generates. Output is normally 3–5× pricier than input. Glossary → | 1.0000 | 0.9700 |
Frequently asked questions
Which is cheaper, Llama 4 Maverick or Gemma 4 31B (batch)?
Llama 4 Maverick is cheaper than Gemma 4 31B (batch) on a 50/50 input/output blend by about $0.005 per 1M tokens. Exact savings depend on your input-vs-output ratio — use the cost calculator on this page for a workload-specific estimate.
Which has a larger context window, Llama 4 Maverick or Gemma 4 31B (batch)?
Llama 4 Maverick has the larger context window at 524k tokens versus 262k tokens for Gemma 4 31B (batch). That means Llama 4 Maverick can ingest about 2.0x as much text per request.
What is the difference between Llama 4 Maverick and Gemma 4 31B (batch)?
Llama 4 Maverick comes from Meta; Gemma 4 31B (batch) comes from Google. They differ in pricing, context window, and supported capabilities — see the side-by-side table on this page for the exact figures, refreshed nightly.