Model Comparison

Qwen3.7 Max vs Gemma 4 31BWhich is better in 2026?

Qwen3.7 Max significantly outperforms across most benchmarks. Gemma 4 31B is 9.7x cheaper per token.

Verdict: Qwen3.7 Max vs Gemma 4 31B — which is better?

Qwen3.7 Max (by Alibaba Cloud / Qwen Team) and Gemma 4 31B (by Google) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Qwen3.7 Max outperforms in 6 benchmarks (GDPval-AA, GPQA, Humanity's Last Exam, LiveCodeBench v6, MMLU-Pro, MMMLU), while Gemma 4 31B is better at 0 benchmarks. Qwen3.7 Max significantly outperforms across most benchmarks.

On price, Gemma 4 31B is roughly 9.7x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Qwen3.7 Max also accepts a larger context window (1,000,000 input tokens), making it the stronger choice for long documents and large codebases.

Choose Qwen3.7 Max if…

  • you want the strongest raw capability — it leads on 6 of 6 shared benchmarks
  • you process long inputs — it offers a 1,000,000 token context window
  • you want the most recent training data — it shipped May 2026

Choose Gemma 4 31B if…

  • cost matters — it's about 9.7x cheaper per token
  • you need open weights you can self-host or fine-tune

Performance Benchmarks

Comparative analysis across standard metrics

6 benchmarks

Qwen3.7 Max outperforms in 6 benchmarks (GDPval-AA, GPQA, Humanity's Last Exam, LiveCodeBench v6, MMLU-Pro, MMMLU), while Gemma 4 31B is better at 0 benchmarks.

Qwen3.7 Max significantly outperforms across most benchmarks.

Fri Jul 17 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Gemma 4 31B costs less

For input processing, Qwen3.7 Max ($1.25/1M tokens) is 9.6x more expensive than Gemma 4 31B ($0.13/1M tokens).

For output processing, Qwen3.7 Max ($3.75/1M tokens) is 9.9x more expensive than Gemma 4 31B ($0.38/1M tokens).

In conclusion, Qwen3.7 Max is more expensive than Gemma 4 31B.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Fri Jul 17 2026 • llm-stats.com
Alibaba Cloud / Qwen Team
Qwen3.7 Max
Input tokens$1.25
Output tokens$3.75
Best providerNovita
Google
Gemma 4 31B
Input tokens$0.13
Output tokens$0.38
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Qwen3.7 Max accepts 1,000,000 input tokens compared to Gemma 4 31B's 262,144 tokens. Gemma 4 31B can generate longer responses up to 131,072 tokens, while Qwen3.7 Max is limited to 65,536 tokens.

Alibaba Cloud / Qwen Team
Qwen3.7 Max
Input1,000,000 tokens
Output65,536 tokens
Google
Gemma 4 31B
Input262,144 tokens
Output131,072 tokens
Fri Jul 17 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Gemma 4 31B supports multimodal inputs, whereas Qwen3.7 Max does not.

Gemma 4 31B can handle both text and other forms of data like images, making it suitable for multimodal applications.

Qwen3.7 Max

Text
Images
Audio
Video

Gemma 4 31B

Text
Images
Audio
Video

License

Usage and distribution terms

Qwen3.7 Max is licensed under a proprietary license, while Gemma 4 31B uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

Qwen3.7 Max

Proprietary

Closed source

Gemma 4 31B

Apache 2.0

Open weights

Release Timeline

When each model was launched

Qwen3.7 Max was released on 2026-05-19, while Gemma 4 31B was released on 2026-04-02.

Qwen3.7 Max is 2 months newer than Gemma 4 31B.

Qwen3.7 Max

May 19, 2026

1 months ago

1mo newer
Gemma 4 31B

Apr 2, 2026

3 months ago

Knowledge Cutoff

When training data ends

Gemma 4 31B has a documented knowledge cutoff of 2025-01-01, while Qwen3.7 Max's cutoff date is not specified.

We can confirm Gemma 4 31B's training data extends to 2025-01-01, but cannot make a direct comparison without Qwen3.7 Max's cutoff date.

Qwen3.7 Max

Gemma 4 31B

Jan 2025

Provider Availability

Qwen3.7 Max is available from Novita, Together. Gemma 4 31B is available from DeepInfra, FriendliAI, Novita, Together.

Qwen3.7 Max

novita logo
Novita
Input Price:Input: $1.25/1MOutput Price:Output: $3.75/1M
together logo
Together
Input Price:Input: $2.50/1MOutput Price:Output: $7.50/1M

Gemma 4 31B

deepinfra logo
Deepinfra
Input Price:Input: $0.13/1MOutput Price:Output: $0.38/1M
friendli logo
FriendliAI
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
novita logo
Novita
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
together logo
Together
Input Price:Input: $0.39/1MOutput Price:Output: $0.97/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Alibaba Cloud / Qwen Team

Qwen3.7 Max

View details

Alibaba Cloud / Qwen Team

Larger context window (1,000,000 tokens)
Higher GDPval-AA score (43.6% vs 26.1%)
Higher GPQA score (92.4% vs 84.3%)
Higher Humanity's Last Exam score (41.4% vs 26.5%)
Higher LiveCodeBench v6 score (91.6% vs 80.0%)
Higher MMLU-Pro score (89.6% vs 85.2%)
Higher MMMLU score (90.3% vs 88.4%)
Supports multimodal inputs
Less expensive input tokens
Less expensive output tokens
Has open weights

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Qwen3.7 Max and Gemma 4 31B side-by-side, then vote on the output you prefer.

Qwen3.7 Max
✓ Preferred
Gemma 4 31B
Open in Playground
AI Model Comparison Table
Feature
Alibaba Cloud / Qwen Team
Qwen3.7 Max
Google
Gemma 4 31B

FAQ

Common questions about Qwen3.7 Max vs Gemma 4 31B.

Which is better, Qwen3.7 Max or Gemma 4 31B?

Qwen3.7 Max significantly outperforms across most benchmarks. Qwen3.7 Max is made by Alibaba Cloud / Qwen Team and Gemma 4 31B is made by Google. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Qwen3.7 Max compare to Gemma 4 31B in benchmarks?

Qwen3.7 Max scores HMMT Feb 26: 97.1%, Kernel Bench L3: 96.0%, MMLU-Redux: 95.0%, IFEval: 94.3%, GPQA: 92.4%. Gemma 4 31B scores AIME 2026: 89.2%, MMMLU: 88.4%, t2-bench: 86.4%, MathVision: 85.6%, MMLU-Pro: 85.2%.

Is Qwen3.7 Max cheaper than Gemma 4 31B?

Gemma 4 31B is 9.6x cheaper for input tokens. Qwen3.7 Max costs $1.25/M input and $3.75/M output via novita. Gemma 4 31B costs $0.13/M input and $0.38/M output via deepinfra.

What are the context window sizes for Qwen3.7 Max and Gemma 4 31B?

Qwen3.7 Max supports 1.0M tokens and Gemma 4 31B supports 262K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Qwen3.7 Max and Gemma 4 31B?

Key differences include context window (1.0M vs 262K), input pricing ($1.25 vs $0.13/M), multimodal support (no vs yes), licensing (Proprietary vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes Qwen3.7 Max and Gemma 4 31B?

Qwen3.7 Max is developed by Alibaba Cloud / Qwen Team and Gemma 4 31B is developed by Google.