ModelVerdict

Comparison

Gemma 4 31B vs Qwen3.8 Flash

Same documents, same prompt: where each model gets it right, what it really costs, and how fast it responds.

Verdict

Gemma 4 31B is more accurate and cheaper in 30 of 30 combinations.

More accurate

Gemma 4 31B

wins 23 of 30

Cheaper

Gemma 4 31B

cheaper in 30 of 30

Faster

Gemma 4 31B

2.9 sec vs 14.1 sec

Fewer fixes

Gemma 4 31B

27 vs 67 documents per 1,000

Across 30 task and document-language combinations (speed and fixes: median).

At a glance

English (US)
Accuracy (correct fields)Per 1,000 documents
Task · documentsGemma 4 31BQwen3.8 FlashDifferenceGemma 4 31BQwen3.8 FlashDifference
Invoice extraction97.64%82.36%▼ 15.28$0.17$1.15+589 %
Email triage96.52%97.48%▲ 0.96$0.12$0.30+152 %
Personal data detection99.90%99.24%▼ 0.66$0.08$0.28+230 %
Contract clauses99.64%95.13%▼ 4.51$0.18$0.62+244 %
Document summaries100.00%99.89%▼ 0.11$0.13$0.75+484 %
Questions about a document100.00%99.78%▼ 0.22$0.15$0.44+184 %
Czech
Accuracy (correct fields)Per 1,000 documents
Task · documentsGemma 4 31BQwen3.8 FlashDifferenceGemma 4 31BQwen3.8 FlashDifference
Invoice extraction96.10%91.79%▼ 4.31$0.21$1.02+381 %
Email triage97.11%98.52%▲ 1.41$0.16$0.45+180 %
Personal data detection99.81%96.95%▼ 2.86$0.12$0.41+242 %
Contract clauses99.95%99.90%▼ 0.05$0.25$0.63+148 %
Document summaries100.00%95.44%▼ 4.56$0.19$1.48+682 %
Questions about a document100.00%94.22%▼ 5.78$0.21$0.71+237 %
German
Accuracy (correct fields)Per 1,000 documents
Task · documentsGemma 4 31BQwen3.8 FlashDifferenceGemma 4 31BQwen3.8 FlashDifference
Invoice extraction94.87%93.49%▼ 1.38$0.20$1.12+462 %
Email triage95.11%97.85%▲ 2.74$0.15$0.39+164 %
Personal data detection99.90%99.62%▼ 0.28$0.10$0.36+252 %
Contract clauses94.41%98.00%▲ 3.59$0.22$0.78+254 %
Document summaries100.00%95.33%▼ 4.67$0.16$1.43+777 %
Questions about a document100.00%98.89%▼ 1.11$0.18$0.46+153 %
Spanish
Accuracy (correct fields)Per 1,000 documents
Task · documentsGemma 4 31BQwen3.8 FlashDifferenceGemma 4 31BQwen3.8 FlashDifference
Invoice extraction94.62%88.87%▼ 5.75$0.20$1.38+584 %
Email triage97.11%96.74%▼ 0.37$0.15$0.46+217 %
Personal data detection99.90%99.81%▼ 0.09$0.10$0.38+266 %
Contract clauses94.41%100.00%▲ 5.59$0.24$0.60+151 %
Document summaries99.67%94.44%▼ 5.23$0.16$1.22+677 %
Questions about a document100.00%99.67%▼ 0.33$0.18$0.53+189 %
French
Accuracy (correct fields)Per 1,000 documents
Task · documentsGemma 4 31BQwen3.8 FlashDifferenceGemma 4 31BQwen3.8 FlashDifference
Invoice extraction93.54%90.46%▼ 3.08$0.22$1.28+480 %
Email triage96.22%96.44%▲ 0.22$0.16$0.45+184 %
Personal data detection99.81%99.71%▼ 0.1$0.12$0.40+230 %
Contract clauses94.62%99.49%▲ 4.87$0.26$0.66+158 %
Document summaries99.11%96.33%▼ 2.78$0.16$1.46+788 %
Questions about a document100.00%98.78%▼ 1.22$0.19$0.57+196 %

Difference: Qwen3.8 Flash vs. Gemma 4 31B; accuracy in percentage points, price in percent. The better value is in bold. Click a task to see the details.

Invoice extraction · English (US) (150 documents)

Gemma 4 31B is more accurate by 15.3 pp. Gemma 4 31B is 6.9× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields97.64%82.36%
Error-free documents81.33%57.33%
Per 1,000 documents$0.17$1.15
To fix / 1,000187427
Speed (median)8.9 sec17.4 sec
Valid answers100.00%90.67%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Invoice extraction · Czech (150 documents)

Gemma 4 31B is more accurate by 4.3 pp. Gemma 4 31B is 4.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields96.10%91.79%
Error-free documents66.67%76.67%
Per 1,000 documents$0.21$1.02
To fix / 1,000333233
Speed (median)10.4 sec17.0 sec
Valid answers100.00%96.67%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Invoice extraction · German (150 documents)

Gemma 4 31B is more accurate by 1.4 pp. Gemma 4 31B is 5.6× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields94.87%93.49%
Error-free documents64.00%87.33%
Per 1,000 documents$0.20$1.12
To fix / 1,000360127
Speed (median)7.7 sec19.0 sec
Valid answers100.00%94.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Invoice extraction · Spanish (150 documents)

Gemma 4 31B is more accurate by 5.8 pp. Gemma 4 31B is 6.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields94.62%88.87%
Error-free documents50.67%74.67%
Per 1,000 documents$0.20$1.38
To fix / 1,000493253
Speed (median)7.4 sec22.0 sec
Valid answers100.00%90.67%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Invoice extraction · French (150 documents)

Gemma 4 31B is more accurate by 3.1 pp. Gemma 4 31B is 5.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields93.54%90.46%
Error-free documents50.67%83.33%
Per 1,000 documents$0.22$1.28
To fix / 1,000493167
Speed (median)6.5 sec19.4 sec
Valid answers100.00%94.67%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Email triage · English (US) (150 documents)

Qwen3.8 Flash is more accurate by 1 pp. Gemma 4 31B is 2.5× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields96.52%97.48%
Error-free documents72.00%78.67%
Per 1,000 documents$0.12$0.30
To fix / 1,000280213
Speed (median)2.2 sec8.9 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Email triage · Czech (150 documents)

Qwen3.8 Flash is more accurate by 1.4 pp. Gemma 4 31B is 2.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields97.11%98.52%
Error-free documents74.67%86.67%
Per 1,000 documents$0.16$0.45
To fix / 1,000253133
Speed (median)2.5 sec13.0 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Email triage · German (150 documents)

Qwen3.8 Flash is more accurate by 2.7 pp. Gemma 4 31B is 2.6× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields95.11%97.85%
Error-free documents62.00%81.33%
Per 1,000 documents$0.15$0.39
To fix / 1,000380187
Speed (median)3.6 sec12.1 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Email triage · Spanish (150 documents)

Gemma 4 31B is more accurate by 0.4 pp. Gemma 4 31B is 3.2× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields97.11%96.74%
Error-free documents74.00%72.00%
Per 1,000 documents$0.15$0.46
To fix / 1,000260280
Speed (median)2.2 sec11.2 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Email triage · French (150 documents)

Qwen3.8 Flash is more accurate by 0.2 pp. Gemma 4 31B is 2.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields96.22%96.44%
Error-free documents68.67%76.00%
Per 1,000 documents$0.16$0.45
To fix / 1,000313240
Speed (median)2.4 sec13.2 sec
Valid answers100.00%99.33%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Personal data detection · English (US) (150 documents)

Gemma 4 31B is more accurate by 0.7 pp. Gemma 4 31B is 3.3× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.90%99.24%
Error-free documents99.33%98.67%
Per 1,000 documents$0.08$0.28
To fix / 1,000713
Speed (median)2.4 sec7.5 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Personal data detection · Czech (150 documents)

Gemma 4 31B is more accurate by 2.9 pp. Gemma 4 31B is 3.4× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.81%96.95%
Error-free documents98.67%88.67%
Per 1,000 documents$0.12$0.41
To fix / 1,00013113
Speed (median)2.9 sec9.6 sec
Valid answers100.00%99.33%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Personal data detection · German (150 documents)

Gemma 4 31B is more accurate by 0.3 pp. Gemma 4 31B is 3.5× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.90%99.62%
Error-free documents99.33%99.33%
Per 1,000 documents$0.10$0.36
To fix / 1,00077
Speed (median)1.9 sec12.2 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Personal data detection · Spanish (150 documents)

Gemma 4 31B is more accurate by 0.1 pp. Gemma 4 31B is 3.7× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.90%99.81%
Error-free documents99.33%98.67%
Per 1,000 documents$0.10$0.38
To fix / 1,000713
Speed (median)3.6 sec10.2 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Personal data detection · French (150 documents)

Gemma 4 31B is more accurate by 0.1 pp. Gemma 4 31B is 3.3× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.81%99.71%
Error-free documents98.67%98.00%
Per 1,000 documents$0.12$0.40
To fix / 1,0001320
Speed (median)4.3 sec10.9 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Contract clauses · English (US) (150 documents)

Gemma 4 31B is more accurate by 4.5 pp. Gemma 4 31B is 3.4× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.64%95.13%
Error-free documents97.33%69.33%
Per 1,000 documents$0.18$0.62
To fix / 1,00027307
Speed (median)2.5 sec14.1 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Contract clauses · Czech (150 documents)

Gemma 4 31B is more accurate by 0.1 pp. Gemma 4 31B is 2.5× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.95%99.90%
Error-free documents99.33%98.67%
Per 1,000 documents$0.25$0.63
To fix / 1,000713
Speed (median)6.0 sec13.6 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Contract clauses · German (150 documents)

Qwen3.8 Flash is more accurate by 3.6 pp. Gemma 4 31B is 3.5× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields94.41%98.00%
Error-free documents27.33%87.33%
Per 1,000 documents$0.22$0.78
To fix / 1,000727127
Speed (median)2.6 sec19.7 sec
Valid answers100.00%99.33%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Contract clauses · Spanish (150 documents)

Qwen3.8 Flash is more accurate by 5.6 pp. Gemma 4 31B is 2.5× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields94.41%100.00%
Error-free documents27.33%100.00%
Per 1,000 documents$0.24$0.60
To fix / 1,0007270
Speed (median)5.0 sec14.2 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Contract clauses · French (150 documents)

Qwen3.8 Flash is more accurate by 4.9 pp. Gemma 4 31B is 2.6× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields94.62%99.49%
Error-free documents30.67%93.33%
Per 1,000 documents$0.26$0.66
To fix / 1,00069367
Speed (median)5.3 sec16.2 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Document summaries · English (US) (150 documents)

Gemma 4 31B is more accurate by 0.1 pp. Gemma 4 31B is 5.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%99.89%
Error-free documents100.00%99.33%
Per 1,000 documents$0.13$0.75
To fix / 1,00007
Speed (median)2.2 sec17.8 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Document summaries · Czech (150 documents)

Gemma 4 31B is more accurate by 4.6 pp. Gemma 4 31B is 7.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%95.44%
Error-free documents100.00%93.33%
Per 1,000 documents$0.19$1.48
To fix / 1,000067
Speed (median)3.4 sec34.2 sec
Valid answers100.00%96.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Document summaries · German (150 documents)

Gemma 4 31B is more accurate by 4.7 pp. Gemma 4 31B is 8.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%95.33%
Error-free documents100.00%95.33%
Per 1,000 documents$0.16$1.43
To fix / 1,000047
Speed (median)2.9 sec29.5 sec
Valid answers100.00%95.33%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Document summaries · Spanish (150 documents)

Gemma 4 31B is more accurate by 5.2 pp. Gemma 4 31B is 7.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.67%94.44%
Error-free documents98.00%93.33%
Per 1,000 documents$0.16$1.22
To fix / 1,0002067
Speed (median)2.6 sec23.9 sec
Valid answers100.00%94.67%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Document summaries · French (150 documents)

Gemma 4 31B is more accurate by 2.8 pp. Gemma 4 31B is 8.9× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields99.11%96.33%
Error-free documents94.67%94.67%
Per 1,000 documents$0.16$1.46
To fix / 1,0005353
Speed (median)3.2 sec28.1 sec
Valid answers100.00%96.67%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Questions about a document · English (US) (150 documents)

Gemma 4 31B is more accurate by 0.2 pp. Gemma 4 31B is 2.8× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%99.78%
Error-free documents100.00%98.67%
Per 1,000 documents$0.15$0.44
To fix / 1,000013
Speed (median)2.1 sec8.7 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Questions about a document · Czech (150 documents)

Gemma 4 31B is more accurate by 5.8 pp. Gemma 4 31B is 3.4× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%94.22%
Error-free documents100.00%84.67%
Per 1,000 documents$0.21$0.71
To fix / 1,0000153
Speed (median)1.9 sec14.3 sec
Valid answers100.00%98.67%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Questions about a document · German (150 documents)

Gemma 4 31B is more accurate by 1.1 pp. Gemma 4 31B is 2.5× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%98.89%
Error-free documents100.00%96.67%
Per 1,000 documents$0.18$0.46
To fix / 1,000033
Speed (median)2.1 sec8.6 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Questions about a document · Spanish (150 documents)

Gemma 4 31B is more accurate by 0.3 pp. Gemma 4 31B is 2.9× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%99.67%
Error-free documents100.00%98.67%
Per 1,000 documents$0.18$0.53
To fix / 1,000013
Speed (median)1.9 sec10.3 sec
Valid answers100.00%100.00%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Questions about a document · French (150 documents)

Gemma 4 31B is more accurate by 1.2 pp. Gemma 4 31B is 3× cheaper.

MetricGemma 4 31BQwen3.8 Flash
Correct fields100.00%98.78%
Error-free documents100.00%97.33%
Per 1,000 documents$0.19$0.57
To fix / 1,000027
Speed (median)2.1 sec10.4 sec
Valid answers100.00%99.33%

Free with login

Accuracy field by field and the documents where the models differ.

Just your email, no password.

Log in with email

We use your email only to log you in (and for the digest if you tick it). No spam.