ModelVerdict

Comparison

Gemma 4 31B vs GPT-6 Luna

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

At a glance

Task · documentsEnglish (US)CzechGermanSpanishFrench
Invoice extraction97.6% / 99.7%96.1% / 99.3%94.9% / 99.2%95.4% / 99.1%93.6% / 98.9%
Email triage96.5% / 97.5%97.1% / 97.9%95.1% / 97.0%——
Personal data detection99.9% / 99.6%99.8% / 99.6%99.9% / 99.6%——
Contract clauses99.6% / 99.8%100.0% / 100.0%94.4% / 100.0%——

Correct fields: Gemma 4 31B / GPT-6 Luna; the better one in bold. Click a cell to see the details.

Invoice extraction · English (US) (150 documents)

GPT-6 Luna is more accurate by 2.1 pp. Gemma 4 31B is 3× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields97.6%99.7%
Error-free documents81%97%
Per 1,000 documents$0.17$0.51
To fix / 1,00018733
Speed (median)8.9 sec3.4 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Supplier99.3%100.0%
Supplier ID (EIN, IČO…)98.0%100.0%
Invoice number100.0%99.3%
Payment reference99.3%98.0%
Invoice date98.7%100.0%
Due date98.7%100.0%
Net by tax rate95.3%100.0%
Tax by rate98.7%100.0%
Total100.0%100.0%
Currency100.0%100.0%
Bank account86.0%99.3%

Documents where they differ

Invoice extraction · Czech (150 documents)

GPT-6 Luna is more accurate by 3.2 pp. Gemma 4 31B is 2.4× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields96.1%99.3%
Error-free documents67%93%
Per 1,000 documents$0.21$0.51
To fix / 1,00033367
Speed (median)10.4 sec3.2 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Supplier96.7%95.3%
Supplier ID (EIN, IČO…)93.3%98.7%
VAT ID96.7%98.0%
Invoice number100.0%100.0%
Payment reference96.0%100.0%
Invoice date96.0%100.0%
Tax point95.3%100.0%
Due date94.0%99.3%
Net by tax rate98.0%100.0%
Tax by rate97.3%100.0%
Total99.3%100.0%
Currency100.0%100.0%
Bank account86.7%99.3%

Documents where they differ

Invoice extraction · German (150 documents)

GPT-6 Luna is more accurate by 4.4 pp. Gemma 4 31B is 2.7× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields94.9%99.2%
Error-free documents64%91%
Per 1,000 documents$0.20$0.54
To fix / 1,00036087
Speed (median)7.7 sec3.7 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Supplier98.7%100.0%
Supplier ID (EIN, IČO…)99.3%98.7%
VAT ID94.0%99.3%
Invoice number99.3%99.3%
Payment reference98.7%100.0%
Invoice date87.3%98.7%
Tax point92.0%100.0%
Due date90.7%100.0%
Net by tax rate94.7%100.0%
Tax by rate97.3%100.0%
Total99.3%100.0%
Currency99.3%100.0%
Bank account82.7%94.0%

Documents where they differ

Invoice extraction · Spanish (87 documents)

GPT-6 Luna is more accurate by 3.7 pp. Gemma 4 31B is 2.7× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields95.4%99.1%
Error-free documents54%88%
Per 1,000 documents$0.20$0.55
To fix / 1,000460120
Speed (median)8.7 sec3.9 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Supplier95.4%99.0%
Supplier ID (EIN, IČO…)93.1%100.0%
VAT ID98.9%100.0%
Invoice number100.0%100.0%
Payment reference95.4%98.0%
Invoice date98.9%100.0%
Tax point100.0%100.0%
Due date97.7%100.0%
Net by tax rate81.6%100.0%
Tax by rate100.0%100.0%
Total100.0%100.0%
Currency100.0%100.0%
Bank account79.3%91.0%

Documents where they differ

Invoice extraction · French (87 documents)

GPT-6 Luna is more accurate by 5.4 pp. Gemma 4 31B is 2.6× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields93.6%98.9%
Error-free documents51%86%
Per 1,000 documents$0.22$0.57
To fix / 1,000494143
Speed (median)7.2 sec3.8 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Supplier96.6%99.0%
Supplier ID (EIN, IČO…)77.0%99.0%
VAT ID95.4%98.0%
Invoice number97.7%99.0%
Payment reference96.6%100.0%
Invoice date96.6%100.0%
Tax point94.3%100.0%
Due date96.6%100.0%
Net by tax rate93.1%100.0%
Tax by rate100.0%100.0%
Total100.0%100.0%
Currency98.9%100.0%
Bank account73.6%90.8%

Documents where they differ

Email triage · English (US) (150 documents)

GPT-6 Luna is more accurate by 1 pp. Gemma 4 31B is 1.1× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields96.5%97.5%
Error-free documents72%77%
Per 1,000 documents$0.12$0.13
To fix / 1,000280227
Speed (median)2.2 sec2.5 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Category100.0%100.0%
Priority85.3%98.0%
Sentiment83.3%79.3%
Customer name100.0%100.0%
Order number100.0%100.0%
Invoice number100.0%100.0%
Amount100.0%100.0%
Currency100.0%100.0%
Deadline100.0%100.0%

Documents where they differ

Email triage · Czech (150 documents)

GPT-6 Luna is more accurate by 0.8 pp. Gemma 4 31B is 1.1× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields97.1%97.9%
Error-free documents75%81%
Per 1,000 documents$0.16$0.18
To fix / 1,000253187
Speed (median)2.5 sec2.6 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Category100.0%100.0%
Priority85.3%98.7%
Sentiment88.7%82.7%
Customer name100.0%100.0%
Order number100.0%100.0%
Invoice number100.0%100.0%
Amount100.0%100.0%
Currency100.0%100.0%
Deadline100.0%100.0%

Documents where they differ

Email triage · German (150 documents)

GPT-6 Luna is more accurate by 1.9 pp.

MetricGemma 4 31BGPT-6 Luna
Correct fields95.1%97.0%
Error-free documents62%73%
Per 1,000 documents$0.15$0.15
To fix / 1,000380273
Speed (median)3.6 sec2.8 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Category100.0%100.0%
Priority78.0%99.3%
Sentiment78.0%73.3%
Customer name100.0%100.0%
Order number100.0%100.0%
Invoice number100.0%100.0%
Amount100.0%100.0%
Currency100.0%100.0%
Deadline100.0%100.0%

Documents where they differ

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

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

MetricGemma 4 31BGPT-6 Luna
Correct fields99.9%99.6%
Error-free documents99%97%
Per 1,000 documents$0.08$0.11
To fix / 1,000727
Speed (median)2.4 sec1.8 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Names100.0%98.7%
Email addresses100.0%100.0%
Phone numbers100.0%100.0%
Addresses99.3%98.7%
Dates of birth100.0%100.0%
National IDs100.0%100.0%
Bank accounts100.0%100.0%

Documents where they differ

Personal data detection · Czech (150 documents)

Gemma 4 31B is more accurate by 0.2 pp.

MetricGemma 4 31BGPT-6 Luna
Correct fields99.8%99.6%
Error-free documents99%97%
Per 1,000 documents$0.12$0.12
To fix / 1,0001327
Speed (median)2.9 sec1.8 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Names100.0%100.0%
Email addresses100.0%100.0%
Phone numbers100.0%100.0%
Addresses98.7%97.3%
Dates of birth100.0%100.0%
National IDs100.0%100.0%
Bank accounts100.0%100.0%

Documents where they differ

Personal data detection · German (150 documents)

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

MetricGemma 4 31BGPT-6 Luna
Correct fields99.9%99.6%
Error-free documents99%97%
Per 1,000 documents$0.10$0.12
To fix / 1,000727
Speed (median)1.9 sec2.2 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Names100.0%100.0%
Email addresses100.0%100.0%
Phone numbers100.0%100.0%
Addresses99.3%97.3%
Dates of birth100.0%100.0%
National IDs100.0%100.0%
Bank accounts100.0%100.0%

Documents where they differ

Both models got the same number of fields right on every example document.

Contract clauses · English (US) (150 documents)

GPT-6 Luna is more accurate by 0.2 pp. Gemma 4 31B is 1.1× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields99.6%99.8%
Error-free documents97%99%
Per 1,000 documents$0.18$0.20
To fix / 1,0002713
Speed (median)2.5 sec2.7 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Provider98.0%98.7%
Provider ID100.0%100.0%
Client98.0%98.7%
Client ID100.0%100.0%
Contract type100.0%100.0%
Price (net)100.0%100.0%
Currency100.0%100.0%
Billing period100.0%100.0%
Effective date99.3%100.0%
End date100.0%100.0%
Notice period (months)100.0%100.0%
Late-payment penalty (% per day)100.0%100.0%
Governing law100.0%100.0%

Documents where they differ

Contract clauses · Czech (150 documents)

Both are equally accurate. Gemma 4 31B is 1.1× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields100.0%100.0%
Error-free documents99%100%
Per 1,000 documents$0.25$0.27
To fix / 1,00070
Speed (median)6.0 sec2.6 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Provider100.0%100.0%
Provider ID100.0%100.0%
Client100.0%100.0%
Client ID100.0%100.0%
Contract type100.0%100.0%
Price (net)100.0%100.0%
Currency100.0%100.0%
Billing period100.0%100.0%
Effective date99.3%100.0%
End date100.0%100.0%
Notice period (months)100.0%100.0%
Late-payment penalty (% per day)100.0%100.0%
Governing law100.0%100.0%

Documents where they differ

Contract clauses · German (150 documents)

GPT-6 Luna is more accurate by 5.6 pp. Gemma 4 31B is 1.2× cheaper.

MetricGemma 4 31BGPT-6 Luna
Correct fields94.4%100.0%
Error-free documents27%100%
Per 1,000 documents$0.22$0.27
To fix / 1,0007270
Speed (median)2.6 sec3.0 sec
Valid answers100.0%100.0%

Accuracy per field

FieldGemma 4 31BGPT-6 Luna
Provider100.0%100.0%
Provider ID100.0%100.0%
Client100.0%100.0%
Client ID100.0%100.0%
Contract type100.0%100.0%
Price (net)100.0%100.0%
Currency100.0%100.0%
Billing period100.0%100.0%
Effective date100.0%100.0%
End date100.0%100.0%
Notice period (months)100.0%100.0%
Late-payment penalty (% per day)27.3%100.0%
Governing law100.0%100.0%

Documents where they differ