Robert Taylor
Email text (the model got exactly this text)
From: Robert Taylor <robert.taylor@cantu-wells.example> To: support@smith.example Date: Thu, May 1, 2025 at 10:03 AM Subject: Re: Question about our invoice Hi, Following up on our previous email below, we're still waiting for a solution. This is completely unacceptable and very frustrating. Thanks, Robert Taylor Cantu-Wells On Tue, Apr 29, 2025 at 12:09 PM, support@smith.example wrote: > Hi, your request is tracked as ticket 19666, we'll get back to you shortly. > > Smith PLC > On Tue, Apr 29, 2025 at 10:03 AM, Robert Taylor <robert.taylor@cantu-wells.example> wrote: > > Hi, > > > > We need a corrected invoice, our company address on it is wrong. Invoice number: 2025-3828. > > > > Thanks, > > Robert Taylor > > Cantu-Wells
Verdict
Cheapest without an error: Gemma 4 31B at $0.13 per 1,000 documents.
- Claude Sonnet 5 is also error-free but 34.9× more expensive.
- Mistral Small 4 is 1.4× cheaper, but: wrong value (Priority).
Prompt given to every model
You triage the support inbox. Read the email below and return only JSON with these keys:
category one of: billing (invoices, payments, charges), delivery (where is the order, shipping,
address change), complaint (damaged, wrong or defective goods, warranty claims),
technical (login, app or system errors, integrations), cancellation (cancel an order,
contract or subscription), sales (quotes, prices, interest before buying)
priority one of: urgent, high, normal, low (rules below)
sentiment one of: positive, neutral, negative (the customer's tone)
customer_name full name of the customer who wrote the request
order_number the customer's order number, if mentioned
invoice_number invoice number, if mentioned
amount the amount of money the request is about (number)
currency ISO 4217 code of that amount (USD, EUR, CZK, …)
deadline the date by which the customer wants a resolution or answer (YYYY-MM-DD)
Priority rules:
- urgent: the customer cannot work right now, or the deadline is at most 1 day after the email date
- high: the deadline is at most 7 days after the email date, or the customer threatens to cancel
or escalate (lawyer, ending the business)
- low: the customer says explicitly that it is not urgent
- normal: everything else
Rules:
- A thread: judge the newest message; order numbers, invoice numbers and amounts may come from the
quoted earlier messages. A forwarded email: the customer is the original sender, not the
colleague who forwarded it.
- Resolve relative deadlines ("by Friday", "by tomorrow", "by the end of the month") against the
date of the message that states them.
- Support ticket numbers, tax IDs and phone numbers are not order or invoice numbers.
- If a value is not in the email, return null. Do not guess.
- Amounts as numbers with a decimal point, no thousands separators and no currency symbol.
How we score
Exact match per field after normalising dates, amounts and whitespace. Missing diacritics count as an error. Cost is the real token spend of this run, converted at the rate shown in the footer.
What each model extracted
| Field | Correct value | Mistral Small 47 / 9 fields | Gemma 4 31B9 / 9 fields | GPT-6 Luna9 / 9 fields | DeepSeek V4.1 Flash9 / 9 fields | Gemini 3.5 Flash Lite9 / 9 fields | Qwen3.8 Flash9 / 9 fields | Mistral Medium 3.58 / 9 fields | Gemini 3.8 Flash9 / 9 fields | GPT-6 Sol9 / 9 fields | Claude Sonnet 59 / 9 fields |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Category | billing | billing (correct) | billing (correct) | billing (correct) | billing (correct) | billing (correct) | billing (correct) | billing (correct) | billing (correct) | billing (correct) | billing (correct) |
| Priority | normal | highwrong value | normal (correct) | normal (correct) | normal (correct) | normal (correct) | normal (correct) | highwrong value | normal (correct) | normal (correct) | normal (correct) |
| Sentiment | negative | negative (correct) | negative (correct) | negative (correct) | negative (correct) | negative (correct) | negative (correct) | negative (correct) | negative (correct) | negative (correct) | negative (correct) |
| Customer name | Robert Taylor | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) | Robert Taylor (correct) |
| Order number | — | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) |
| Invoice number | 2025-3828 | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) | 2025-3828 (correct) |
| Amount | — | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) |
| Currency | — | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) |
| Deadline | — | 2025-05-08invented value | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) | — (correct) |
| Tokens | input / output | 678 / 76 | 721 / 66 | 793 / 97 | 933 / 262 | 709 / 52 | 1,037 / 662 | 678 / 66 | 709 / 428 | 793 / 75 | 997 / 245 |
| of which hidden reasoning | billed as output | 0 | 0 | 42 | 212 | 0 | 576 | 0 | 376 | 20 | 137 |
| of which from cache | input billed at a discount | 422 | 453 | 0 | 586 | 0 | 768 | 0 | 0 | 0 | 0 |
| Cost of this document | this run | $0.0001 | $0.0001 | $0.0001 | $0.0003 | $0.0003 | $0.0004 | $0.0015 | $0.0021 | $0.0023 | $0.0044 |
| Per 1,000 documents | for the same kind of document | $0.09 | $0.13 | $0.13 | $0.25 | $0.34 | $0.36 | $1.51 | $2.14 | $2.34 | $4.44 |
| Latency | this run | 0.7 s | 2.6 s | 1.9 s | 4.3 s | 0.7 s | 8.5 s | 0.9 s | 2.2 s | 2.6 s | 3.9 s |