Some AI models are only available through their developer's service. Others can be downloaded and run by anyone. The downloadable kind are called open-weight models, and they are what make local and self-hosted AI possible. This article explains what open weights means, how it differs from open source, and how to choose a model.
What "weights" are
A trained model is, at its core, a very large set of numbers called weights or parameters. These numbers encode everything the model learned during training. See What a model is. Whoever has the weight files, along with software to run them, can use the model.
Closed, open-weight, and open-source
Models fall roughly into three groups:
Closed models
The weights are kept private. You can use the model only through the developer's apps and API, or through partner platforms. Many of the most capable frontier models are closed. You get convenience and top capability, but you depend on the provider for access, pricing, policies, and the model's continued availability.
Open-weight models
The weights are published for download, usually with documentation and a license describing how they may be used. You can run the model on your own hardware, choose any hosting provider, fine-tune it, and keep using a version indefinitely. However, the training data and full training process are often not published.
Fully open-source models
Some projects go further and publish not only the weights but also the training code, data details, and methods, so others can study and reproduce the work. These are less common among the most capable models.
People often use "open source" loosely to describe open-weight models. Strictly speaking, many popular downloadable models are open weight rather than fully open source, and some have licenses with restrictions that do not meet traditional open-source definitions.
Who releases open-weight models
Many organizations publish open-weight models, including Meta (Llama), Mistral, Alibaba (Qwen), DeepSeek, Google (Gemma), Microsoft (Phi), OpenAI, and others, alongside many research groups and companies that release specialized or fine-tuned versions. New releases appear frequently, and the leaders change often, so check current comparisons and your own tests rather than relying on a fixed list.
Hugging Face is the main hub where model weights are published, along with model cards describing each model's intended use, capabilities, limitations, and license.
Why open weights matter
- Privacy: run the model where your data lives, without sending it to a third party. See What running AI locally means.
- Control and stability: a model version you download does not change or disappear.
- Choice of hosting: run it yourself, or pick among multiple hosting providers that serve the same model, often at competitive prices.
- Customization: fine-tune the model on your own examples. See Fine-tuning explained.
- Cost: no per-token license fee for self-hosting; you pay for hardware or hosting instead.
- Transparency: researchers and users can inspect and evaluate the model more freely.
What to check in a license
Open weights do not always mean unrestricted use. Before using a model commercially, read its license and look for:
- Commercial use: some licenses allow it freely, some restrict it, and some require separate agreements above a certain size of business or user count.
- Acceptable use policies: many licenses prohibit specific uses.
- Attribution and naming requirements: some require crediting the model or including certain terms in derived models.
- Restrictions on using outputs to train other models.
- Redistribution terms if you plan to share a fine-tuned version.
Common permissive licenses such as Apache 2.0 and MIT are straightforward. Custom model licenses vary and deserve a careful read. When in doubt for a significant commercial project, ask a lawyer.
Understanding model names and variants
Open-weight model listings can be confusing. Common terms:
- Size: usually given in billions of parameters, such as 8B or 70B. Larger models are generally more capable but need more memory. See Hardware for local AI.
- Base versus instruct or chat: base models are pretrained only and continue text. Instruct or chat models are tuned to follow instructions and are what most people want.
- Mixture of experts (MoE): a design where only part of the model is active for each token. These models can be large in total size but run faster than their size suggests, though they still need memory for all the weights.
- Quantized versions: compressed versions, labeled with formats like GGUF and bit levels like Q4 or Q8, that use less memory.
- Context length: how much text the model can handle at once.
- Specialized variants: coding, vision, reasoning, or language-specific versions.
How to choose an open-weight model
- Define the task: chat and drafting, document Q&A, coding, extraction, classification, or something else.
- Know your hardware limits, which determine the maximum size you can run.
- Shortlist a few candidates from reputable developers that fit your hardware, using current leaderboards and community reviews as a starting point.
- Check the licenses for your intended use.
- Test on your own examples with the same prompts, comparing quality, speed, and how well each follows instructions. See Selecting the right model.
- Consider language support if you work in languages other than English.
- Pick the smallest model that meets your quality bar, leaving room for context and growth.
Safety and trust considerations
- Download from official sources. Model files from unofficial uploads could be altered. Prefer the developer's official repository or well-known, trusted quantizers.
- Prefer safe file formats. Formats like safetensors and GGUF are designed to store weights without running code. Be cautious with older formats that can execute code when loaded.
- Evaluate behavior. Open-weight models vary in how they handle harmful requests, bias, and factual accuracy. Test for your use case.
- Apply your own safeguards. When you run the model, you are responsible for filtering, monitoring, and appropriate use.
Key takeaways
- Open-weight models publish their trained weights so anyone can download and run them.
- They differ from closed models, which are API-only, and from fully open-source models, which also publish training data and code.
- Benefits include privacy, control, hosting choice, customization, and cost predictability.
- Always check the license, especially for commercial use.
- Choose by testing a few candidates that fit your hardware on your own tasks.