Skip to content
llmmodels

Gemma 4 31B IT vs Qwen3.7 Max

Qwen3.7 Max wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (154.6 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Qwen3.7 Max has the larger context window (1M vs 256K). Gemma 4 31B IT has open weights, so you can self-host and fine-tune it; Qwen3.7 Max is API-only.

SpecGemma 4 31B ITQwen3.7 Max
ProviderGoogle DeepMindAlibaba (Qwen)
ReleasedApr 2, 2026May 21, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters31B—
Context window256K1M (better)
Max output32K128K (better)
Input price / 1MFree (better)$2.50
Output price / 1MFree (better)$7.50
Input modalitiestext, image, video (better)text
Open weightsYesNo
Licenseapache-2.0Proprietary
Reasoning modeYesYes
Tool callingYesYes
API providers51 (better)33
Epoch Capabilities Index144.1154.6 (better)
GPQA Diamond75.8%90.9% (better)
SWE-bench Verified—77.3%
WebDev Arena13641517 (better)
OTIS Mock AIME73.3%95.6% (better)
FrontierMath—64.6%
SimpleQA Verified10.4%55.8% (better)

Cost example

For a workload of 10M input + 2M output tokens per month: Gemma 4 31B IT costs $0.00 and Qwen3.7 Max costs $40.00 at list price (Google DeepMind / alibaba pricing).

About Gemma 4 31B IT

Gemma 4 31B IT is an open-weight reasoning llm from Google DeepMind, released Apr 2, 2026. It has 31B parameters, a 256K-token context window and accepts text, image, video input. It can be used for free via API. It is available from 51 API providers. It scores 144.1 on the Epoch Capabilities Index. Full Gemma 4 31B IT specs →

About Qwen3.7 Max

Qwen3.7 Max is a proprietary reasoning llm from Alibaba (Qwen), released May 21, 2026. It has a 1M-token context window. API pricing starts at $2.50 per million input tokens and $7.50 per million output tokens. It is available from 33 API providers. It scores 154.6 on the Epoch Capabilities Index. Full Qwen3.7 Max specs →

Compare other models

FAQ

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

Qwen3.7 Max wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (154.6 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Qwen3.7 Max has the larger context window (1M vs 256K). Gemma 4 31B IT has open weights, so you can self-host and fine-tune it; Qwen3.7 Max is API-only.

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

Gemma 4 31B IT costs Free input / Free output per 1M tokens; Qwen3.7 Max costs $2.50 / $7.50. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

Gemma 4 31B IT: 262,144 tokens. Qwen3.7 Max: 1,000,000 tokens.

Are Gemma 4 31B IT and Qwen3.7 Max open source?

Gemma 4 31B IT is open-weight; Qwen3.7 Max is proprietary.