Publication

Software investment in the AI era: A lawyer’s perspective

aidatalandscape.jpg aidatalandscape.jpg

The pace at which artificial intelligence (AI) is reshaping the software landscape is significant.

For years, AI on a software deal was a line on the product roadmap. It isn’t any more. It now shapes what a software business is worth, where its risks sit and how the deal has to be papered.

Let’s use a company of a kind we have seen a lot of lately: a fast-growing business that sells AI-enabled products and services, built on the large language models (LLMs) of the major providers and not on the company’s own model. Let’s imagine that a private equity sponsor is looking at it. There is real growth, an impressive customer list and recurring revenue, as well as a commercial story that the sponsor and its advisers believe in. We’ll use this target as a running example, not because the law is different for this kind of company, but because it makes the pressure-points more visible.

On a traditional software deal, the target’s value sat in what it owned (its code, its people and its customers). On a deal involving a significant AI component, much of both the value and the risk has moved outside the target’s control: the terms on which it licenses its models, the ownership of what it builds, whether a regulator clears the deal and whether anyone will insure it. This article is about those external dependencies, and what a buyer needs to think about in advance.

What to investigate? Is the target renting its engine?

An investor will typically commission a technical review that specifically addresses (among other things) model dependencies, the portability of the product if an AI model provider changes its pricing or terms or discontinues a model version, as well as the extent to which customer value is genuinely linked to the target’s own intellectual property (IP) (rather than freely available foundation model capabilities). Some investors screen their investments based on similar criteria.

But, on the legal side, the first question is simple: to what extent does the target company’s product rely on third-party AI models versus proprietary AI capabilities? Typically, most target businesses do not build their own AI models. They rent it, plugging into models built by OpenAI, Anthropic or Google and paying per unit of use, priced in “tokens”.

The legal exposure is easier to miss and applies to all target companies that rely on third-party AI models. When a target company signed contracts with its customers, its contract with its principal AI provider (i.e. the LLM contract) was almost certainly not being negotiated at the same time. The two sets of agreements are negotiated separately, at different times, and usually on different pricing. Typically, the contracts with its customers will be on fixed (multi-year) terms, but the underlying AI capabilities are supplied by the LLM provider on terms that the provider can change. And, crucially, if token costs rise the target is caught between the two.

That gap is only the symptom. The real problem is that the LLM contract may be terminable at short notice, be subject to repricing or be dependent on a model the provider can retire or significantly change, whilst the target remains locked into fixed commitments to its own customers (typically with no way to pass-on the increased cost). The core risk is therefore that the business could be subject to contractual obligations to deliver services at a price it can no longer afford.

The answer is to treat the LLM contract as central to the deal, and not as a routine supplier agreement (and to deep dive into it from the outset). Three questions will be core:

  • How can the pricing change? Read the LLM provider’s rights, when and how it can re-price, reduce access or retire the specific model, and how much notice the target actually gets.

  • Is there a change-of-control trigger? Check whether the acquisition itself gives the provider a right to renegotiate or terminate. This is a trap easily missed: the target’s most important supply relationship can reset on worse terms the moment the deal signs.

  • How replaceable is the LLM provider? Establish whether the target could realistically switch. Sometimes there is a genuine fallback, but sometimes the product is tightly built around one LLM that there is no alternative short of rebuilding the product if the provider changes, and a company with no alternative is potentially carrying a risk that belongs on the list of key deal issues.

Where the target genuinely depends on a single provider, it needs to be considered whether this is something to be resolved before completion (and whether it can be resolved through contract terms, price or structure).

That discipline pays twice. Whoever buys the business three or four years in the future will run those same checks, and an unresolved single-provider dependency will potentially become a deal issue at that time as well. Knowing about it at the time of purchase can allow the parties to deal with it up-front and see if solutions can be found.

Have you bottomed out foreign direct investment early enough?

Most governments now screen investment into sensitive parts of the economy and have the power to review, condition or unwind a deal so that national strategic capability is kept in safe hands. In the UK that regime is the National Security and Investment Act (NSIA), and AI is one of the sectors it covers, with equivalents across most jurisdictions.

The mistake is to assume that a business is not caught because it doesn’t build its own models. It isn’t that clean because integrating third-party AI deeply enough can be sufficient, and the sector definitions carry more nuance or uncertainty than first appear. This requires early specialist legal assessment and not a commercial review.

This should not slow down a transaction if it is dealt with sufficiently early-on. A mandatory filing is suspensory, and a deal can’t complete until it clears. If the analysis is conducted at the start of exclusivity, a filing can be made early in the transaction and run in parallel with the sale and purchase agreement, so that ideally NSIA clearance lands in time for a simultaneous signing and completion (or at least with only a short gap).

Leave it late and you lose that option: a split signing and completion, a clearance period hanging over the deal and a material adverse change clause and interim period restrictions to negotiate that you would rather not have needed. The filing is rarely the hard part, but discovering it late is.

The same question returns at exit. A buyer will check that past dealings in the target’s shares were correctly cleared, and an unnotified acquisition that should have been notified is a defect in the company’s history.

Does the target own its value?

Every buyer asks whether the target owns its technology. For an AI-enabled software business the answer has layers, and the one that matters most is the one most often skipped.

The target almost certainly did not build a model from scratch. It took a foundation model from one of the major providers and trained it further on its own data to specialise and fine tune it, and that customised model is usually where its real edge and competitive advantage, lives. The instinct is to treat that edge as owned. Often, it isn’t.

A target’s training data and prompts are, as a rule, genuinely its own, but the base LLM model plainly is not. The awkward layer is the one in between those two, being a layer which has usually been fine-tuned by the target business, and which is frequently not owned but licensed, hosted by the LLM provider, usable only on the LLM provider’s terms and often difficult or impossible to run elsewhere. So, the asset the investor is paying for may be one the target cannot easily transfer, extract, or control. On the wrong terms, it could be seen as temporary.

This has to be established early, because it can’t be fixed after completion. Whether the target owns its fine-tuned model, can extract it and can run it independently is a question relating to the LLM provider’s terms and technical functionality, and not the target’s own IP register.

Two further questions sit alongside it:

  • Who owns what the AI provider produces? Where the product delivers AI-generated output to customers, ownership should be settled in the customer contracts. The law here may be unclear, but the uncertainty is manageable: a well-informed buyer can allocate the risk in the drafting and/or pricing.

  • Is the code actually clean? AI now writes a meaningful share of software and can quietly pull in third-party or open-source code carrying its own licence conditions. A codebase everyone assumes is wholly owned may not be, and this is a due diligence question that barely existed a few years ago.

Data

Proprietary data is increasingly the differentiator for AI-powered software businesses. Due diligence should map-out what customer data the target company holds, how it is used to train or fine-tune models, and critically, what consents or contractual rights underpin that use. Customer agreements must be reviewed carefully: do they permit the company to use customer data to improve its AI models? In the post- GDPR and post-DPA 2018 world, the answer is frequently ambiguous or silent. An undisclosed practice of training on customer data without adequate contractual rights could expose the business to regulatory sanction, customer claims and reputational damage.

Can you even insure the AI risk?

Once the risks are found, the job is to work out how to deal with them in the context of the transaction, and the sharpest question is not how to draft the AI protections, it’s whether an insurer will stand behind them.

Most acquisitions involve warranty and indemnity (W&I) insurance where instead of chasing the seller on a warranty breach the buyer claims against an insurer. Whether the AI warranties attract that cover is heavily dependent on the quality of the technical and legal diligence behind them. Insurers have decades of claims history data on tax, IP and employment risk. On AI they have very little so far and will lean hard on the due diligence work done before signing. Thin diligence, and the AI warranties are the ones most likely to be excluded or heavily conditioned. Good diligence (often more on the technical side rather than legal) is often the price of insuring them at all.

That turns the diligence from good practice into a commercial necessity, and it shapes three things in the drafting.

Fit-for-purpose warranties – The AI warranties have to cover the actual risk. Boilerplate IP and technology warranties are not sufficient, and the suite should be tailored to the deal.

Cover for those warranties – Each warranty needs a home. The default is W&I and getting the AI warranties inside the policy is the real work, which loops back to due diligence. Where cover isn’t available, the question becomes who will stand behind those warranties and on what terms.

Find the gaps early – Establish what the insurer won’t cover before it is too late to react and then decide whether any gap is a deal-killer or if a specific indemnity or some other mitigation is needed. A known problem, uninsured and un-indemnified, is one a buyer ends up potentially needing to wear.

Does the risk stop at signing?

It doesn’t. An AI-enabled business does not stand still after completion, and neither does its risk. Any due diligence exercise is a snapshot, whereas these types of risk are a moving picture. A clean data-protection position at exchange means little if, six months later, the company starts training its models on customer data without the required consents, recreating the same exposure a buyer paid to verify. The same goes for a quiet switch of core AI provider, which resets the dependency and cost position covered at the start of this piece.

A buyer should consider any controls that it requires to sit in the investment agreement from the outset, such as investor consents covering any new use of customer data to train the models and over material changes of provider, together with information rights drawn widely enough to let the investor track the issues identified.

The through-line across all of this is a simple one. In a business that is heavily reliant on AI, what matters more than ever are what factors sit outside the target’s own control, and as a result, the legal read on what the target does not control becomes less of a standard check and a more central part of the deal itself.

Our firm

We are a full-service global law firm that acts regularly on technology and software investments in the UK, Europe, Asia Pacific and the US.

Our firm was ranked by Pitchbook as the most active law firm in UK private equity in 2024 and 2025, and based on Mergermarket findings, has advised on the second highest number of UK private equity deals in 2026.