Gemma 4 31B vs Hy4

Price, context window & benchmark comparison

Google

Gemma 4 31B

Google
$0.20 / $0.40
Input / Output · per 1M tokens
VS
Tencent

Hy4

Tencent
$0.42 / $1.25
Input / Output · per 1M tokens
Compare different models
Google
Tencent
Verdict: Gemma 4 31B is 2.5× cheaper than Hy4 on a typical 3:1 input/output mix. Hy4 scores higher on the Artificial Analysis Intelligence Index (34.6 vs 4.4). Hy4 has the larger context window (1M vs 262K).
Gemma 4 31BHy4
Input price / 1M$0.20$0.42
Output price / 1M$0.40$1.25
Blended price (3:1)$0.25$0.63
Cached input / 1M—$0.021
Context window262K1M
Max output16K66K
Intelligence index4.434.6
Coding index43.4—
Providers—1
Best provider uptime (30m)—100.0%
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-04-022026-11-04
Retirement——

Cost calculator

FAQ

Which is cheaper, Gemma 4 31B or Hy4?

Gemma 4 31B is 2.5× cheaper than Hy4 on a typical 3:1 input/output mix.

Gemma 4 31B vs Hy4: which has a bigger context window?

Gemma 4 31B: 262,144 tokens. Hy4: 1,048,576 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemma 4 31B ≈ $600.00, Hy4 ≈ $1,459.

More comparisons