ArticlesEngineering
On-premise AI for order processing: what we measured
“Can it run on our own server?” is the second question a manufacturer asks, after “does it read PDFs”. It can. This is what Tarvyx measured about the three ways to run the AI part, so the choice is made on numbers.
Three ways to run the reading model
The matching model is the same in all three. The reading model is where the choice is.
Hosted model, your data where you keep it
- Reading takes seconds; a full corpus runs at about 10 to 30 s per order including matching
- The host needs about 8 GB of RAM for the whole stack; 12 GB if scanned-PDF layout analysis stays on
- A photo the OCR cannot read goes to a hosted vision model; this is the only option with that fallback
Local model on CPU
- A 7-billion-parameter model in 4-bit takes 3 to 8 minutes per order on CPU; a corpus of 13 orders is about 45 minutes
- The model alone takes about 6 GB; the floor is a 16 GB, 4-core host
- The second-opinion step that chooses between candidates is a second inference, so it is turned off on CPU
- No hosted vision fallback: an unreadable photo goes straight to a person
Local model on a GPU
A GPU gives a local deployment back the seconds without giving up the network boundary.
What changes with 8 GB of GPU memory
- The full-precision 7B model fits, and reading returns to seconds
- The second-opinion step can stay on
- The embedding model (multilingual, 1,024 dimensions) runs on the same card
- Nothing leaves the network segment: the model host has no route to the internet by design
What does not change
- No hosted vision fallback for photos the OCR cannot read
- Model updates are something you pull, not something that arrives
- A 7B local model reads a clean PDF as well as a hosted one and a bad scan worse
What leaves the building in each case
The question behind the question. Here is the answer for each option.
Stays on your side in every option
- The database: customers, products, orders, files
- Mailbox and messenger credentials, encrypted per workspace
- The ERP connection and everything pushed through it
- The matching model’s vectors of your catalogue (local deployment) or only the texts sent for embedding (hosted)
Goes to a hosted provider only in the hosted option
- The text of the order and its attachments, for reading
- Catalogue and order-line texts, for embedding
- An image the OCR could not read, for the vision fallback
- Processors are EU-hosted where available; categories are listed in the privacy policy
Questions about running the AI locally
Can order processing run fully on-premise with no external AI?
Yes. Tarvyx runs the reading model and the embedding model locally through Ollama on a server with no outbound internet access for that network segment. The trade is speed: a 7-billion-parameter model on CPU takes minutes per order where a hosted model takes seconds.
What hardware does the local option need?
A 16 GB RAM, 4-core Linux host as the floor, of which the local model takes about 6 GB; or a GPU with 8 GB or more of memory, which brings reading back to seconds and allows the full-precision model.
Which option is more accurate?
For the matching step there is no difference: the embedding model is the same multilingual model in both deployments. For reading the document the hosted model is stronger on hard scans and photos, and the on-premise deployment has no hosted vision fallback, so an unreadable photo goes to a person sooner.
Is the hybrid possible: local data, hosted model?
Yes, and it is the common choice: the server, the database and the files stay on your premises or in your EU cloud, and only the order text goes to the hosted model for reading. The privacy policy names the categories of processors involved.
Size it for your server
Tell us the host you have and the volume you expect, and we say which of the three fits and what it will take.
Order desk with ~200 orders a month or more? Ask about the free pilot
- Your own orders, not a demo file
- No change asked of a single customer
- 20–30 minutes, on orders like yours