Sanjit Misra

Dibs

live2026

Bill splitting for whoever always ends up paying the check. Scan, claim, lock, pay.

Expo · Next.js · Supabase · Apple Vision OCR · Gemini

Benchmark
118 hand-labeled receipts
Item accuracy
66.9% → 94.1% F1
Median latency
~15 s → 1.3 s
Cost
~$0.001 a receipt
Guests need
no app, no account
Reviewing a scanned receipt
Scan.
A friend picks their name from the tab
Claim. No app, no signup.
The locked total for one person
Lock, then pay.

It started with one dinner. Six of us, one check, and me with a calculator. That weekend I built a throwaway page where everyone tapped their name and claimed their items. It worked well enough that it became Dibs.

The mechanic

One person scans the receipt. Friends claim their items from a link the host texts from their own phone, so guests need no app and no account. Then the host locks the tab, and only then do the pay buttons appear. Claim first, pay after the lock, so nobody's number moves under them.

The eval that changed the product

Receipt parsing is where AI earns its keep, so I built a benchmark on 118 hand-labeled public receipts and measured everything.

Reading a receipt
  1. Photo
  2. Vision OCR

    on the phone

  3. Gemini

    strict output schema

  4. Regex check

    a confidence signal, never blended in

  5. Host

    fixes anything wrong

  6. Eval set

    every fix becomes a test case

  • data
  • deterministic code
  • a model
  • a person
Line items read correctly (F1)
Regex parser: 66.9%Regex parser66.9%Gemini, strict schema: 94.1% (shipped)Gemini, strict schema94.1%
Line items read correctly (F1)
Regex parser66.9%
Gemini, strict schema94.1%
Tip read correctly
Apple on-device model: 4.9%Apple on-device model4.9%Regex: 91.1% (shipped)Regex91.1%

The on-device model was the exciting option. It lost badly, so it came out.

Tip read correctly
Apple on-device model4.9%
Regex91.1%

What else the numbers said:

  • I deleted the on-device path five days after shipping it.
  • Constrained output dropped median latency from about 15 seconds to 1.3.
  • Letting the model "fix" the tax with arithmetic made the totals worse, so I rejected two prompt versions that tried it.
  • Blending regex results into the model's answer hurt accuracy too. The regex became a confidence signal instead.

It costs about a tenth of a cent a receipt, and every correction a host makes turns into a new eval case.