Claude Haiku 5.5 vs Gemma 4 31B
Same documents, same prompt: where each model gets it right, what it really costs, and how fast it responds.
Verdict
Claude Haiku 5.5 is more accurate; Gemma 4 31B is cheaper in 30 of 30 combinations.
More accurate
Claude Haiku 5.5
wins 15 of 30
Cheaper
Gemma 4 31B
cheaper in 30 of 30
Faster
Claude Haiku 5.5
2.1 sec vs 2.9 sec
Fewer fixes
Gemma 4 31B
27 vs 33 documents per 1,000
Across 30 task and document-language combinations (speed and fixes: median).
At a glance
| Accuracy (correct fields) | Per 1,000 documents | |||||
|---|---|---|---|---|---|---|
| Task · documents | Claude Haiku 5.5 | Gemma 4 31B | Difference | Claude Haiku 5.5 | Gemma 4 31B | Difference |
| Invoice extraction | 100.00% | 97.64% | ▼ 2.36 | $0.61 | $0.17 | −72 % |
| Email triage | 98.15% | 96.52% | ▼ 1.63 | $0.23 | $0.12 | −48 % |
| Personal data detection | 99.81% | 99.90% | ▲ 0.09 | $0.19 | $0.08 | −55 % |
| Contract clauses | 99.69% | 99.64% | ▼ 0.05 | $0.35 | $0.18 | −49 % |
| Document summaries | 98.33% | 100.00% | ▲ 1.67 | $0.34 | $0.13 | −62 % |
| Questions about a document | 100.00% | 100.00% | ±0 | $0.23 | $0.15 | −33 % |
| Accuracy (correct fields) | Per 1,000 documents | |||||
|---|---|---|---|---|---|---|
| Task · documents | Claude Haiku 5.5 | Gemma 4 31B | Difference | Claude Haiku 5.5 | Gemma 4 31B | Difference |
| Invoice extraction | 99.90% | 96.10% | ▼ 3.8 | $0.62 | $0.21 | −66 % |
| Email triage | 97.63% | 97.11% | ▼ 0.52 | $0.29 | $0.16 | −45 % |
| Personal data detection | 99.43% | 99.81% | ▲ 0.38 | $0.21 | $0.12 | −43 % |
| Contract clauses | 100.00% | 99.95% | ▼ 0.05 | $0.40 | $0.25 | −36 % |
| Document summaries | 95.89% | 100.00% | ▲ 4.11 | $0.32 | $0.19 | −42 % |
| Questions about a document | 99.78% | 100.00% | ▲ 0.22 | $0.30 | $0.21 | −30 % |
| Accuracy (correct fields) | Per 1,000 documents | |||||
|---|---|---|---|---|---|---|
| Task · documents | Claude Haiku 5.5 | Gemma 4 31B | Difference | Claude Haiku 5.5 | Gemma 4 31B | Difference |
| Invoice extraction | 99.85% | 94.87% | ▼ 4.98 | $0.71 | $0.20 | −72 % |
| Email triage | 97.11% | 95.11% | ▼ 2 | $0.32 | $0.15 | −54 % |
| Personal data detection | 99.62% | 99.90% | ▲ 0.28 | $0.23 | $0.10 | −56 % |
| Contract clauses | 100.00% | 94.41% | ▼ 5.59 | $0.48 | $0.22 | −55 % |
| Document summaries | 99.44% | 100.00% | ▲ 0.56 | $0.46 | $0.16 | −65 % |
| Questions about a document | 100.00% | 100.00% | ±0 | $0.32 | $0.18 | −44 % |
| Accuracy (correct fields) | Per 1,000 documents | |||||
|---|---|---|---|---|---|---|
| Task · documents | Claude Haiku 5.5 | Gemma 4 31B | Difference | Claude Haiku 5.5 | Gemma 4 31B | Difference |
| Invoice extraction | 99.44% | 94.62% | ▼ 4.82 | $0.73 | $0.20 | −72 % |
| Email triage | 97.70% | 97.11% | ▼ 0.59 | $0.30 | $0.15 | −52 % |
| Personal data detection | 100.00% | 99.90% | ▼ 0.1 | $0.23 | $0.10 | −55 % |
| Contract clauses | 99.95% | 94.41% | ▼ 5.54 | $0.42 | $0.24 | −44 % |
| Document summaries | 94.11% | 99.67% | ▲ 5.56 | $0.61 | $0.16 | −74 % |
| Questions about a document | 100.00% | 100.00% | ±0 | $0.29 | $0.18 | −37 % |
| Accuracy (correct fields) | Per 1,000 documents | |||||
|---|---|---|---|---|---|---|
| Task · documents | Claude Haiku 5.5 | Gemma 4 31B | Difference | Claude Haiku 5.5 | Gemma 4 31B | Difference |
| Invoice extraction | 99.85% | 93.54% | ▼ 6.31 | $0.77 | $0.22 | −71 % |
| Email triage | 97.41% | 96.22% | ▼ 1.19 | $0.31 | $0.16 | −49 % |
| Personal data detection | 99.33% | 99.81% | ▲ 0.48 | $0.23 | $0.12 | −48 % |
| Contract clauses | 99.38% | 94.62% | ▼ 4.76 | $0.45 | $0.26 | −44 % |
| Document summaries | 92.78% | 99.11% | ▲ 6.33 | $0.66 | $0.16 | −75 % |
| Questions about a document | 99.22% | 100.00% | ▲ 0.78 | $0.28 | $0.19 | −32 % |
Difference: Gemma 4 31B vs. Claude Haiku 5.5; 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)
Claude Haiku 5.5 is more accurate by 2.4 pp. Gemma 4 31B is 3.6× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 100.00% | 97.64% |
| Error-free documents | 100.00% | 81.33% |
| Per 1,000 documents | $0.61 | $0.17 |
| To fix / 1,000 | 0 | 187 |
| Speed (median) | 3.4 sec | 8.9 sec |
| Valid answers | 100.00% | 100.00% |
Free with login
Accuracy field by field and the documents where the models differ.
Just your email, no password.
Invoice extraction · Czech (150 documents)
Claude Haiku 5.5 is more accurate by 3.8 pp. Gemma 4 31B is 2.9× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.90% | 96.10% |
| Error-free documents | 98.67% | 66.67% |
| Per 1,000 documents | $0.62 | $0.21 |
| To fix / 1,000 | 13 | 333 |
| Speed (median) | 3.4 sec | 10.4 sec |
| Valid answers | 100.00% | 100.00% |
Free with login
Accuracy field by field and the documents where the models differ.
Just your email, no password.
Invoice extraction · German (150 documents)
Claude Haiku 5.5 is more accurate by 5 pp. Gemma 4 31B is 3.6× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.85% | 94.87% |
| Error-free documents | 98.00% | 64.00% |
| Per 1,000 documents | $0.71 | $0.20 |
| To fix / 1,000 | 20 | 360 |
| Speed (median) | 3.9 sec | 7.7 sec |
| Valid answers | 100.00% | 100.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)
Claude Haiku 5.5 is more accurate by 4.8 pp. Gemma 4 31B is 3.6× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.44% | 94.62% |
| Error-free documents | 92.67% | 50.67% |
| Per 1,000 documents | $0.73 | $0.20 |
| To fix / 1,000 | 73 | 493 |
| Speed (median) | 4.4 sec | 7.4 sec |
| Valid answers | 100.00% | 100.00% |
Free with login
Accuracy field by field and the documents where the models differ.
Just your email, no password.
Invoice extraction · French (150 documents)
Claude Haiku 5.5 is more accurate by 6.3 pp. Gemma 4 31B is 3.5× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.85% | 93.54% |
| Error-free documents | 98.00% | 50.67% |
| Per 1,000 documents | $0.77 | $0.22 |
| To fix / 1,000 | 20 | 493 |
| Speed (median) | 4.6 sec | 6.5 sec |
| Valid answers | 100.00% | 100.00% |
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)
Claude Haiku 5.5 is more accurate by 1.6 pp. Gemma 4 31B is 1.9× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 98.15% | 96.52% |
| Error-free documents | 84.00% | 72.00% |
| Per 1,000 documents | $0.23 | $0.12 |
| To fix / 1,000 | 160 | 280 |
| Speed (median) | 1.7 sec | 2.2 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 0.5 pp. Gemma 4 31B is 1.8× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 97.63% | 97.11% |
| Error-free documents | 80.00% | 74.67% |
| Per 1,000 documents | $0.29 | $0.16 |
| To fix / 1,000 | 200 | 253 |
| Speed (median) | 1.9 sec | 2.5 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 2 pp. Gemma 4 31B is 2.2× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 97.11% | 95.11% |
| Error-free documents | 74.67% | 62.00% |
| Per 1,000 documents | $0.32 | $0.15 |
| To fix / 1,000 | 253 | 380 |
| Speed (median) | 2.1 sec | 3.6 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 0.6 pp. Gemma 4 31B is 2.1× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 97.70% | 97.11% |
| Error-free documents | 80.00% | 74.00% |
| Per 1,000 documents | $0.30 | $0.15 |
| To fix / 1,000 | 200 | 260 |
| Speed (median) | 2.1 sec | 2.2 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 1.2 pp. Gemma 4 31B is 2× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 97.41% | 96.22% |
| Error-free documents | 76.67% | 68.67% |
| Per 1,000 documents | $0.31 | $0.16 |
| To fix / 1,000 | 233 | 313 |
| Speed (median) | 2.2 sec | 2.4 sec |
| Valid answers | 100.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 · English (US) (150 documents)
Gemma 4 31B is more accurate by 0.1 pp. Gemma 4 31B is 2.2× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.81% | 99.90% |
| Error-free documents | 98.67% | 99.33% |
| Per 1,000 documents | $0.19 | $0.08 |
| To fix / 1,000 | 13 | 7 |
| Speed (median) | 1.7 sec | 2.4 sec |
| Valid answers | 100.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 0.4 pp. Gemma 4 31B is 1.8× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.43% | 99.81% |
| Error-free documents | 96.00% | 98.67% |
| Per 1,000 documents | $0.21 | $0.12 |
| To fix / 1,000 | 40 | 13 |
| Speed (median) | 1.8 sec | 2.9 sec |
| Valid answers | 100.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 · German (150 documents)
Gemma 4 31B is more accurate by 0.3 pp. Gemma 4 31B is 2.3× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.62% | 99.90% |
| Error-free documents | 97.33% | 99.33% |
| Per 1,000 documents | $0.23 | $0.10 |
| To fix / 1,000 | 27 | 7 |
| Speed (median) | 1.8 sec | 1.9 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 0.1 pp. Gemma 4 31B is 2.2× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 100.00% | 99.90% |
| Error-free documents | 100.00% | 99.33% |
| Per 1,000 documents | $0.23 | $0.10 |
| To fix / 1,000 | 0 | 7 |
| Speed (median) | 1.9 sec | 3.6 sec |
| Valid answers | 100.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.5 pp. Gemma 4 31B is 1.9× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.33% | 99.81% |
| Error-free documents | 95.33% | 98.67% |
| Per 1,000 documents | $0.23 | $0.12 |
| To fix / 1,000 | 47 | 13 |
| Speed (median) | 1.8 sec | 4.3 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 0.1 pp. Gemma 4 31B is 2× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.69% | 99.64% |
| Error-free documents | 97.33% | 97.33% |
| Per 1,000 documents | $0.35 | $0.18 |
| To fix / 1,000 | 27 | 27 |
| Speed (median) | 2.1 sec | 2.5 sec |
| Valid answers | 100.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)
Both are equally accurate. Gemma 4 31B is 1.6× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 100.00% | 99.95% |
| Error-free documents | 100.00% | 99.33% |
| Per 1,000 documents | $0.40 | $0.25 |
| To fix / 1,000 | 0 | 7 |
| Speed (median) | 2.4 sec | 6.0 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 5.6 pp. Gemma 4 31B is 2.2× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 100.00% | 94.41% |
| Error-free documents | 100.00% | 27.33% |
| Per 1,000 documents | $0.48 | $0.22 |
| To fix / 1,000 | 0 | 727 |
| Speed (median) | 2.7 sec | 2.6 sec |
| Valid answers | 100.00% | 100.00% |
Free with login
Accuracy field by field and the documents where the models differ.
Just your email, no password.
Contract clauses · Spanish (150 documents)
Claude Haiku 5.5 is more accurate by 5.5 pp. Gemma 4 31B is 1.8× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.95% | 94.41% |
| Error-free documents | 99.33% | 27.33% |
| Per 1,000 documents | $0.42 | $0.24 |
| To fix / 1,000 | 7 | 727 |
| Speed (median) | 2.3 sec | 5.0 sec |
| Valid answers | 100.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)
Claude Haiku 5.5 is more accurate by 4.8 pp. Gemma 4 31B is 1.8× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.38% | 94.62% |
| Error-free documents | 92.00% | 30.67% |
| Per 1,000 documents | $0.45 | $0.26 |
| To fix / 1,000 | 80 | 693 |
| Speed (median) | 2.6 sec | 5.3 sec |
| Valid answers | 100.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 1.7 pp. Gemma 4 31B is 2.7× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 98.33% | 100.00% |
| Error-free documents | 90.00% | 100.00% |
| Per 1,000 documents | $0.34 | $0.13 |
| To fix / 1,000 | 100 | 0 |
| Speed (median) | 2.7 sec | 2.2 sec |
| Valid answers | 100.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.1 pp. Gemma 4 31B is 1.7× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 95.89% | 100.00% |
| Error-free documents | 77.33% | 100.00% |
| Per 1,000 documents | $0.32 | $0.19 |
| To fix / 1,000 | 227 | 0 |
| Speed (median) | 2.1 sec | 3.4 sec |
| Valid answers | 100.00% | 100.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 0.6 pp. Gemma 4 31B is 2.8× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.44% | 100.00% |
| Error-free documents | 96.67% | 100.00% |
| Per 1,000 documents | $0.46 | $0.16 |
| To fix / 1,000 | 33 | 0 |
| Speed (median) | 3.5 sec | 2.9 sec |
| Valid answers | 100.00% | 100.00% |
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.6 pp. Gemma 4 31B is 3.9× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 94.11% | 99.67% |
| Error-free documents | 64.67% | 98.00% |
| Per 1,000 documents | $0.61 | $0.16 |
| To fix / 1,000 | 353 | 20 |
| Speed (median) | 3.8 sec | 2.6 sec |
| Valid answers | 100.00% | 100.00% |
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 6.3 pp. Gemma 4 31B is 4× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 92.78% | 99.11% |
| Error-free documents | 56.67% | 94.67% |
| Per 1,000 documents | $0.66 | $0.16 |
| To fix / 1,000 | 433 | 53 |
| Speed (median) | 4.0 sec | 3.2 sec |
| Valid answers | 100.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 · English (US) (150 documents)
Both are equally accurate. Gemma 4 31B is 1.5× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 100.00% | 100.00% |
| Error-free documents | 100.00% | 100.00% |
| Per 1,000 documents | $0.23 | $0.15 |
| To fix / 1,000 | 0 | 0 |
| Speed (median) | 1.8 sec | 2.1 sec |
| Valid answers | 100.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 0.2 pp. Gemma 4 31B is 1.4× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.78% | 100.00% |
| Error-free documents | 98.67% | 100.00% |
| Per 1,000 documents | $0.30 | $0.21 |
| To fix / 1,000 | 13 | 0 |
| Speed (median) | 1.9 sec | 1.9 sec |
| Valid answers | 100.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 · German (150 documents)
Both are equally accurate. Gemma 4 31B is 1.8× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 100.00% | 100.00% |
| Error-free documents | 100.00% | 100.00% |
| Per 1,000 documents | $0.32 | $0.18 |
| To fix / 1,000 | 0 | 0 |
| Speed (median) | 1.9 sec | 2.1 sec |
| Valid answers | 100.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)
Both are equally accurate. Gemma 4 31B is 1.6× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 100.00% | 100.00% |
| Error-free documents | 100.00% | 100.00% |
| Per 1,000 documents | $0.29 | $0.18 |
| To fix / 1,000 | 0 | 0 |
| Speed (median) | 1.8 sec | 1.9 sec |
| Valid answers | 100.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 0.8 pp. Gemma 4 31B is 1.5× cheaper.
| Metric | Claude Haiku 5.5 | Gemma 4 31B |
|---|---|---|
| Correct fields | 99.22% | 100.00% |
| Error-free documents | 96.67% | 100.00% |
| Per 1,000 documents | $0.28 | $0.19 |
| To fix / 1,000 | 33 | 0 |
| Speed (median) | 1.8 sec | 2.1 sec |
| Valid answers | 100.00% | 100.00% |
Free with login
Accuracy field by field and the documents where the models differ.
Just your email, no password.