27 August 202612 min readConsulting workflows

The hybrid AI stack: local models for 95% of your documents, frontier APIs for the exceptions

TL;DR

  • A hybrid AI stack runs local models on about 95% of pages and sends only the exceptions to a frontier API or a person. The threshold, not the model, decides where each page goes.
  • At 100,000 pages a month the hybrid’s inference line is about €662, against €1,087 for all-GPT-4.1 and €1,788 for all-Claude Sonnet 5 — with the same 2% of pages touched by a human.
  • The inference saving is not what pays for the project; the review queue is. Going all-local drops a €62 API bill and adds roughly 100 review hours a month.
  • A model’s self-reported confidence is the weakest signal on its own. Combine it with schema validation, cross-field arithmetic, layout novelty and agreement between passes, and score a document by the minimum across its required fields, not the average.
  • For the pages that leave the network: send pseudonymized fragments, never whole pages; route GDPR Art. 9 documents to a person, never an API; and log every call.

Questions people ask

What is a hybrid AI stack?
A hybrid AI stack is a document or text pipeline in which open-weight models running on hardware you control handle the high-volume, routine share of the work, and a frontier API such as OpenAI or Anthropic — or a human reviewer — handles only the units a confidence threshold flags as uncertain. In document processing the split is about 95/5. The threshold, not the model, decides where each unit goes.
How much does a hybrid AI stack save compared with using only GPT-4.1 or Claude?
In the article’s illustrative scenario at 100,000 pages a month, the hybrid’s inference line is about €662 against €1,087 for all-GPT-4.1 and €1,788 for all-Claude Sonnet 5 — a saving of roughly €425 to €1,100 a month. The larger effect is on review: with the same confidence gate applied, all three keep the human queue at 2% of pages, whereas dropping the API entirely pushes it to 5% and adds about 100 review hours.
How does the router decide which documents go to the frontier API?
It combines several signals rather than trusting the model’s own probability: field-level confidence, schema validation (missing fields, unparseable dates, VAT IDs failing their checksum), cross-field arithmetic such as net + VAT = gross, layout novelty against templates already seen, and agreement between two local passes. The document score is the minimum across required fields, not the average, and the threshold is set from the score distribution on a labeled sample.
Is sending data to OpenAI or Anthropic GDPR compliant in a hybrid stack?
It can be, with rules rather than judgment calls. Send the ambiguous fragment, not the whole page; pseudonymize names, addresses, IBANs and tax numbers before the call and map them back locally; never send GDPR Art. 9 special-category documents such as prescriptions or claims; use EU residency where offered, but still document a transfer basis and hold an Art. 28 processing agreement with zero-retention terms; and log every call as evidence for a DPIA.
Which local models are used in a hybrid AI stack for documents?
For OCR and layout, PaddleOCR-VL or DeepSeek-OCR; for schema extraction, a compact Qwen3-VL fed with the JSON schema; for normalization and classification, a small text model in the Gemma 4 or Llama 4 Scout class; and a local embedding model for layout novelty. All are open-weight and run on one A100-class card or an RTX 4090-class workstation — at about 1,200 pages an hour, 100,000 pages is a few hours a day.
How long does it take to implement a hybrid AI stack?
About six weeks for the first document family. Week 1: pull 300 real pages, label 200 as ground truth, write the schema. Week 2: run the local document model and measure raw field accuracy. Week 3: add validation and confidence scoring. Week 4: set the threshold from the score distribution and build the pseudonymizer, API call and review queue. Week 5: delivery and monitoring. Week 6: shadow run on live volume, tune, cut over.

Want this worked out on your documents?

We will price a real sample against OpenAI or Anthropic and tell you whether Local AI consulting or a local model on your hardware is the cheaper first step.