vakati-tech.ai

// head_to_head

Gemma 4 31B vs Qwen4 35B A3B

Published LiveBench scores across all seven categories, live list pricing, context windows, and the measured cost of a point of capability — for both models, side by side.

OpenRouter + LiveBenchAll comparisonsFull leaderboard

Qwen4 35B A3B wins outright — it scores higher and costs less.

Qwen4 35B A3B leads by 28.7 points overall while listing 1.9× cheaper per blended million tokens. There is no trade-off to reason about here; the only reason to pick the other is a constraint this table does not show, like an existing contract, a region, or a provider you are already on. Qwen4 35B A3B also leads on measured cost per point of capability, at $0.0005 per point.

google

Gemma 4 31B

Blended / 1M
$0.250
Context
262K
Released
Apr 2, 2026
Overall score
32.4
reasoningtool callingimage inputvideo input

qwen

Qwen4 35B A3B

Blended / 1M
$0.135
Context
1.0M
Released
Dec 4, 2026
Overall score
61.1
reasoningtool callingimage inputvideo inputprompt caching

Specs and pricing

MetricGemma 4 31BQwen4 35B A3B
LiveBench overall

Weighted mean of the seven LiveBench category scores, 0–100. Higher is better.

32.461.1win
Cost per point

Measured benchmark spend divided by overall score — dollars per point of capability.

$0.0022$0.0005win
Blended price / 1M

3:1 input:output mix, the usual shape of production traffic.

$0.250$0.135win
Input price / 1M$0.200$0.060win
Output price / 1M$0.400$0.360win
Cached input / 1M

Price of an input token served from the prompt cache, where the provider publishes one.

—$0.0030
Context window262K1.0Mwin
Max output tokens16K66Kwin

Benchmarks by category

An overall score averages away the thing you probably care about. These are the seven LiveBench categories scored separately — Gemma 4 31B on top, Qwen4 35B A3B below, both out of 100.

Long-horizon agentic
8.5
24.7
Coding
20.3
77.8
Reasoning
68.3
75.8
Browser
0.0
49.9
Data analysis
53.3
74.2
Research
38.1
77.5
Documents & design
56.5
71.1

What each one costs to run

Per-token prices are hard to feel. These are monthly list costs for both models across five workload shapes, using each provider's published cached-input rate where there is one.

WorkloadGemma 4 31BQwen4 35B A3B
Support chatbot

1.2K in / 400 out × 200K requests

$80.00/mo$39.10/mo
RAG assistant

8K in / 600 out × 100K requests

$184.00/mo$46.80/mo
Coding agent

40K in / 4K out × 20K requests

$192.00/mo$44.88/mo
Document extraction

20K in / 1.5K out × 50K requests

$230.00/mo$84.15/mo
Bulk classification

500 in / 20 out × 5M requests

$540.00/mo$157.50/mo
Run these two through the cost calculator

Which should you pick?

You are running this at volume

Qwen4 35B A3B

Lowest measured cost per point of capability at $0.0005 per point — the gap compounds with every request.

Quality matters more than the bill

Qwen4 35B A3B

Highest overall LiveBench score of the two at 61.1.

The workload is coding or agentic work

Qwen4 35B A3B

Leads on long-horizon agentic — 24.7 against 8.5.

You need to fit large documents in one call

Qwen4 35B A3B

Wider context window — 1.0M against 262K.

Gemma 4 31B vs Qwen4 35B A3B FAQ

Which is better, Gemma 4 31B or Qwen4 35B A3B?

Qwen4 35B A3B wins outright — it scores higher and costs less. Qwen4 35B A3B leads by 28.7 points overall while listing 1.9× cheaper per blended million tokens. There is no trade-off to reason about here; the only reason to pick the other is a constraint this table does not show, like an existing contract, a region, or a provider you are already on. Qwen4 35B A3B also leads on measured cost per point of capability, at $0.0005 per point.

Is Gemma 4 31B cheaper than Qwen4 35B A3B?

Qwen4 35B A3B is cheaper. On a 3:1 input:output blend, Gemma 4 31B lists at $0.250 per million tokens and Qwen4 35B A3B at $0.135 — Qwen4 35B A3B is 1.9× cheaper. Input and output are priced separately — Gemma 4 31B charges $0.200 in and $0.400 out, Qwen4 35B A3B charges $0.060 and $0.360 — so the model that looks cheaper flips depending on how output-heavy your workload is.

Gemma 4 31B vs Qwen4 35B A3B: which scores higher on benchmarks?

Gemma 4 31B scores 32.4 and Qwen4 35B A3B scores 61.1 overall on LiveBench, the weighted mean of its seven categories. That is a 28.7-point lead for Qwen4 35B A3B. Category scores differ from the overall figure — a model can lead on reasoning and trail on coding, which the per-category table above breaks out.

Which gives better value for money, Gemma 4 31B or Qwen4 35B A3B?

Qwen4 35B A3B. Cost per point divides the measured dollars LiveBench spent running the benchmark by the score it earned, so it captures something token pricing misses: a reasoning model can emit many times more tokens than its per-token rate suggests. Gemma 4 31B works out at $0.0022 per point and Qwen4 35B A3B at $0.0005.

Does Gemma 4 31B or Qwen4 35B A3B have a bigger context window?

Qwen4 35B A3B has the larger context window: 262K for Gemma 4 31B against 1.0M for Qwen4 35B A3B. Note that a window you can fill is not a window you should fill — retrieval quality usually degrades well before the limit, and you pay for every token you put in it.

Do Gemma 4 31B and Qwen4 35B A3B support prompt caching?

Qwen4 35B A3B publishes a cached-input rate of $0.0030 per million tokens against a full input rate of $0.060. The catalogue lists no separate cached rate for Gemma 4 31B, which means the provider does not price it separately here — not that caching is unavailable.

Related comparisons

How these numbers are produced

  • Price — provider list price from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
  • Scores — LiveBench release 2026-11-06, using their own category map. Each model shows its strongest published run. A blank means “not evaluated”, never “bad”.
  • Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
  • “Win” — awarded only past a threshold: one full point on a benchmark score, 10% on a price, 25% on a context window. Anything tighter reports as a tie, because effort settings alone move a LiveBench score by more than that.

Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.