Klarefi

Build vs buy AI intake: can we build it ourselves with ChatGPT or Claude?

Build vs buy AI document intake: what a week with the ChatGPT or Claude API gets you, what production intake needs, and a checklist to decide.

By Mike Cooper

Published

Yes, you can build AI document intake yourself with ChatGPT or Claude. An engineer with the OpenAI or Anthropic API can have a prototype reading payslips and bank statements in about a week. The build vs buy decision is about everything after that prototype: asking the applicant for missing items while they apply, citations that hold up, an audit trail, model changes, data protection, a security review and the edge cases in every document type. Build if intake is core to your business and you can staff it for years. Buy if you'd rather your engineers spend that time on your product.

I'm biased, since I sell one of the things you could buy. So this post sticks to what I can show you, with sources, and it says where building is the better call.

What a one-week prototype with the ChatGPT or Claude API gets you

The models are good at reading documents now, and the APIs do a lot of the work for you. OpenAI's Structured Outputs makes the model's answer follow a JSON schema you define. Anthropic's citations feature returns the exact passages that support each claim. Put those together and in a week you can upload a payslip and get back the employer, the gross pay and the pay date, each with the line it came from.

That's a real result. For an internal tool where a person checks every output, it might be all you need.

But both providers are clear about the limits. OpenAI's own page says your application still has to handle refusals, incomplete responses and API errors, and "validate any business rules that the schema does not express". The prototype reads a document. It doesn't know whether the document is the right one, whether it's recent enough, or what to do when it's missing.

What production AI intake needs

This is the list I'd use to estimate the work. Every item is something we had to build for Klarefi, so I know roughly where the time goes.

Asking the applicant for missing items while they apply

Most intake time goes into follow-ups, as we found in where intake time goes. So the valuable part is asking for the gap during the application, and that's also the hardest part to build.

To ask the right question you need the list for that case type. Take mortgages. Nationwide needs only your latest payslip, unless you rely on bonus or overtime, and then it wants the last three monthly or eight weekly payslips. Then you need a conversation: ask in plain words, accept an upload in the middle of it, read the reply, and decide whether it settles the question or raises a new one. The applicant may leave and come back tomorrow.

Some rules also limit when you can ask. A US mortgage lender may not require documents verifying the application before it sends the Loan Estimate. Your intake has to know that.

Citations that support the value

A citation feature gives you a passage. Production needs more: the citation has to stay attached to the value through corrections, point to the exact version of the document, and open on the reviewer's screen at that line. When a reply from the applicant changes a fact, the findings that relied on the old value need another look. We wrote up how we handle that.

An audit trail

In regulated work someone will ask how a file reached its state. Who uploaded what, what the applicant was asked, which model read the document, and who changed a value and why. Some rules already expect the reasoning in the file. Fannie Mae, for example, requires the lender to put a written rationale in the loan file when it relies on a large deposit. If a person makes the decision, the record also has to show that their review was real, which the human in the loop entry explains.

Model changes and evaluation

The model you build on will be retired. Anthropic's deprecation page gives at least 60 days' notice for publicly released models, and says requests to a retired model fail. OpenAI's deprecation policy gives at least six months for generally available models, and preview models can go with much shorter notice, such as two weeks.

A new model can read the same document differently. So you need a test set of real files with known answers, run on every model and prompt change, and someone who looks at what changed. Without it you find out from a reviewer that something broke.

Data protection and the DPA

Applicant documents are full of personal data. Under Article 28 of the GDPR, a processor such as your model provider has to work under a contract with you that sets out what it processes and how. You'll probably need a data protection impact assessment too.

The providers' defaults help. OpenAI and Anthropic both say they don't train on business data sent through their APIs by default. You still own retention, deletion when an applicant asks, where the data is processed, and the transfer terms if it leaves the EEA.

Security review

Your own build goes through the same review a vendor would: access by role, keeping customers or business lines apart, secrets, logging, backups and a penetration test. AI adds one more item. Uploaded documents are input from outside, and OWASP lists indirect prompt injection from files as a risk, so a PDF with hidden instructions must not be able to change what the agent does.

Edge cases per document type

Each document type brings its own rules, and each rule is code plus a test. A few from mortgages alone: Nationwide accepts online payslips in their original file format and refuses screenshots. HSBC wants the latest tax year within 18 months. Fannie Mae wants the latest pay stub dated within 30 days of the application and asks for a newer record when a statement is more than 45 days old. Then come the scans, the rotated phone photos and the PDF holding three months of statements in one file.

Maintenance and ownership

Someone has to own all of this after the engineer who built it moves on. At my previous employer the first version of our AI coverage check took about three months. Making it run in real time was another three months on the roadmap, and most of that was about rules and data. The model was the quick part.

What does it cost to build AI document processing in-house?

I don't have an honest figure for your team, and I won't make one up. Vendors publish estimates, but they sell the alternative. Sensible, an IDP vendor, puts the first-year cost of an internal LLM extraction build at $140,000 to $210,000. Read it as one vendor's number.

A better way is to price your own lines:

  • engineering time to build, then to maintain each year
  • labelling a test set of real files, and rerunning it on each model change
  • review time while accuracy is still being proven
  • model API usage and hosting
  • the DPIA, the DPAs and the security review
  • on-call time when something breaks

Buying has its own lines too: the subscription, the integration, your vendor due diligence and the risk of depending on a small supplier. Put both on one page for the same twelve months.

Build vs buy AI checklist

Answer these before you decide. More answers on the left side point to building.

QuestionPoints to buildingPoints to buying
Is document intake what you sell?YesNo, it's a step before your real work
How many document types?One or two, stableMany, and they change
Who sends the documents?Your own staffApplicants, brokers or clients
Does someone check every output?Yes, alwaysYou want files ready for review
Do you need to ask applicants for missing items?NoYes
Who owns evaluation when the model changes?A named person with time for itNobody yet
Can a vendor pass your security and data review?No vendor canAt least one can
How soon do you need it live?You can wait for the workThis quarter

If the answers are mixed, look at a split. Buy parsing and build the rest, or buy the intake layer and keep your own core system and rules. Our guide to document processing software sorts the parts you can buy.

Where Klarefi fits

Klarefi is the intake layer you can buy. It's an AI intake agent for regulated teams in lending, mortgages, insurance, law and the public sector. It reads the documents as the applicant uploads them, asks for what's missing while they're still applying, links every fact to its source and hands your team a case file. A person on your team decides.

It covers most of the list above: the applicant conversation, citations, an audit trail nobody can edit, data stored in the EU, a DPA and subprocessor list for your counsel, and model providers that keep no copy of the data and never train on it. There's one honest gap. Klarefi doesn't hold ISO 27001 or SOC 2 yet. If your procurement needs one of those today, that's a real reason to build or to pick another vendor.

It connects to the systems you already run, and after the pilot we connect it for you. If you're weighing a build, the free intake audit is a cheap way to see where your own files stall before you commit engineers to it.

Questions people ask.

All notes from the build

See where your intake loses time.

Answer six quick questions for an estimate of your intake hours, book a 15-minute call, then send five anonymised files for a short written report. How a pilot works