Skip to content
llmmodels

Gemma 4 31B IT vs Qwen3.8 Max

Qwen3.8 Max wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (157.6 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Qwen3.8 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.8 Max is API-only.

SpecGemma 4 31B ITQwen3.8 Max
ProviderGoogle DeepMindAlibaba (Qwen)
ReleasedApr 2, 2026Aug 3, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters31B2.4T
Context window256K1M (better)
Max output32K128K (better)
Input price / 1MFree (better)$2
Output price / 1MFree (better)$6
Input modalitiestext, image, videotext, image, video, pdf (better)
Open weightsYesNo
Licenseapache-2.0Proprietary
Reasoning modeYesYes
Tool callingYesYes
API providers51 (better)46
Epoch Capabilities Index144.1157.6 (better)
GPQA Diamond75.8%92.7% (better)
WebDev Arena13641671 (better)
OTIS Mock AIME73.3%100.0% (better)
FrontierMath—74.7%
SimpleQA Verified10.4%47.3% (better)

Cost example

For a workload of 10M input + 2M output tokens per month: Gemma 4 31B IT costs $0.00 and Qwen3.8 Max costs $32.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.8 Max

Qwen3.8 Max is a proprietary reasoning llm from Alibaba (Qwen), released Aug 3, 2026. It has 2.4T parameters, a 1M-token context window and accepts text, image, video, pdf input. API pricing starts at $2 per million input tokens and $6 per million output tokens. It is available from 46 API providers. It scores 157.6 on the Epoch Capabilities Index. Full Qwen3.8 Max specs →

Compare other models

FAQ

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

Qwen3.8 Max wins 5 of 5 benchmarks both models report and has a higher Epoch Capabilities Index (157.6 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Qwen3.8 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.8 Max is API-only.

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

Gemma 4 31B IT costs Free input / Free output per 1M tokens; Qwen3.8 Max costs $2 / $6. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

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

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

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