# How AI processes thousands of documents in different languages: what we learned

Source: https://saitai.lt/en/blog/how-ai-processes-documents-in-different-languages/
Published: 2026-11-27T09:00:00+02:00
Updated: 2026-11-27T09:18:35+02:00
Breadcrumbs: [Home](https://saitai.lt/en/) › [Blog](https://saitai.lt/en/blog/) › How AI processes thousands of documents in different languages: what we learned

Processing more than 30,000 open public tenders in 6 languages taught us five things: scripts read the numbers and dates, the model must supply a verbatim quote, we write the checks first, we test on 20–50 documents, and we cap spending in advance.

About this article

- **Author:** Saitai.lt team
- **Published:** 27 November 2026
- **Reading time:** ~6 min

Multilingual document processing with AI works when the model is left with only what scripts cannot do: read free text, shorten it and translate it. Everything else (dates, values, codes, checks, scheduling) is done by scripts, and we always check the model’s output against the original. We learned this while building our own platform, EuroTenders, which turns official EU public procurement notices into cards in 6 languages. Below are the lessons you can apply to your own documents. What exactly was built, and the numbers, are described in a [separate case study](https://saitai.lt/en/portfolio/ai/ai-data-processing-tenders/).

## What to give the model and what to scripts

The first decision shapes everything else: where a document has a structured field, we do not use the model. Our notices arrive from TED with structured fields, so scripts take dates, deadlines, values, the buyer, the country and CPV codes (the procurement classification) straight from those fields. The model does not retype them, so it cannot “improve” or spoil them. The page shows exactly what was taken from the field.

| Task | Who does it | Why |
| --- | --- | --- |
| Dates, values, buyer, codes | scripts, from structured fields | exact and free; the model is only a risk here |
| Summary, what the tender covers | the model | free text has to be understood |
| Supplier requirements | the model, with a code and a verbatim quote | free text has to become structure |
| Translation into other languages | the model, from an already checked card | checking is easier than translating a complex original |
| All checks, storage, scheduling | scripts | the outcome must be predictable |

If your documents have no structured fields (PDF invoices, for example), the fields are first extracted by recognition, as we describe in [Invoice recognition with AI](https://saitai.lt/en/blog/invoice-recognition-with-ai/). The principle is the same: whatever a script can verify is not left to the model’s discretion.

## Why we demand a verbatim quote

It is not enough to tell the model to “pick out the supplier requirements”. We require every requirement (turnover, similar contracts, certificates, insurance) to be recorded under a fixed code from a closed reference list, with a verbatim quote from the notice and a confidence rating. This brings three benefits:

- **A script can check the quote.** The program looks for that text in the original. If the model invented a requirement, there will be no quote.
- **The code is limited.** The model chooses from a list instead of writing a free-form category, so results can be grouped and compared.
- **A person can see the source.** A reader or reviewer can go to that place in the original.

A requirement whose quote is not found in the original is stored with zero confidence and not shown.

## Checks that stop invention

We write the checks first, before running the model on a large volume. Our set is small, but it decides what may be published:

1. Every number on the card must exist in the original.
2. Every quote must be verbatim from the original.
3. A requirement code must exist in the reference list.
4. A translation must contain the same points and numbers as the English card, and its length must be 0.7 to 1.5 times the English text.
5. Length limits: the title at most 90 characters, the summary 350 and the search description 155.

The same rules apply whether an agent batch writes the texts or data is loaded into the system. A card that fails gets the status “review” and is not published; on the server one retry is made with the list of errors. On 27 November 2026, 630 of 212,070 texts were waiting for review.

## A trial before scaling

Before processing the full volume, we first test any model output on 20–50 documents from different countries, types and languages. That is still few enough for a person to read. On 21 November 2026 we ran the trial in two rounds (30 tenders from 16 countries and 20 tenders from 14 countries), compared two models and produced 500 texts.

The main lesson: the automatic checks passed 100%, but reading the texts we found an error of meaning that they cannot see: a foreign country’s law had been replaced with a Lithuanian one. A check that “the number exists in the original” does not catch this; it takes human eyes. We fixed the rule, and we chose the model for cards and translations by how natural its Lithuanian sounds, not by price alone.

One more habit paid off: every text stores the rule version (prompt\_version), the model and the date. When the rules change, only the texts of the old version are rewritten, not the whole database.

## Cost and how to control it

Cost matters once the documents are many. Three things helped us:

- **A batch interface.** Since 26 November 2026 the server sends jobs daily through the Message Batches API, which costs half as much, and a cheaper model (Claude Haiku) writes the texts. The cost is about 0.0012 USD per card in 6 languages; in the trial it was 0.0016 USD.
- **Hard limits.** No more than 150 USD a month and 20 USD a day. When money runs short, the priority is titles first, then cards, then extra review.
- **A cheap first step.** For tenders that do not yet have a card, only the title is translated, separately and cheaply.

This is our cost for one type of document, not a price list: for your documents the figure will be different.

## What we do not trust AI with

Some errors slip past automatic checks because the checks do not understand meaning. Our list for a human to review:

- a guess about the currency when the notice does not state one;
- “at most N contracts” recorded as a requirement;
- an employee’s experience recorded as the company’s;
- a lot chosen by guesswork;
- the declension of Lithuanian names.

And, honestly, about translations: a person reads the Lithuanian texts on a sample basis, while Latvian, Estonian, Polish and Finnish rely on automatic checks only. We built proofreading by a model but switched it off: in the trial it fixed 1 of 4 known errors and broke one word. That is why translations are labelled as machine translations and the original remains binding.

## How to start with your own documents

1. Define what a “correct” result is: a few dozen documents you have already processed by hand.
2. Separate structured fields (a script) from free text (the model).
3. Require the model to give a code from a closed list and a verbatim quote.
4. Write the checks first and decide what happens when they fail.
5. Try it on 20–50 documents and read the results yourself.
6. Only then work out the cost and run a larger volume, with a spending cap.

If the processing does not run on your own server, find out in advance where the documents are sent and how long they are stored: see [Local AI or the cloud](https://saitai.lt/en/blog/local-ai-vs-cloud/).

## How we can help

We went down this path ourselves while building EuroTenders: from a trial to a daily batch with checks and a spending cap. We can do the same with your documents (contracts, invoices, applications, technical specifications): we start with a trial on your real documents and show which fields the model recognises reliably and which a person will need to check. The full description of the system is on the [case study page](https://saitai.lt/en/portfolio/ai/ai-data-processing-tenders/).

- [AI document recognition](https://saitai.lt/en/services/ai-solutions/document-recognition/) – a pilot from €690, typically 1–2 weeks; we quote the price of the full solution after the pilot.
- [AI integration into business processes](https://saitai.lt/en/services/ai-solutions/ai-integration/) – from €990, when the result has to be connected to your systems.

Send a few sample documents and we will tell you whether such processing would pay off. Mask personal data before sending, if there is any.

Written by **Saitai.lt team**. Published 27 November 2026.

## Sources

1. [TED – the official EU public procurement journal](https://ted.europa.eu/)
2. [Commission Decision 2011/833/EU on the reuse of Commission documents, EUR-Lex](https://eur-lex.europa.eu/eli/dec/2011/833/oj)
3. [Anthropic: Message Batches API documentation](https://platform.claude.com/docs/en/build-with-claude/batch-processing)

## Frequently asked questions

### Can AI be trusted to process documents without a human?

Only partly. In our system, scripts check numbers, quotes, codes and lengths and block any card that fails. But errors of meaning, such as a foreign law replaced with a Lithuanian one, are invisible to an automatic check, so a person still reads some of the texts. How much to check by hand depends on the cost of a mistake.

### Why do you demand a verbatim quote from the AI?

Because a quote can be checked by a simple script: does this text exist in the original? If the model invents a requirement, the quote will not be in the original and the record is not published. Without a quote we would have to check every statement by hand.

### How much does it cost to process one document?

It depends on the document length, the model and the volume. In our case, writing a card and translating it into 6 languages costs about 0.0012 USD when we use a cheaper model through a cheaper batch interface. That is our cost for one type of document, not a price list. For your documents, a trial will show the figure.

### How many documents does a trial need?

Our rule is 20–50 documents drawn from different countries, types and languages. That is still few enough for a person to read, and typical errors already show up. Only then do we process the full volume.

### How do you check AI translations?

We translate an English card that has already been checked, and then check the result: the same points, the same numbers, and a length of 0.7 to 1.5 times the original. A person reads the Lithuanian texts on a sample basis, while the other languages have not yet been read by native speakers, so translations are labelled as machine translations and the original is cited.

## Related services

### [AI invoice and document recognition](https://saitai.lt/en/services/ai-solutions/document-recognition/)

AI recognition of invoices, delivery notes and other documents: data extraction from PDFs and photos, human review, export to accounting software, CRM or spreadsheets.

### [AI integration for websites, CRM and online stores](https://saitai.lt/en/services/ai-solutions/ai-integration/)

We integrate ChatGPT, Claude and Gemini models into existing websites, CRMs and online stores: copy, search, email sorting, data from documents.

## More articles on this topic

- 18 November 2026
  **[AI for accounting firms: 7 processes worth automating](https://saitai.lt/en/blog/ai-for-accounting-firms/)**
  For an accounting firm, AI helps most where there is a lot of repetitive work: collecting documents, recognising invoices, matching bank statements, reminders, client answers, reports and deadline tracking. The accountant approves decisions and ledger entries.
- 13 November 2026
  **[Invoice recognition with AI: how it works and how accurate it is](https://saitai.lt/en/blog/invoice-recognition-with-ai/)**
  AI extracts the supplier, dates, totals and line items from PDFs and photos, but there is no single accuracy figure: it depends on the document and the field. So we measure accuracy on your invoices, and a person approves data before it reaches the books.
- 11 November 2026
  **[How to write a technical brief for development and integrations](https://saitai.lt/en/blog/website-brief/)**
  A template and practical tips for describing website improvements, a CRM, an integration with accounting, payments or shipping, or an AI feature, so the developer can price it accurately and you can sign it off against a checklist.

[All articles](https://saitai.lt/en/blog/)
