---
title: "What is an open-weights model? Open weights vs open source"
description: "An open-weights model publishes its trained parameters for anyone to download and run. How open weights differ from open source AI, and what the licenses allow."
type: "glossary-term"
canonical_url: "https://theaiengineering.com/glossary/open-weights-model"
markdown_url: "https://theaiengineering.com/glossary/open-weights-model.md"
topic: "LLM models and benchmarks"
author: "The AI Engineering Editors"
publisher: "The AI Engineering"
updated: "2026-11-06"
keywords: ["Open-weights model","open-weight model","open model","open-weight LLM"]
citation: "The AI Engineering Editors. \"What is an open-weights model? Open weights vs open source.\" The AI Engineering, updated Nov 06, 2026. https://theaiengineering.com/glossary/open-weights-model"
---

# What is an open-weights model? Open weights vs open source

Also called open-weight model, open model, open-weight LLM.

> **Definition of Open-weights model:** An open-weights model is an AI model whose trained parameters are published for download, so anyone can run, fine-tune, or quantize it on their own hardware under the terms of its license.

An open-weights model is a model whose trained parameters, the weights, are published for anyone to download. A team can run it on its own GPUs, [quantize](https://theaiengineering.com/glossary/quantization) it to fit smaller hardware, or [fine-tune](https://theaiengineering.com/glossary/fine-tuning) it on private data that never leaves its infrastructure. Whoever downloads the weights also takes on serving, scaling, and upgrades. The [release tracker](https://theaiengineering.com/releases) marks each model release as open-weights or proprietary and can filter to open weights only.

## Open weights vs open source

Open weights means the parameters can be downloaded. Open source AI, as the Open Source Initiative (OSI) defines it, also requires the training code and enough information about the training data to rebuild the system. Most open-weights releases publish only weights and inference code, often under licenses that restrict some uses.

The [Open Source AI Definition](https://opensource.org/ai/open-source-ai-definition) is at version 1.0, released by the OSI on October 28, 2024. It requires three components under open terms:

- **Data information:** a complete description of the training data, detailed enough that a skilled person could build a substantially equivalent system, plus where to obtain the public and third-party data.
- **Code:** the complete source code used to train and run the system, including data processing and filtering.
- **Parameters:** the weights and other configuration settings, which can include checkpoints from key stages of training.

The definition asks for a description of the data, not the data itself. In the OSI's [validation phase](https://opensource.org/ai/faq), Pythia, OLMo, Amber, CrystalCoder, and T5 passed, while Llama 2, Grok, Phi-2, and Mixtral did not, because components were missing or their legal terms conflicted with open source principles. The OSI states that these results are not certifications.

## Open-weights licenses

Open-weights licenses fall into two broad groups. Standard permissive licenses such as Apache 2.0 or MIT allow commercial use, modification, and redistribution with few conditions. Custom licenses written by the model developer can add acceptable use policies, non-commercial terms, or limits for very large companies, and they differ from one developer to the next.

Two releases show the range. OpenAI published [gpt-oss-120b and gpt-oss-20b](https://github.com/openai/gpt-oss) under Apache 2.0 in [August 2025](https://theaiengineering.com/releases/2025/08#gpt-oss). Meta released [Llama 3.1](https://theaiengineering.com/releases/2024/07#llama-3-1) under the [Llama 3.1 Community License](https://www.llama.com/llama3_1/license/), which incorporates an Acceptable Use Policy and requires any licensee whose products had more than 700 million monthly active users to request a separate license from Meta. Read the license for the exact model version you deploy, since terms can change between releases.

## Running an open-weights model

Running an open-weights model means choosing hardware, a numeric precision, and a serving engine. Engines such as vLLM, SGLang, llama.cpp, and Ollama load the weights and serve requests; quantized files in formats such as [GGUF](https://theaiengineering.com/glossary/gguf) cut memory needs enough to run smaller models on a laptop.

Teams that want the model without managing GPUs can use [inference providers](https://theaiengineering.com/platforms/inference-providers) that host popular open-weights models behind an API.

[vLLM vs Ollama](https://theaiengineering.com/articles/vllm-vs-ollama) compares the [serving engines](https://theaiengineering.com/platforms/serving-engines) most teams use to run open-weights models.

## Related terms

- [Foundation model](https://theaiengineering.com/glossary/foundation-model): A foundation model is a large AI model trained on broad data, usually with self-supervised learning at scale, that can be adapted through prompting or fine-tuning to a wide range of downstream tasks.
- [Quantization](https://theaiengineering.com/glossary/quantization): Quantization is a model compression technique that represents a neural network's weights, and sometimes its activations or KV cache, with fewer bits, such as 8-bit or 4-bit integers instead of 16-bit floats.
- [Fine-tuning](https://theaiengineering.com/glossary/fine-tuning): Fine-tuning is the process of further training a pretrained model on a smaller, task-specific dataset so its weights change to improve performance on a particular task, domain, style, or output format.
- [Inference engine](https://theaiengineering.com/glossary/inference-engine): An inference engine is the software that serves a trained language model: it loads the weights, batches incoming requests, manages KV cache memory, runs the forward passes, and streams generated tokens over an API.
- [GGUF](https://theaiengineering.com/glossary/gguf): GGUF is a binary file format for running LLMs with GGML-based engines such as llama.cpp, packing the weights, often quantized, and all the metadata needed to load the model into one file.
- [Small language model](https://theaiengineering.com/glossary/small-language-model): A small language model (SLM) is a language model compact enough to run on a consumer device such as a laptop or phone, which in 2025 generally meant fewer than about 10 billion parameters.

## Guides that cover open-weights model

- [What is AI engineering? The discipline, the stack, and the work](https://theaiengineering.com/articles/what-is-ai-engineering): What is AI engineering? A plain definition, how it differs from ML and software engineering, the layers of the stack, and what AI engineers do day to day.
- [Reasoning models: how they work and when to use them](https://theaiengineering.com/articles/reasoning-models): Reasoning models explained: how test-time compute and reinforcement learning produce chain-of-thought reasoning, when to use them, and their cost and latency.
- [LLM benchmarks explained: what they measure and how to read them](https://theaiengineering.com/articles/llm-benchmarks): LLM benchmarks explained: what MMLU-Pro, GPQA, SWE-bench, LiveCodeBench, ARC-AGI, and LMArena measure, why scores saturate, and how to read a leaderboard.
- [vLLM vs Ollama vs llama.cpp vs SGLang: which engine to use](https://theaiengineering.com/articles/vllm-vs-ollama): vLLM vs Ollama compared with llama.cpp, SGLang, LM Studio, and TensorRT-LLM: scope, hardware, APIs, concurrency, and which engine fits local or production use.
- [Best LLM for coding: models compared on agentic coding benchmarks](https://theaiengineering.com/articles/best-llm-for-coding): The best LLM for coding depends on the job: 11 models compared on Terminal-Bench 4.0, DeepSWE, and SWE-bench Pro, plus context, open weights, and cost.

Part of the [LLM models and benchmarks](https://theaiengineering.com/topics/models) topic hub.

## Cite this definition

The AI Engineering Editors. "What is an open-weights model? Open weights vs open source." The AI Engineering, updated Nov 06, 2026. https://theaiengineering.com/glossary/open-weights-model

- Title: What is an open-weights model? Open weights vs open source
- Author: The AI Engineering Editors
- Publisher: The AI Engineering
- Updated: 2026-11-06
- URL: https://theaiengineering.com/glossary/open-weights-model
- Markdown: https://theaiengineering.com/glossary/open-weights-model.md
