Skip to main content

text model comparison

Gemma 4 31B vs Qwen3.8-27B

Gemma 4 31B and Qwen3.8-27B are both current text models, from Google and Alibaba Qwen. On Arena Text, Gemma 4 31B scores 1443 Elo and Qwen3.8-27B 1438 Elo (Arena, measured November 22, 2026), too close to call within their published rating ranges. Both accept 262,144 tokens of context.

Arena Text
Too close to call1443 Elo and 1438 Elo, ranges overlap
Newer release
Qwen3.8-27BAug 2026 against Apr 2026

Data verified November 23, 2026 · Dataset 2026-11-23

Share this

Side by side

Gemma 4 31B and Qwen3.8-27B, line by line

Prices in effect today, compared at the same tier wherever both list one. The better value in each row is highlighted.

FactGemma 4 31BQwen3.8-27B
Independent benchmarks
Arena TextToo close to call1443 Elo (#31 of 57)Range 1435 to 14501438 Elo (#33 of 57)Range 1433 to 1442
Arena WebDev1371 Elo (#50 of 53)Range 1365 to 13771590 Elo (#32 of 53) (better)Range 1584 to 1596
Epoch Capabilities Index144.1 points (#42 of 46)Range 141.7 to 146.6Not measured
GPQA Diamond75.8% (#40 of 44)Not measured
SimpleQA Verified10.4% (#39 of 40)Not measured
Specs
ProviderGoogleAlibaba Qwen
Release dateApril 2, 2026August 14, 2026
Accessopen weightsopen weights
Context window262,144 tokens262,144 tokens
Max outputNot reportedNot reported
Inputtext, imagetext, image, video
Outputtexttext

Ranges under the scores are the publishers' own: published rating ranges from Arena and 90% credible intervals from Epoch AI. Where two ranges overlap, the gap is inside the measurement's own uncertainty, so the row says too close to call and neither score is highlighted or counted as a lead.

Scores:Arena · 2026-11-23Epoch AI · 2026-11-23

Open both in the interactive comparison

Provider results

What the labs report

Results tables a lab published with one of its models, where it lists both Gemma 4 31B and Qwen3.8-27B. These are the lab's own figures, not independent measurements, and each table is read on its own: labs run benchmarks with different harnesses and budgets.

Thinking Machines Lab, Inkling 2 Mini model card, November 20, 2026Thinking Machines Lab · 2026-11-23

BenchmarkGemma 4 31BQwen3.8-27B
DeepSWE v1.1mini-swe-agent0.3%42.2% (better)
Terminal-Bench 2.1pi harness43.4%73.0% (better)
SWE-bench Pro v2Hard, mini-swe-agent14.2%73.8% (better)
SWE-bench Multilingualbash only43.0%70.0% (better)
SWE-bench Verifiedbash only46.1%77.8% (better)
SWE-bench Multimodal v2Vals27.5%37.5% (better)
BrowseCompwith compaction37.0%61.6% (better)
DeepSearchQAwith compaction61.7%79.7% (better)
MCP Atlaspublic54.2%77.3% (better)
Diligence Benchbest harness26.3%46.4% (better)
PerceptionBench40.7%52.4% (better)
OmniDocBench v1.682.5%91.5% (better)

Thinking Machines' table from the Inkling 2 Mini model card, comparing open models under 100B parameters with its own harnesses (mini-swe-agent, pi or bash only) or, for Vals benchmarks, Vals' runs. Left out here: Dory 1.0 4B and SenseNova-Loop-9B, which are not in this catalog; the Artificial Analysis and Vals indexes and the rows Artificial Analysis ran (FrontierCode, Terminal-Bench 4.0, MMMU-Pro, AA-Briefcase, GDPVal-AA, AutomationBench-AA, EnterpriseOps-Gym, AA-AnalystAgent and GDP.pdf); PMPP-Hard (not a percentage); JobBench, which we could not confirm is public; and the vision rows that report two settings in one cell.

Charts

Against every current text model

Where Gemma 4 31B and Qwen3.8-27B land among the current models of their task, on every independent benchmark, on price and on context.

Where each stands

On Arena Text, Gemma 4 31B ranks #31 and Qwen3.8-27B #33 of 57 current models. Each bar is the share of current models it beats: on score, price and context.

Gemma 4 31B and Qwen3.8-27B among the current text models, one row per benchmark, price and context window.

Independent benchmarks

Arena Text

Gemma 4 31B:#31of 57

1,443 Elo · ahead of 46%

Published rating range 1,435 to 1,450

Qwen3.8-27B:#33of 57

1,438 Elo · ahead of 43%

Published rating range 1,433 to 1,442

Arena WebDev

Gemma 4 31B:#50of 53

1,371 Elo · ahead of 6%

Published rating range 1,365 to 1,377

Qwen3.8-27B:#32of 53

1,590 Elo · ahead of 40%

Published rating range 1,584 to 1,596

Epoch Capabilities Index

Gemma 4 31B:#42of 46

144.1 · ahead of 9%

90% credible interval 141.7 to 146.6

Qwen3.8-27B: Not scored

GPQA Diamond

Gemma 4 31B:#40of 44

75.8% · ahead of 9%

Qwen3.8-27B: Not scored

SimpleQA Verified

Gemma 4 31B:#39of 40

10.4% · ahead of 3%

Qwen3.8-27B: Not scored

Price and context

Context window

Gemma 4 31B:#69of 80

262K tokens · longer than 10%

Qwen3.8-27B:#69of 80

262K tokens · longer than 10%

Verdict

When to choose each

Gemma 4 31B

Where it leads

No measured lead over Qwen3.8-27B in this data.

Best for

  • Self-hosted chat and reasoning on one GPU
  • Fine-tuning an Apache 2.0 dense base

Watch out for

  • Self-hosted only here: no first-party per-token price is recorded
  • No audio input (the smaller Gemma 4 models have it), and the context is 256K tokens
  • Epoch AI ran it only at minimal reasoning: 75.8% on GPQA Diamond, against Google's 84.3%, and 10.4% on SimpleQA Verified; Arena places it well below Qwen3.8-27B on WebDev (1371 against 1590)

Qwen3.8-27B

Where it leads

  • Higher Arena WebDev score, 1590 Elo vs 1371 Elo
  • Accepts video input

Best for

  • Self-hosted coding and agent work on one GPU
  • Fine-tuning an Apache 2.0 multimodal base

Watch out for

  • Self-hosted only here: Alibaba says a hosted version with a 1M-token context is coming, and no first-party per-token price is recorded
  • Thinking mode is on by default, and Alibaba recommends allowing up to 262,144 tokens of reasoning on agentic tasks
  • In Thinking Machines' table Inkling 2 Mini scores higher on DeepSWE v1.1 (48.2% against 42.2%) and SWE-bench Pro v2 Hard (77.9% against 73.8%)

From benchmark to production

Building on Gemma 4 31B or Qwen3.8-27B?

Public scores rarely hold on your own data. We test both models on your real tasks, then build the agent or pipeline around the one that wins.

AI Model Cost AuditLaunch price $100, regular price $150

FAQ

Gemma 4 31B vs Qwen3.8-27B FAQ

Which scores higher on independent benchmarks, Gemma 4 31B or Qwen3.8-27B?

Gemma 4 31B and Qwen3.8-27B are level on Arena Text, 1443 Elo and 1438 Elo, inside overlapping published rating ranges (1435 to 1450 and 1433 to 1442); Qwen3.8-27B leads on Arena WebDev, 1590 Elo to 1371 Elo. Scores are independent evaluations, not either vendor's launch figures.

How do Gemma 4 31B and Qwen3.8-27B compare in Thinking Machines Lab's own results?

In the Inkling 2 Mini model card (November 20, 2026), Qwen3.8-27B leads on DeepSWE v1.1 (mini-swe-agent), 42.2% to 0.3%; Qwen3.8-27B leads on Terminal-Bench 2.1 (pi harness), 73.0% to 43.4%; Qwen3.8-27B leads on SWE-bench Pro v2 (Hard, mini-swe-agent), 73.8% to 14.2%. These are Thinking Machines Lab's figures, not independent measurements.

Which has the larger context window, Gemma 4 31B or Qwen3.8-27B?

Both accept 262,144 tokens of context.

How do Gemma 4 31B and Qwen3.8-27B differ in features?

Gemma 4 31B takes text and image input; Qwen3.8-27B takes text, image and video.

AI Model Brief

The AI models worth knowing, once a week

What shipped, how it scores on independent benchmarks, what it costs per million tokens and what was deprecated, from the data behind our AI model benchmarks.

One email a week. We send a confirmation link first, and every issue has a one-click unsubscribe.

We use your address only to send the brief. See our privacy policy.

See this week’s brief

Production evaluation

Choosing between Gemma 4 31B and Qwen3.8-27B?

Public benchmarks narrow the shortlist. We run both on your own tasks, data and cost limits, then build the routing and review controls to run the winner in production.

  • A head-to-head evaluation on your real workload
  • Routing between models by cost and difficulty