ModelVerdict

Comparison

Claude Sonnet 5 vs Gemini 3.8 Flash

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 extraction99.8% / 99.8%100.0% / 100.0%99.0% / 97.2%93.6% / 95.9%98.7% / 99.9%
Email triage98.2% / 98.7%98.2% / 99.2%97.9% / 98.4%——
Personal data detection99.7% / 99.7%98.9% / 99.5%99.7% / 99.7%——
Contract clauses100.0% / 99.9%100.0% / 100.0%98.2% / 99.9%——

Correct fields: Claude Sonnet 5 / Gemini 3.8 Flash; the better one in bold. Click a cell to see the details.

Invoice extraction · English (US) (150 documents)

Both are equally accurate. Gemini 3.8 Flash is 2.3× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields99.8%99.8%
Error-free documents99%98%
Per 1,000 documents$8.84$3.84
To fix / 1,0001320
Speed (median)3.2 sec3.2 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Supplier100.0%100.0%
Supplier ID (EIN, IČO…)100.0%100.0%
Invoice number100.0%100.0%
Payment reference100.0%100.0%
Invoice date100.0%100.0%
Due date100.0%100.0%
Net by tax rate98.7%100.0%
Tax by rate99.3%100.0%
Total100.0%100.0%
Currency100.0%100.0%
Bank account100.0%98.0%

Documents where they differ

Invoice extraction · Czech (150 documents)

Both are equally accurate. Gemini 3.8 Flash is 2.2× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields100.0%100.0%
Error-free documents100%99%
Per 1,000 documents$9.41$4.26
To fix / 1,00007
Speed (median)3.6 sec3.5 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Supplier100.0%99.3%
Supplier ID (EIN, IČO…)100.0%100.0%
VAT ID100.0%100.0%
Invoice number100.0%100.0%
Payment reference100.0%100.0%
Invoice date100.0%100.0%
Tax point100.0%100.0%
Due date100.0%100.0%
Net by tax rate100.0%100.0%
Tax by rate100.0%100.0%
Total100.0%100.0%
Currency100.0%100.0%
Bank account100.0%100.0%

Documents where they differ

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

Invoice extraction · German (150 documents)

Claude Sonnet 5 is more accurate by 1.7 pp. Gemini 3.8 Flash is 1.5× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields99.0%97.2%
Error-free documents87%96%
Per 1,000 documents$10.42$7.15
To fix / 1,00013340
Speed (median)3.8 sec4.7 sec
Valid answers100.0%97.3%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Supplier100.0%97.3%
Supplier ID (EIN, IČO…)100.0%97.3%
VAT ID100.0%96.7%
Invoice number100.0%97.3%
Payment reference100.0%97.3%
Invoice date99.3%97.3%
Tax point100.0%97.3%
Due date100.0%97.3%
Net by tax rate89.3%96.7%
Tax by rate100.0%97.3%
Total100.0%97.3%
Currency100.0%97.3%
Bank account98.0%97.3%

Documents where they differ

Invoice extraction · Spanish (100 documents)

Gemini 3.8 Flash is more accurate by 2.3 pp. Gemini 3.8 Flash is 1.5× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields93.6%95.9%
Error-free documents77%95%
Per 1,000 documents$11.89$7.86
To fix / 1,00023050
Speed (median)4.0 sec5.3 sec
Valid answers95.0%96.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Supplier94.0%95.0%
Supplier ID (EIN, IČO…)95.0%96.0%
VAT ID95.0%96.0%
Invoice number95.0%96.0%
Payment reference94.0%96.0%
Invoice date95.0%96.0%
Tax point95.0%96.0%
Due date95.0%96.0%
Net by tax rate79.0%96.0%
Tax by rate95.0%96.0%
Total95.0%96.0%
Currency95.0%96.0%
Bank account95.0%96.0%

Documents where they differ

Invoice extraction · French (97 documents)

Gemini 3.8 Flash is more accurate by 1.3 pp. Gemini 3.8 Flash is 1.8× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields98.7%99.9%
Error-free documents96%99%
Per 1,000 documents$11.02$6.18
To fix / 1,0004110
Speed (median)4.4 sec5.2 sec
Valid answers99.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Supplier99.0%100.0%
Supplier ID (EIN, IČO…)99.0%100.0%
VAT ID99.0%100.0%
Invoice number99.0%100.0%
Payment reference97.9%99.0%
Invoice date99.0%100.0%
Tax point99.0%100.0%
Due date99.0%100.0%
Net by tax rate96.9%100.0%
Tax by rate99.0%100.0%
Total99.0%100.0%
Currency99.0%100.0%
Bank account97.9%100.0%

Documents where they differ

Email triage · English (US) (150 documents)

Gemini 3.8 Flash is more accurate by 0.5 pp. Gemini 3.8 Flash is 1.7× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields98.2%98.7%
Error-free documents84%89%
Per 1,000 documents$4.01$2.39
To fix / 1,000160113
Speed (median)3.8 sec2.2 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Category100.0%100.0%
Priority97.3%100.0%
Sentiment86.7%88.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

  • Laurie Knight · Email · Claude Sonnet 5 9/9, Gemini 3.8 Flash 8/9
  • Daniel Stewart · Email · Claude Sonnet 5 8/9, Gemini 3.8 Flash 9/9
  • Allison Floyd · Email · Claude Sonnet 5 8/9, Gemini 3.8 Flash 9/9

Email triage · Czech (150 documents)

Gemini 3.8 Flash is more accurate by 1 pp. Gemini 3.8 Flash is 1.6× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields98.2%99.2%
Error-free documents83%93%
Per 1,000 documents$4.91$3.06
To fix / 1,00016773
Speed (median)4.7 sec2.6 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Category100.0%100.0%
Priority96.0%99.3%
Sentiment87.3%93.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 · German (150 documents)

Gemini 3.8 Flash is more accurate by 0.5 pp. Gemini 3.8 Flash is 1.9× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields97.9%98.4%
Error-free documents81%85%
Per 1,000 documents$5.11$2.74
To fix / 1,000187147
Speed (median)4.3 sec2.9 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Category100.0%100.0%
Priority96.0%100.0%
Sentiment84.7%85.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)

Both are equally accurate. Gemini 3.8 Flash is 1.9× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields99.7%99.7%
Error-free documents98%98%
Per 1,000 documents$3.50$1.86
To fix / 1,0002020
Speed (median)2.5 sec1.9 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Names100.0%100.0%
Email addresses100.0%100.0%
Phone numbers100.0%100.0%
Addresses98.0%98.0%
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.

Personal data detection · Czech (150 documents)

Gemini 3.8 Flash is more accurate by 0.7 pp. Gemini 3.8 Flash is 1.9× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields98.9%99.5%
Error-free documents92%97%
Per 1,000 documents$4.06$2.19
To fix / 1,0008033
Speed (median)3.2 sec2.0 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Names96.7%98.7%
Email addresses100.0%100.0%
Phone numbers100.0%100.0%
Addresses97.3%98.0%
Dates of birth98.0%100.0%
National IDs100.0%100.0%
Bank accounts100.0%100.0%

Documents where they differ

Personal data detection · German (150 documents)

Both are equally accurate. Gemini 3.8 Flash is 2.1× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields99.7%99.7%
Error-free documents98%98%
Per 1,000 documents$4.40$2.12
To fix / 1,0002020
Speed (median)3.7 sec2.3 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Names98.7%100.0%
Email addresses100.0%100.0%
Phone numbers100.0%100.0%
Addresses100.0%98.0%
Dates of birth99.3%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)

Claude Sonnet 5 is more accurate by 0.1 pp. Gemini 3.8 Flash is 2× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields100.0%99.9%
Error-free documents100%99%
Per 1,000 documents$5.04$2.47
To fix / 1,00007
Speed (median)3.4 sec2.0 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Provider100.0%99.3%
Provider ID100.0%100.0%
Client100.0%99.3%
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)100.0%100.0%
Governing law100.0%100.0%

Documents where they differ

Contract clauses · Czech (150 documents)

Both are equally accurate. Gemini 3.8 Flash is 2× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields100.0%100.0%
Error-free documents100%100%
Per 1,000 documents$6.05$3.09
To fix / 1,00000
Speed (median)3.6 sec2.2 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
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)100.0%100.0%
Governing law100.0%100.0%

Documents where they differ

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

Contract clauses · German (150 documents)

Gemini 3.8 Flash is more accurate by 1.7 pp. Gemini 3.8 Flash is 2.1× cheaper.

MetricClaude Sonnet 5Gemini 3.8 Flash
Correct fields98.2%99.9%
Error-free documents87%99%
Per 1,000 documents$7.11$3.42
To fix / 1,0001337
Speed (median)4.3 sec2.6 sec
Valid answers100.0%100.0%

Accuracy per field

FieldClaude Sonnet 5Gemini 3.8 Flash
Provider100.0%100.0%
Provider ID87.3%99.3%
Client100.0%100.0%
Client ID89.3%99.3%
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)100.0%100.0%
Governing law100.0%100.0%

Documents where they differ