Skip to content

Anatomy of a document

An invoice comes in.
What does the AI do with it?

Every invoice arrives different: an electricity bill looks nothing like one from a hardware shop, or a subscription in English. On the left you have the paper as it is. On the right, the three things the model does with it —sort it, read it and pull the data out, look for mistakes— and how long each one takes on the card you pick.

Document

Action

—

Read — Write — —
—
Expected result 0.0 s

            

And over a whole day…

One invoice is seconds. A thousand is a department.

—

The same document, four cards

Documents a day working without stopping, 24 h.

The hard case

And if the invoice is a scan or a photo?

A «proper» PDF carries the text inside: you read it and that is that. But half the offices out there work with PDFs that are a photograph of a piece of paper. There is no text to copy: the model has to look at the image, and an image costs a good deal more tokens than its text.

Qwen3.8 27B quantised to 4 bits (Q4, the UD-Q4_K_XL format, 17.55 GB) reads images, so the same card does the work without changing model or quantisation. A page scanned at reading resolution comes in at around 2,600–2,900 tokens instead of the ~1,000–1,300 of plain text: two or three times more reading. What the model writes afterwards does not change, so the hit shows up mostly on short documents.

Rule of thumb: if you can select the text with your mouse inside the PDF, it goes the fast way. If you cannot, it goes through vision and the reading part multiplies.

PDF with text

Scanned PDF · vision

Where these times come from

Each time comes from counting the tokens the AI has to read and write for this invoice and dividing them by the speed of the card you picked. The RTX 3090 Ti is measured in our lab; the others are estimated with the same sum for all of them.

How every figure is worked out: Method.

Tell us what you need

Write a few lines and I will reply by email. I reply Monday to Friday, 9 am to 6 pm (CET).

I only use your details to reply to you. More in the privacy policy.