# IP ownership

> IP ownership is the question of who holds the legal rights to what a build produces, such as the code, prompts, trained models, datasets and documentation, once the work is delivered and paid for.

Also called: intellectual property ownership, IP assignment, code ownership, who owns the code. Category: Pricing and contracts. Source: https://aibuildindex.com/glossary/ip-ownership

## In the index

- Custom AI agent: median $3,850, middle half $600 to $10,000, 2,831 priced briefs (https://aibuildindex.com/cost/custom-ai-agent)
- LLM fine-tuning: median $3,500, middle half $420 to $13,700, 78 priced briefs (https://aibuildindex.com/cost/llm-fine-tuning)

When a builder delivers an AI system, several things change hands at once: source code, prompts, workflow files, evaluation sets, sometimes a fine-tuned model. IP ownership is the agreement about which of those the buyer owns outright, which the builder keeps, and which belong to a third party such as a model provider. It matters because an AI build is rarely finished on handover day. If the buyer does not own or hold a licence to the parts they need, changing builders or extending the system later can be slow, costly or blocked.

## How it works

Most contracts handle IP in one of three ways. The first is full assignment: everything written for the project transfers to the buyer on payment. The second is a licence: the builder keeps ownership of reusable components, such as an internal framework or a library of prompt templates, and grants the buyer a right to use them. The third is a mix, where project-specific work is assigned and pre-existing tools are licensed. A [statement of work](https://aibuildindex.com/glossary/statement-of-work) is the usual place to set this out.

AI builds add layers that ordinary software contracts may not cover:

- **Model weights.** If the builder [fine-tunes](https://aibuildindex.com/glossary/fine-tuning) a model, the contract should say who owns the resulting weights, and whether the base model's own licence allows that use. An [open-weight model](https://aibuildindex.com/glossary/open-weight-model) and a hosted API come with very different terms.
- **Data.** Training sets, labelled examples and evaluation sets often take real effort to build. They are easy to forget in an assignment clause.
- **Prompts and configuration.** In many builds the prompts and workflow files carry most of the value, so they deserve the same treatment as code.

This is a general explanation, not legal advice. Contract terms vary by country, and a lawyer should review any assignment that matters to the business.

## What it means for cost

Full assignment of everything tends to raise a quote, because the builder gives up the right to reuse that work for other buyers. A licence to a builder's existing framework can lower the price and shorten delivery, at the cost of some dependence. That trade-off links directly to [vendor lock-in](https://aibuildindex.com/glossary/vendor-lock-in): the more of the system rests on components only one team can change, the more future work is priced on their terms.

When comparing quotes, ask each builder:

- Which parts of the delivery are assigned to us, and which are licensed?
- Are any components shared with other buyers or kept private to you?
- Who owns trained models and datasets, and can we export them?
- What do we receive at [handover](https://aibuildindex.com/glossary/handover) so another team could take over?

Two quotes at a similar price can carry very different long-term costs depending on these answers.

## Common questions

### Do I automatically own code I paid for?

Not always. In many places the author of code owns it unless a written agreement assigns it to the buyer. Payment alone may not transfer ownership, so the contract should say so explicitly. Check this with a lawyer for your own jurisdiction.

### Can I own the AI model my builder used?

Usually not when the system calls a hosted model through an API, because the provider keeps the model and grants you usage rights under its terms. You can own your prompts, data, code and any fine-tuned weights where the provider's terms allow it.

### Why would a builder refuse full assignment?

Many teams reuse their own tools across projects to deliver faster. Assigning those tools to one buyer would stop them using their own work. A licence to those parts, with assignment of everything built for you, is a common middle ground.

## Related terms

- [Statement of work (SOW)](https://aibuildindex.com/glossary/statement-of-work): A statement of work is a contract document that sets out exactly what a builder will deliver, how and when, how acceptance will be judged, what it costs and what is excluded.
- [Vendor lock-in](https://aibuildindex.com/glossary/vendor-lock-in): Vendor lock-in is a situation where switching away from a model provider, platform or builder would be so costly or disruptive that a business stays with them even when a better or cheaper option exists.
- [Handover and documentation](https://aibuildindex.com/glossary/handover): Handover and documentation is the final stage of a build in which the builder transfers code, accounts, credentials and written explanations to the buyer, so the system can be run, changed and supported without them.
- [Fine-tuning](https://aibuildindex.com/glossary/fine-tuning): Fine-tuning is the process of further training an existing AI model on a smaller set of task-specific examples so that it reliably adopts a particular behaviour, format, tone or specialised skill.
- [Open-weight model](https://aibuildindex.com/glossary/open-weight-model): An open-weight model is an AI model whose trained weights are published for download, so organisations can run, inspect and fine-tune it on their own infrastructure instead of only accessing it through a provider's API.
- [Fixed-price contract](https://aibuildindex.com/glossary/fixed-price-contract): A fixed-price contract is an agreement in which the builder delivers a defined scope of work for a total price agreed in advance, so the buyer's cost stays the same unless the scope changes.
