Book a demo

Build vs Buy: Should Your IP Team Build Its Own Patent AI on Top of GPT?

Build vs buy · Patent AI

The five problems an internal patent AI project has to solve before it beats a keyword search, and the middle path most teams end up taking instead.

The proposal usually arrives from a good engineer with a working demo. Connect an LLM to a patent database, add retrieval, and the team gets prior art search for the price of an API key. The demo is genuinely impressive, which is the problem.

The demo works because it is running on a few hundred documents you already know are relevant. Everything that makes patent search hard sits outside that boundary: getting a worldwide corpus you are licensed to index, retrieving across technology fields rather than within one, and being able to defend the result to an examiner, a court or an acquirer. Those are not model problems and a better model does not fix them.

This article walks through five problems in the order a build project hits them, using published prices, licence terms and peer-reviewed retrieval results rather than estimates. It ends on the option most teams land on once the first two problems bite: buy the retrieval engine and build your own workflow on top of it. That is what the Patsnap Open Platform is for, with 32 MCP servers exposing patent research, novelty and freedom-to-operate agents to Claude, Cursor or a custom client.1

In short
  • The corpus is the blocker, not the model. The worldwide bibliographic dataset behind most free tooling carries no full text at all, and the main public full-text collections cover a handful of jurisdictions.
  • Patent retrieval is a documented hard case. A 2025 benchmark found cross-domain prior art retrieval performs roughly five times worse than within-domain, and a 22-model embedding evaluation reported a best nDCG@10 of about 0.20.
  • Hallucination is now a sanctions issue in patent matters. A Kansas court sanctioned five lawyers in a patent infringement case in February 2026 over fabricated citations.
  • The middle path usually wins. Buy the retrieval and reasoning engine through an API or MCP, and build the workflow, the integrations and the review process that are actually specific to your team.

Problem one: you cannot get the corpus

Every build plan assumes the patent data is available. It is available in the sense that you can download something. It is not available in the sense that you can index the world’s patent literature in full text and search it.

What the free and public sources actually contain

The EPO’s DOCDB is the worldwide backbone and it states its limits plainly: it contains “bibliographic data, abstracts, citations and the DOCDB simple patent family, but no full text or images.”2 Full text from the EPO comes in two narrower sets: EP full-text data covering EPO publications since 1978, and national full-text data whose character-coded extracts “cover France, Spain, Switzerland and the United Kingdom.”3, 4 Four countries.

The Google Patents Public Data set on BigQuery is the other common starting point. Its own documentation describes it as a “worldwide bibliographic and US full-text dataset of patent publications,” provided by IFI CLAIMS Patent Services in collaboration with Google under a Creative Commons Attribution 4.0 licence.5 Worldwide bibliographic, US full text. The maintaining GitHub repository was archived read-only on 18 April 2026, which is not proof the tables stopped updating but is a governance signal worth checking before you build on it.6

PATENTSCOPE closes the door explicitly. Its FAQ states “bulk download is prohibited. The usage of automatic robot is all prohibited,” and its terms state that “more than 10 search related actions per minute from a single IP address can be considered excessive,” prohibit bulk acquisition, downloading, storing, reformatting and redistribution, and state that the data cannot be sold or sublicensed without WIPO’s permission.7, 8

US data is the genuine bright spot. The USPTO’s Open Data Portal is free and consolidates what used to sit in separate systems.9 Note one recent change if your plan involves PatentsView: it migrated into the Open Data Portal on 20 March 2026, and the USPTO stated that “some PatentsView functions, including search, APIs, visualizations, and support services, will pause temporarily.”10

The honest summary
Assembling worldwide, machine-readable, full-text patent coverage in a language your model can use is a data licensing project, not an engineering project. It is the reason commercial platforms cost what they cost, and it is the first thing an internal build discovers.

Problem two: retrieval is the hard part, and patents are the hard case

The instinct in a build project is that the LLM is the clever bit and retrieval is plumbing. The research points the other way.

A 2024 study of search and retrieval configurations for retrieval-augmented generation found that “gold document recall is a far bigger factor for QA performance than search recall,” and that “lowering search accuracy has minor implications for RAG performance.”11 The practical reading is uncomfortable for a build plan: tuning your vector search matters far less than whether the right document is in your corpus and surfaces at all. Which returns you to problem one.

A second 2024 study found that “the level of recall required to match the performance of standalone LLMs varies significantly across models and datasets, from as low as 20% to as high as 100%,” and, more awkwardly, that “RAG systems with perfect retrieval recall still fail on a significant proportion of instances where standalone LLMs succeed.”12 There is no recall threshold you can hit and declare the system finished.

Why patents specifically

Prior art is not a same-field lookup. The reference that kills a claim often comes from an adjacent technology. DAPFAM, a 2025 family-level benchmark built for exactly this question, ran 249 controlled experiments across BM25, dense transformer retrieval and rank fusion over 1,247 query families and 45,336 target families, and reported that “OUT-domain performance remains roughly five times lower than IN-domain across all configurations.” Asked which method closes the gap, the paper’s answer is “none.”13

Absolute numbers are sobering too. A multi-task evaluation of 22 embedding models over a 113,148-patent corpus and 46,069 citation-graph queries reported a best retrieval score of roughly nDCG@10 = 0.197, achieved by an 8B-parameter embedding model on title, abstract and claims.14 That is the state of the art for off-the-shelf embeddings on citation-based patent retrieval, and it is a long way from a finished product.

None of this says patent retrieval is impossible. It says the gap between a demo and a system you would put a filing decision on is measured in years of domain-specific retrieval work, not in a sprint. A widely cited engineering paper on RAG failure modes concluded that validation is only really feasible during operational use and that robustness develops iteratively rather than being established up front.15

Buy the engine, build the workflow

Call patent search from inside your own agent

32 MCP servers covering patent research, novelty and freedom to operate, a cross-domain TRIZ case library, a workspace reader and 3GPP TDoc tools. An API key and a generated connection link is the whole setup.

Get an API key

Free Starter tier, 10,000 credits for 90 days

Problem three: what happens when it goes wrong is now on the record

This used to be a theoretical risk. It is now a documented one, in patent matters specifically.

Stanford researchers measured hallucination in general-purpose LLMs answering verifiable questions about real court cases, across more than 800,000 queries. The finding: “LLMs hallucinate at least 58% of the time,” ranging from 58% for one frontier model to 88% for another, and they “struggle to predict their own hallucinations.”16 The same group then tested purpose-built commercial legal research tools with retrieval augmentation and found that while hallucinations are reduced relative to general-purpose chatbots, the leading tools “each hallucinate between 17% and 33% of the time.”17

Read those two numbers together, because they are the core of the build-versus-buy argument. Adding retrieval to a general model roughly halves the hallucination rate in a legal domain, which is a real improvement and still nowhere near a rate you would accept in a filing decision. Purpose-built systems built by companies with large engineering teams and licensed corpora land at 17% to 33%. A team building its first RAG pipeline on a partial corpus should expect to start well behind that.

The consequences are now priced

The reference case is Mata v. Avianca, where the court sanctioned the lawyers $5,000 after they submitted fabricated authorities, finding that they “abandoned their responsibilities when they submitted non-existent judicial opinions with fake quotes and citations created by the artificial intelligence tool ChatGPT.”18

What matters for IP teams is that this reached patent litigation. In Lexos Media IP, LLC v. Overstock.com, a patent infringement case in the District of Kansas, the court issued Rule 11 sanctions on 2 February 2026 against five lawyers after a brief contained nonexistent quotations and citations. The order records that counsel used ChatGPT “as a shortcut to find 10th [C]ircuit and Federal Circuit case law consistent with the facts of the case” and “admits that he did not check these citations, quotations, or statements of authority for accuracy.” Fines totalled $12,000, with one lawyer’s pro hac vice admission revoked and a self-report to state disciplinary authorities ordered.19

This is not an isolated pair of cases. A public database tracking court decisions that address AI-generated hallucinations recorded 1,922 cases as of 18 August 2026.20

Problem four: the duties you inherit the moment you build

An internal tool does not create a softer standard. It moves the entire compliance burden onto your team, and there is published guidance describing exactly what that burden is.

The USPTO’s April 2024 guidance on AI-based tools in practice before the Office is direct: “simply relying on the accuracy of an AI tool is not a reasonable inquiry,” and a party must “perform an inquiry reasonable under the circumstances confirming all facts presented in the paper have or are likely to have evidentiary support and confirming the accuracy of all citations to case law and other references.”21 Under 37 CFR 11.18(b), the person who signs certifies that statements are true to their own knowledge and that contentions have evidentiary support after a reasonable inquiry.22 A fabricated reference is not existing law and does not acquire evidentiary support because an internal system produced it.

The same notice warns that AI use for prior art searches or drafting “may result in the inadvertent disclosure of client-sensitive or confidential information to third parties,” that “AI systems may retain the information that is entered by users,” and that tools running on servers outside the United States raise export control and national security questions.21 Building in-house does not remove that analysis, because your build almost certainly calls a third-party model API.

For lawyers, ABA Formal Opinion 512 adds an explicit requirement: “a client’s informed consent is required prior to inputting information relating to the representation into such a GAI tool,” and reliance on output “without an appropriate degree of independent verification or review… could violate the duty to provide competent representation.”23 WIPO frames the commercial version of the same risk: organisations using generative AI tools “may inadvertently give away trade secrets or waive confidentiality in commercially sensitive information if such information is used for training or prompting AI tools.”24

The practical consequence for a build project is a set of deliverables nobody scopes at the start: a model provider contract with zero retention, a data residency and export control assessment, an audit log tying every output to its sources, an evaluation set with examiner-cited ground truth, and a documented review procedure. That work is not optional and it is not small.

Problem five: the running costs nobody models

Token pricing is the visible cost and the least significant one. The costs that decide the business case are the ones a demo never incurs.

Indexing. Embedding a corpus is a recurring cost, not a one-off, because you pay it again every time you change embedding model or re-chunk. Published embedding prices sit around $0.02 to $0.12 per million tokens depending on model tier.25 To make that concrete: embedding only the abstract and claims of 100 million documents at roughly 1,000 tokens each is 100 billion tokens, which at $0.06 per million is about $6,000 for a single pass. That figure is arithmetic from published unit prices on stated assumptions, not a quoted price, and the point is not the number but that it repeats.

Querying the raw data. If the corpus lives in BigQuery, on-demand querying is charged by bytes scanned, at $6.25 per tebibyte after the first tebibyte per month free.26 Exploratory work over a multi-hundred-gigabyte patent table adds up quickly during development, which is when you scan the most.

Evaluation. You cannot improve what you do not measure, and patent search evaluation requires a labelled set. The only credible ground truth is examiner citations, which means building and maintaining an evaluation corpus and re-running it on every change. This is usually the single largest hidden cost and the first thing dropped under deadline pressure.

The odds. A RAND report published in August 2024 opens by noting that “by some estimates, more than 80 percent of AI projects fail,” twice the rate of failure for information technology projects that do not involve AI.27 Read that carefully before you use it. RAND attributes the number to an outside survey rather than measuring it, and RAND’s own contribution is a root-cause analysis built on 65 semi-structured interviews with industry practitioners and academics conducted between August and December 2023. It is a well-sourced framing from a named institution rather than a measured census, and it should be cited that way. It is still the most defensible version of a claim that circulates widely in far less careful forms.

When building genuinely is the right answer

There are real cases for building, and they share a shape: the thing you build is close to your own process and far from the retrieval problem.

  • Workflow and integration. Routing disclosures from your invention management system, applying your own review gates, pushing outputs into your docketing system. Nobody else knows your process and no vendor will build it for you.
  • Internal knowledge. Your own filings, your own office action history, your own technical reports and lab notebooks. This corpus is small, you own it outright, and no vendor has it. Retrieval over a few tens of thousands of internal documents is a tractable engineering problem.
  • Scoring and triage rules. How your organisation decides which disclosures proceed is a policy question specific to your business model. Encoding it is a good build project.
  • Evaluation harnesses. Building your own evaluation set, drawn from your own examiner citations, is valuable whether you build or buy, and it is the only way to hold any vendor to account.

What these have in common is that none of them requires you to reconstruct a worldwide patent corpus or to solve cross-domain retrieval.

The middle path, and why most teams end up there

The version of this that works is to buy the layer that is expensive to build and build the layer that is expensive to buy. In practice that means treating patent retrieval and analysis as an API rather than as a product you open in a browser.

The Patsnap Open Platform publishes 32 MCP servers described as connecting “Patsnap’s domain-specific AI agents to LLM platforms such as Claude or custom models using the Model Context Protocol.” They cover patent research including novelty and both invention and design freedom to operate, a cross-domain TRIZ case library, a workspace reader and 3GPP TDoc tools. Setup is an API key plus a generated connection link in Cursor, Claude Desktop or any MCP-compatible client, and the Starter tier is free with 10,000 credits valid for 90 days.1, 28

Your engineer still gets to build. They build the orchestration, the triage logic, the integrations and the evaluation harness, on top of a corpus of 200M+ patents across 174 jurisdictions with SOC 2, ISO 27001, GDPR and CCPA compliance and no AI training on user data, and with search quality that is published and measurable rather than assumed.29, 30 What they do not build is a licensed worldwide corpus, a cross-domain patent retrieval stack, and a compliance regime, which is the part of the project that would otherwise consume the year.

Frequently asked questions

Can we build our own patent search AI on GPT or Claude?
You can build something that works on a narrow corpus you already have, and many teams do. What is hard is not the model layer. It is obtaining worldwide machine-readable full text you are licensed to index, achieving cross-domain retrieval quality, and satisfying the duties that attach to output used in a filing. The EPO’s worldwide DOCDB set contains no full text or images; its national full-text extracts cover four countries; the Google Patents Public Data set is worldwide bibliographic with US full text only; and WIPO prohibits bulk download from PATENTSCOPE outright. Those constraints, not model capability, are what decide whether an internal build reaches production.
How accurate is GPT for prior art search?
There is no published benchmark of general-purpose models on prior art retrieval specifically, but the adjacent evidence is consistent. Stanford researchers measured general-purpose LLMs answering verifiable questions about real court cases across more than 800,000 queries and found hallucination rates between 58% and 88%. The same group found that purpose-built commercial legal research tools with retrieval augmentation still hallucinate between 17% and 33% of the time. Separately, a 2025 patent retrieval benchmark found cross-domain performance roughly five times worse than within-domain, and a 22-model embedding evaluation reported a best nDCG@10 of about 0.20 on citation-based patent retrieval. Treat any untested internal pipeline as starting behind those figures.
Where can we get patent data to train or index on?
Free and public sources exist but are narrower than most build plans assume. The USPTO Open Data Portal is free and consolidates US patent data, though note PatentsView migrated into it on 20 March 2026 with some functions temporarily paused. The EPO offers bulk data sets: DOCDB gives worldwide bibliographic data, abstracts, citations and simple families but explicitly no full text or images; EP full text covers EPO publications from 1978; national full-text extracts cover France, Spain, Switzerland and the United Kingdom. The Google Patents Public Data set on BigQuery is worldwide bibliographic with US full text, licensed CC BY 4.0, though its maintaining repository was archived read-only in April 2026. WIPO prohibits bulk download and automated access to PATENTSCOPE and treats more than 10 search-related actions per minute from a single IP address as excessive.
What does it cost to run an in-house patent AI?
Token cost is the visible expense and rarely the decisive one. The costs that decide the business case are indexing, querying and evaluation. Embedding is recurring rather than one-off, because you repay it whenever you change embedding model or re-chunk, at published rates of roughly $0.02 to $0.12 per million tokens. If the corpus sits in BigQuery, on-demand queries are charged at $6.25 per tebibyte scanned after the first tebibyte free each month, and development is when you scan the most. The largest hidden cost is evaluation: building and maintaining a labelled set with examiner-cited ground truth, and re-running it on every change. Data licensing for anything beyond the free public sources sits on top of all of it.
Have lawyers actually been sanctioned for AI hallucinations in patent cases?
Yes. In Lexos Media IP, LLC v. Overstock.com, a patent infringement case in the District of Kansas, the court issued Rule 11 sanctions on 2 February 2026 against five lawyers after a brief contained nonexistent quotations and citations. The order records that counsel used ChatGPT as a shortcut to find Tenth Circuit and Federal Circuit case law and admitted he did not check the citations for accuracy. Fines totalled $12,000, one lawyer’s pro hac vice admission was revoked and a self-report to state disciplinary authorities was ordered. The foundational case remains Mata v. Avianca, where the court imposed a $5,000 sanction in 2023. A public database tracking such decisions recorded 1,922 cases as of 18 August 2026.
Does an internal AI tool avoid the confidentiality problem?
Only partly, because most internal builds call a third-party model API. The USPTO has warned that using AI systems for prior art searches or drafting may result in inadvertent disclosure of client-sensitive information to third parties, that AI systems may retain what users enter and use it for training or pass it to third parties, and that tools running on servers outside the United States raise export control and national security questions. ABA Formal Opinion 512 requires a client’s informed consent before inputting information relating to a representation into a generative AI tool. Whether you build or buy, the mitigations are the same and they are contractual: written zero-retention terms, no training on your data, documented data residency and published certifications.
What should we build ourselves, and what should we buy?
Build what is specific to your organisation and buy what is expensive to reconstruct. Good build projects: workflow and integration with your invention management and docketing systems, retrieval over your own internal filings and technical reports, triage and scoring rules that encode your own commercial policy, and an evaluation harness built from your own examiner citations. Buy the licensed worldwide corpus, the cross-domain retrieval stack and the compliance posture. In practice that means consuming patent search as an API or an MCP server rather than rebuilding it, then building the orchestration around it, which is where your team’s knowledge actually adds value.
Is it true that 80% of AI projects fail?
A figure of that shape appears in a RAND report published in August 2024, which notes that by some estimates more than 80 percent of AI projects fail, twice the rate of information technology projects that do not involve AI. Read it carefully before relying on it. RAND attributes that number to an outside survey rather than measuring it, and RAND’s own contribution is a root-cause analysis built on 65 semi-structured interviews with industry practitioners and academics conducted between August and December 2023. Treat it as a well-sourced framing from a named institution rather than a census of projects, and be sceptical of the many versions of this claim that carry no traceable source at all.

Sources and verification

Disclosure & disclaimer

Who published this. This article is published by Patsnap, which develops and sells Patsnap Eureka and the Patsnap Open Platform, commercial alternatives to the internal build discussed above. It is an editorial overview written by a participant in this market. It is not an independent or third-party review, and it has not been commissioned, sponsored, reviewed or endorsed by any other company named here.

How the information was gathered. Data licence terms, prices, research findings and court records are taken from the published pages, papers and orders cited, as accessed on August 18, 2026. They are not the result of hands-on testing or benchmarking by Patsnap. Where a source does not publish a fact, this article says so rather than inferring it. Published prices, licence terms, dataset availability and live case counts change frequently and may have changed since publication, so confirm anything material directly with the source before relying on it.

Scope and limitations. The research results cited measure specific tasks on specific datasets and do not generalise to every retrieval system or use case; the arithmetic illustration of embedding cost is derived from published unit prices on stated assumptions and is not a quoted price. Nothing here is intended to assert that any named product, dataset or service is inferior to any other. Performance and accuracy figures attributed to a product are that vendor’s own published results, obtained under that vendor’s own methodology, and have not been independently verified. No warranty is given as to the accuracy, completeness or currency of any information here.

Trademarks. All trademarks, service marks, product names and company names are the property of their respective owners and are used here solely for identification and descriptive purposes. Their use does not imply any affiliation with, sponsorship by, endorsement by or approval from their respective owners.

Not professional advice. This article is general information about software architecture and patent workflows. It is not legal advice, it does not create an attorney-client or any other professional relationship, and it should not be relied on in place of advice from qualified patent counsel on your specific circumstances. Descriptions of court decisions and agency guidance are summaries and are not a substitute for reading the primary documents.

  1. Patsnap Open Platform, MCP Servers marketplace: 32 servers and client setup instructions.
  2. EPO, DOCDB bulk data: worldwide bibliographic data, abstracts, citations and simple families, no full text or images.
  3. EPO, EP full-text data: machine-readable full text of EPO publications since 1978.
  4. EPO, National full-text data: character-coded extracts for France, Spain, Switzerland and the United Kingdom.
  5. Google Patents Public Data, dataset documentation: worldwide bibliographic and US full-text coverage, IFI CLAIMS collaboration, CC BY 4.0 licence.
  6. Google, patents-public-data repository: archived read-only on 18 April 2026.
  7. WIPO PATENTSCOPE, FAQs: bulk download and automated robots prohibited.
  8. WIPO PATENTSCOPE, terms of use: more than 10 search-related actions per minute from a single IP address treated as excessive, prohibitions on bulk acquisition, storage and redistribution, and on resale or sublicensing.
  9. USPTO, Open Data Portal launch: consolidation of PEDS and the Bulk Data Storage System.
  10. USPTO, PatentsView migrating to the Open Data Portal, 20 March 2026.
  11. Toward Optimal Search and Retrieval for RAG, arXiv:2411.07396: gold document recall versus search recall.
  12. Towards Understanding Retrieval Accuracy and Prompt Quality in RAG Systems, arXiv:2411.19463: recall thresholds and residual failure at perfect recall.
  13. DAPFAM: A Domain-Aware Family-level Dataset to benchmark cross domain patent retrieval, arXiv:2506.22141, Ayaou, Cavallucci and Chibane, 2025.
  14. Benchmarking Patent Embeddings: A Multi-Task Evaluation of 22 Models, arXiv:2605.24297.
  15. Seven Failure Points When Engineering a Retrieval Augmented Generation System, arXiv:2401.05856, Barnett et al.
  16. Large Legal Fictions: Profiling Legal Hallucinations in Large Language Models, Dahl, Magesh, Suzgun and Ho, arXiv:2401.01301; peer-reviewed in the Journal of Legal Analysis, vol. 16 (2024).
  17. Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools, Magesh, Surani, Dahl, Suzgun, Manning and Ho, arXiv:2405.20362; peer-reviewed in the Journal of Empirical Legal Studies (2025).
  18. Mata v. Avianca, Inc., No. 1:22-cv-01461 (S.D.N.Y. 22 June 2023), opinion and order on sanctions.
  19. Lexos Media IP, LLC v. Overstock.com, Inc., No. 22-2324-JAR (D. Kan. 2 February 2026), Memorandum and Order on Rule 11 sanctions (PDF via GovInfo).
  20. Damien Charlotin, AI Hallucination Cases database: 1,922 cases identified as of 18 August 2026. This is a live counter.
  21. USPTO, Guidance on Use of Artificial Intelligence-Based Tools in Practice Before the USPTO, 89 FR 25609, 11 April 2024.
  22. 37 CFR 11.18(b), eCFR: certifications made by the party presenting a paper to the USPTO.
  23. ABA Formal Opinion 512, Generative Artificial Intelligence Tools (PDF), 29 July 2024.
  24. WIPO, Generative AI: Navigating Intellectual Property (PDF), 2024.
  25. Voyage AI, pricing: published per-million-token embedding and reranking prices.
  26. Google Cloud, BigQuery pricing: on-demand query pricing per tebibyte and the monthly free tier.
  27. RAND, The Root Causes of Failure for Artificial Intelligence Projects and How They Can Succeed, Ryseff, De Bruhl and Newberry, 13 August 2024, RR-A2680-1. The 80 percent figure is quoted by RAND from an outside estimate; the 65-interview study is RAND’s root-cause analysis.
  28. Patsnap Open Platform, pricing: Starter tier, 10,000 credits for 90 days.
  29. Patsnap Eureka, IP Search agents: 200M+ patents across 174 jurisdictions, SOC 2, ISO 27001, GDPR and CCPA, no AI training on user data.
  30. Patsnap, PatentBench for Novelty Search: metric definitions, 340-sample cross-jurisdiction dataset, examiner-cited ground truth, test date July 2026.

Build the part only you can build

Take the licensed corpus, the retrieval stack and the compliance posture as an API. Spend your engineering on the workflow, the integrations and the evaluation harness that are actually yours.

Get an API key

Your Agentic AI Partner
for Smarter Innovation

Patsnap fuses the world’s largest proprietary innovation dataset with cutting-edge AI to
supercharge R&D, IP strategy, materials science, and drug discovery.

Book a demo