# 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.

Also called: open model, open-source model, open-source LLM, self-hosted model, downloadable model. Category: Models and training. Source: https://aibuildindex.com/glossary/open-weight-model

## In the index

- Llama: median $2,000, middle half $500 to $7,100, 79 priced briefs (https://aibuildindex.com/tools/llama)
- Hugging Face: median $2,550, middle half $1,000 to $9,450, 50 priced briefs (https://aibuildindex.com/tools/hugging-face)

Most leading commercial models are closed: you send requests to the provider and never see the model itself. An open-weight model is different. Its weights, the learned numbers that make up the model, are released for anyone to download under a licence. A business can then run it on its own servers or cloud account, adapt it, and keep data entirely in its own environment. Meta's Llama family and models from Mistral are well-known examples, and many others are shared through Hugging Face.

## How it works

Releasing weights is not quite the same as open source in the traditional software sense. Often the training data and full training code are not published, and licences vary: some allow broad commercial use, others carry conditions such as limits on very large deployments or restrictions on certain uses. Checking the licence is the first step in any build.

Once downloaded, an open-weight model can be:

- **Self-hosted** on rented graphics processors or a company's own hardware, using serving software that handles requests.
- **Compressed** with [quantization](https://aibuildindex.com/glossary/quantization) so it runs on smaller, cheaper machines.
- **Adapted** with [fine-tuning](https://aibuildindex.com/glossary/fine-tuning) or lighter methods such as [LoRA](https://aibuildindex.com/glossary/lora) to suit a specific task.
- **Run through a third-party host** that offers the same open model over an API, without managing hardware.

A healthcare provider with strict data rules, for instance, might run an open-weight model inside its own cloud account to summarise clinical notes, so no patient text leaves its environment.

## What it means for cost

Open-weight models trade per-request fees for infrastructure and engineering. There is no charge for the weights themselves, but someone has to provision hardware, keep the serving stack running, monitor it, apply updates and plan for peaks in demand. At low or uneven volume a hosted API is usually cheaper and simpler. At steady high volume, or where data must stay in-house, self-hosting can make sense.

Ask a builder to compare the total running cost of both routes at your expected volume, including the people time to maintain a self-hosted model, and to confirm the licence fits your use.

## Common questions

### Are open-weight models as good as closed ones?

The best closed models have generally led on the hardest tasks, but open-weight models are often capable enough for focused business jobs, especially after fine-tuning. The gap depends on the task, so testing both on real examples is the reliable way to decide.

### Is an open-weight model free to use?

The weights are free to download under their licence, but running the model is not free. Hardware, hosting and maintenance costs replace the per-request fees of an API.

### Is self-hosting automatically more secure?

It keeps data within your environment, which helps with data rules, but security then depends on how well your team configures and maintains that environment. A poorly secured self-hosted model can be riskier than a well-governed provider.

## Related terms

- [Foundation model](https://aibuildindex.com/glossary/foundation-model): A foundation model is a large AI model trained on broad data that can be adapted to many different tasks, such as writing, coding, image understanding or classification, rather than built for one job.
- [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.
- [Quantization](https://aibuildindex.com/glossary/quantization): Quantization is a technique that stores an AI model's numbers at lower precision, which makes the model smaller and faster to run on cheaper hardware at the cost of a usually small loss in quality.
- [Small language model](https://aibuildindex.com/glossary/small-language-model): A small language model is a compact language model with far fewer parameters than leading large models, built to be cheaper and faster to run, often on modest hardware or devices, while handling focused tasks well.
- [Inference](https://aibuildindex.com/glossary/inference): Inference is the stage where a trained AI model is used to produce outputs, such as answers, classifications or images, from new inputs, as opposed to training, where the model learns from data.
- [LoRA (low-rank adaptation)](https://aibuildindex.com/glossary/lora): LoRA, or low-rank adaptation, is a fine-tuning method that trains a small set of extra weights alongside a frozen base model, making it far cheaper and quicker to adapt a large model to a specific task.
