Skip to content
llmmodels

Gemma 4 31B IT vs Qwen3.5 397B-A17B

Qwen3.5 397B-A17B wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (148.0 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price.

SpecGemma 4 31B ITQwen3.5 397B-A17B
ProviderGoogle DeepMindAlibaba (Qwen)
ReleasedApr 2, 2026 (better)Feb 15, 2026
TypeReasoning LLMReasoning LLM
Parameters31B403B
Context window256K256K
Max output32K64K (better)
Input price / 1MFree (better)$0.6
Output price / 1MFree (better)$3.60
Input modalitiestext, image, videotext, image, video
Open weightsYesYes
Licenseapache-2.0apache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers51 (better)36
Epoch Capabilities Index144.1148.0 (better)
GPQA Diamond75.8%86.4% (better)
WebDev Arena1364—
OTIS Mock AIME73.3%88.9% (better)
FrontierMath—31.2%
SimpleQA Verified10.4%—

Cost example

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

Qwen3.5 397B-A17B is an open-weight reasoning llm from Alibaba (Qwen), released Feb 15, 2026. It has 403B total parameters (17B active per token, mixture-of-experts), a 256K-token context window and accepts text, image, video input. API pricing starts at $0.6 per million input tokens and $3.60 per million output tokens. It is available from 36 API providers. It scores 148.0 on the Epoch Capabilities Index. Full Qwen3.5 397B-A17B specs →

Compare other models

FAQ

Which is better, Gemma 4 31B IT or Qwen3.5 397B-A17B?

Qwen3.5 397B-A17B wins 3 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (148.0 vs 144.1). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price.

Is Gemma 4 31B IT cheaper than Qwen3.5 397B-A17B?

Gemma 4 31B IT costs Free input / Free output per 1M tokens; Qwen3.5 397B-A17B costs $0.6 / $3.60. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

Gemma 4 31B IT: 262,144 tokens. Qwen3.5 397B-A17B: 262,144 tokens.

Are Gemma 4 31B IT and Qwen3.5 397B-A17B open source?

Gemma 4 31B IT is open-weight; Qwen3.5 397B-A17B is open-weight.