Open Weight vs Open Source: Licenses
Open weight or open source: what Apache 2.0, MIT, Llama, Gemma, Qwen and other open model licenses allow commercially, with the clauses quoted.
Read the articleAugust 25, 2026 · Updated on November 12, 2026 · 23 min read

Open source AI models come in two very different classes in 2026. For your own machine, the useful ones have 20 to 35 billion parameters, such as Qwen3.8-27B, Meta's Muse Glimmer 30B, Google's Gemma 4 and OpenAI's gpt-oss-20b, all under Apache 2.0 and fine for commercial use. The large open models such as DeepSeek V4, Kimi K3, GLM-5.3, Muse Spark Open or Mistral Large 4 have hundreds of billions to trillions of parameters and belong in a data center.
Check two things before you use any of them:
I run my business with an AI workforce of fifteen AI employees built on Claude. Alongside that I test how far open models get on my own hardware, currently an Nvidia DGX Spark. Everything I write about local AI is collected on the AI page. The tables below come from the model cards and license texts I pulled myself. Of these models, I have only measured Qwen3.8-27B.
There is no single best model. What's best for you depends first on how much memory your machine has, then on the license. My picks, based on the vendors' figures:
| Use and memory | My picks | License |
|---|---|---|
| Laptop, up to 16 GB | gpt-oss-20b, Gemma 4 E4B or 12B, Granite 4.2 8B | Apache 2.0 |
| Strong GPU or a Mac with 24 to 32 GB | Qwen3.8-27B (my daily driver), Muse Glimmer 30B at 4-bit, Gemma 4 31B or 26B A4B, Devstral Small 2 for coding | Apache 2.0 |
| Workstation with 64 to 128 GB, such as a DGX Spark | gpt-oss-120b, Mistral Small 4 at 4-bit, Nemotron 3.5 Super as NVFP4 | Apache 2.0, Nemotron: OpenMDW-1.1 |
| Server and data center | DeepSeek V4 under MIT, Mistral Large 4 from Europe, Kimi K3, GLM-5.3 | MIT for DeepSeek, otherwise vendor licenses with conditions |
| Other languages and Europe | Granite 4.2 (German among the tested languages on its card), Apertus 1.5 from Switzerland with open training data, Mistral; Teuken-7B for non-commercial use only | Apache 2.0 (Mistral: depends on the model), Teuken: CC BY-NC 4.0 |
Sizes, hardware and license terms for every model are in the tables further down.
Strictly speaking, most models in this post are open-weight models: you get the trained weights as a download, but not the training data and not the complete training code. The Open Source Initiative's Open Source AI Definition 1.0 asks for more: information about the training data and the complete code for training and running the system. In everyday use, almost everyone still says "open source". With both terms, I always mean weights you may download and run yourself. What you may do with them is decided by the license alone. The difference, and the license clauses word for word, are in Open Weight vs Open Source: Licenses.
As of November 2026. Sizes and hardware come from the model cards on Hugging Face or from the vendors, licenses from the license files. The "Commercial" column is my reading of the license text for a small business that runs the model itself. This isn't legal advice. What "with conditions" means in each case is in the license section below. Which model fits your use technically is something we'll look at together.
| Model (vendor) | License | Commercial | Parameters total / active | Memory and hardware |
|---|---|---|---|---|
| Qwen3.8-27B (Alibaba) | Apache 2.0 | yes | 27B, dense | 21.9 GB as NVFP4 on my DGX Spark |
| Gemma 4: E2B, E4B, 12B, 26B A4B, 31B (Google) | Apache 2.0 | yes | 31B: 30.7B; 26B A4B: 25.2B / 3.8B | E2B and E4B for phones and laptops, the larger ones for consumer GPUs and workstations |
| gpt-oss-20b, gpt-oss-120b (OpenAI) | Apache 2.0 | yes | 21B / 3.6B; 117B / 5.1B | 20b within 16 GB of memory, 120b on a single 80 GB GPU |
| Muse Glimmer 30B (Meta) | Apache 2.0 plus usage policy | yes | 30B | under 20 GB at 4-bit, designed for 24 or 32 GB |
| Mistral Small 4 (Mistral) | Apache 2.0 | yes | 119B / 6.5B | NVFP4 version from Mistral with 70.8 GB of files |
| Ministral 3 14B, Devstral Small 2 24B (Mistral) | Apache 2.0 | yes | 14B; 24B | Ministral in 24 GB of VRAM at FP8; Devstral on a single RTX 4090 or a Mac with 32 GB |
| Nemotron 3.5 Super VL, Bolt, Lightning (Nvidia) | OpenMDW-1.1 | yes | 120B / 12B; 74B / 9B; 30B / 3B | Super: NVFP4 version for the DGX Spark; Bolt: dedicated 24 GB version; Lightning: one 80 GB H100 |
| Llama 4 Scout (Meta) | Llama 4 Community License | not for companies with their principal place of business in the EU | 109B / 17B | according to Meta, one H100 with int4 quantization; 67 GB in Ollama |
| LFM2.5-24B-A2B (Liquid AI) | LFM Open License 1.0 | with conditions | 24B / 2B | built to run on the device |
| Apertus 1.5 8B (Swiss AI) | Apache 2.0 plus usage policy, download after sharing contact details | yes | 8.9B | about 18 GB of files in BF16 |
| Granite 4.2: 3B, 8B, 30B (IBM) | Apache 2.0 | yes | 30B: 29.3B | in Ollama 2.2 GB (3B), 5.3 GB (8B) and 18 GB (30B) |
| Teuken-7B-instruct v0.6 (OpenGPT-X) | CC BY-NC 4.0 | no | 7.5B | about 15 GB of files in BF16 |
| Model (vendor) | License | Commercial | Parameters total / active | Memory and hardware |
|---|---|---|---|---|
| DeepSeek V4-Pro, V4-Flash, V4.1-Flash (DeepSeek) | MIT | yes | 1.6T / 49B; 284B / 13B; 552B backbone | several GPUs or a data center; the V4-Flash files alone take up about 160 GB |
| Mistral Large 4 (Mistral) | Mistral Ecosystem Open-Weight License | with conditions | 1T / 52B | Mistral's example runs on 8 GPUs; files about 1,060 GB, about 610 GB as NVFP4 |
| Mistral Medium 3.5 (Mistral) | Modified MIT | with conditions | 128B, dense | server; the weights come in BF16 and FP8 |
| Qwen3.8-Flash-Next (Alibaba) | Qwen Community License 1.0 | with conditions | 125B / 6B, plus 51B n-gram embedding | server |
| Kimi K3, K3.1 Pro (Moonshot AI) | a separate license for each model | with conditions | 2.8T / 104B | data center |
| GLM-5.3, GLM-5.3-Flash (Z.ai) | GLM-5.3 License; Flash: MIT | with conditions; Flash: yes | Flash: 320B / 18B | data center |
| MiniMax M3 (MiniMax) | MiniMax Community License | with conditions | 428B / 23B | data center |
| Muse Spark Open (Meta) | Muse Model License | with conditions | 816B / 42B | data center; download only after approval |
| Llama 4 Maverick (Meta) | Llama 4 Community License | not for companies with their principal place of business in the EU | 400B / 17B | according to Meta, FP8 on one H100 DGX host; 245 GB in Ollama |
| Apertus 1.5 70B (Swiss AI) | Apache 2.0 plus usage policy, download after sharing contact details | yes | 72B | about 145 GB of files in BF16; Swiss AI's example runs on 4 GPUs |
This overview goes stale fast. New versions and new license terms show up in this field almost every week. Before you decide, always read the license file in the model's repository, not just the label on top of it.
At Meta, Llama 4 from April 2025 is still the newest Llama on Hugging Face.
For many people, Ollama is the easiest way to an open model. But not every open model there is available for download. On October 26, 2026, 13 of the 50 newest entries in the Ollama library were tagged as cloud-only, with no local size listed. They include Muse Spark Open, Mistral Large 4, DeepSeek V4.1 Flash, GLM-5.3 and Kimi K3.
A command like ollama run deepseek-v4.1-flash:cloud looks like local use, but it sends your input to Ollama's servers. Ollama describes it this way: "Run models in Ollama's cloud from your apps or terminal. No model or app download required." On data handling, Ollama says it processes prompts and responses to answer your requests and does not use them to train models. If you only want to work locally, you can turn the cloud features off. For client data, that means: look at the tag before every ollama run. If it says cloud, the text leaves your network. Why "runs locally" is only part of the privacy answer anyway is covered in Local AI and Privacy: Cloud or Server?.
Model size determines the memory need, not the machine. Roughly sorted by vendor figures and Ollama sizes, with Qwen3.8-27B from my own measurement:
| Memory | What fits |
|---|---|
| up to 16 GB | gpt-oss-20b, Gemma 4 E2B, E4B and 12B (4.6 to 9.5 GB in Ollama), Granite 4.2 3B and 8B (2.2 and 5.3 GB in Ollama) |
| 24 to 32 GB | Qwen3.8-27B, Muse Glimmer 30B at 4-bit, Gemma 4 26B A4B and 31B (16 to 20 GB in Ollama), Granite 4.2 30B (18 GB in Ollama), Devstral Small 2, Ministral 3 14B at FP8, Nemotron 3.5 Bolt in its 24 GB version |
| 64 to 128 GB | gpt-oss-120b, Mistral Small 4 at 4-bit, Nemotron 3.5 Super as NVFP4, Llama 4 Scout (67 GB in Ollama); Nvidia lists models up to 200 billion parameters for one DGX Spark with 128 GB |
| several machines or a data center | DeepSeek V4, Kimi K3, GLM-5.3, MiniMax M3, Muse Spark Open, Mistral Large 4, Llama 4 Maverick |
From my setup: Qwen3.8-27B takes 21.9 GB as NVFP4 on the DGX Spark and about 27.5 GiB at 8-bit on my MacBook Pro M3 Max. My DGX Spark reports about 119 GB of usable memory.
On top of that comes memory for the context. If you process long documents or whole repositories in one pass, you need more headroom than the bare model size suggests. What a machine for each of these classes costs is in Your Own AI Server: Hardware and Cost. How the DGX Spark holds up day to day is in DGX Spark Tested: Worth Buying?, and the Mac route in Local AI on a Mac: Mini as AI Server.
Apache 2.0 and MIT allow commercial use, modification and redistribution; if you pass the model on, you include the license text and the copyright notices. "With conditions" in the tables means: the vendor license sets a revenue threshold (Mistral Medium 3.5 at 20 million USD monthly revenue, LFM2.5 at 10 million USD annual revenue), asks for a notice such as "Built with …" in the product (Muse Spark Open, MiniMax M3), or sets terms once you offer the model to others as a service. Qwen3.8-Flash-Next and Mistral Large 4 require a separate license for that, Kimi and Muse Spark Open a separate contract if your company has more than 20 million USD revenue over twelve months, GLM-5.3 a security review above 10 billion USD revenue. If you only use a model internally, these service rules don't apply according to the license text. Two are off the table entirely: the multimodal Llama 4 models, if your company has its principal place of business in the EU, and Teuken-7B-instruct v0.6, which is under CC BY-NC 4.0 and may only be used non-commercially.
Licenses change with new versions, so it pays to read the license file again with every update. The clauses word for word, and what they mean for a small business, are in Open Weight vs Open Source: Licenses.
European provider, open weights and data residency are different questions; for the distinction, read European AI Providers Beyond ChatGPT.
Tool calling comes first, because it decides whether a model is even a candidate for agent work. Without reliable tool calling, a model can't read files, run commands or hand intermediate results back to a system. For a terminal agent like my Pi setup, that's the baseline requirement.
Context length decides how much a model can take in at once, an entire repository or a long client document, for instance.
Quality in your language (for me, that's German) I check with the same test prompts for every model I'm seriously considering, because benchmarks almost always measure in English. The model cards give a first hint: Granite 4.2 lists German among its tested languages, and Mistral Large 4 names every official language of the EU.
License decides whether you're even allowed to use a model for client work, see above.
Hardware requirements decide last what actually runs. A 27-billion-parameter model at 4-bit needs a different machine than a model with 1.6 trillion.
Of the models in this post, I currently run only one in daily use: Qwen3.8-27B as an NVFP4 checkpoint under SGLang on an Nvidia DGX Spark with 128 GB of unified memory, roughly 119 GB of it usable. Measured on my machine: 50.7 tokens per second decoding. For prefill, the setup recipe lists roughly 1,500 tokens per second; on my machine a 125,000-token prompt without cache took 123 seconds, so roughly 1,000 tokens per second. A terminal agent called Pi works against this model.
I chose this combination because Qwen 3.8's model card lists tool calling, thinking and vision, it offers 262,144 tokens of native context, and it's under Apache 2.0. The model card gives 27 billion parameters for the language model. Hugging Face counts 27.8 billion in the file, probably because the vision encoder is included. For the details of my setup and the pitfalls I ran into, see Run Qwen 3.8 Locally: 27B on a DGX Spark. The comparison with Claude is in Qwen vs Claude: Local Qwen or Claude Code?.
There's no answer that holds for every task. For agents on your own hardware, the realistic range is models between 20 and 35 billion parameters under Apache 2.0: Qwen3.8-27B, Muse Glimmer 30B, Gemma 4 31B or 26B A4B, and gpt-oss-20b. The largest open models such as DeepSeek V4 or Kimi K3 need a data center. My picks for each memory size are above under "The best open source AI models by use case".
Open weights means the trained weights are available for download. Open source in the sense of the Open Source Initiative's definition also requires information about the training data and the complete code for training and running the system. Few models in the tables provide that.
With Mistral it depends on the model: Mistral Small 4, Ministral 3 and Devstral Small 2 are under Apache 2.0, Mistral Medium 3.5 under a Modified MIT with a revenue threshold of 20 million USD a month. Mistral Large 4 has its own open-weight license that only asks Model as a Service providers for a separate license. With Llama 4, Meta does not grant the rights to the multimodal models to companies with their principal place of business in the EU. That's my reading of the texts. If you'd rather just use Mistral as a chat than run it yourself, features, pricing and privacy are covered in Mistral Le Chat: Vibe, Pricing and Privacy.
The weights of DeepSeek V4-Pro, V4-Flash and V4.1-Flash are on Hugging Face under MIT, so you may download and run them yourself. In practice they are too large for typical single machines: the V4-Flash files alone take up about 160 GB, and only a heavily compressed 3-bit build from Unsloth at about 103 GB fits on machines with 128 GB. In Ollama, V4-Pro and V4.1-Flash are only available as cloud models. The full calculation is in Running DeepSeek Locally: What V4 Needs.
According to the vendors, Gemma 4 E2B and E4B are meant for phones and laptops, gpt-oss-20b runs within 16 GB of memory, and LFM2.5-24B-A2B is built to run on the device. In Ollama, Granite 4.2 takes 2.2 GB as 3B and 5.3 GB as 8B.
Yes. Apache 2.0 allows commercial use, modification and redistribution. If you pass the model on, you include the license text and mark your own changes. Details are in the official license text.
Don't start with picking a model, start with setup: how to get Ollama running in a few minutes and when the step up to SGLang is worth it is in Setting Up Local AI: Ollama to SGLang. For the broader picture of when local even makes sense, see Local AI: What Actually Works in 2026. If you want to run a local model in your company, AI Server for Small Businesses helps.
To provide local models through a shared interface, read Open WebUI: A Chat Interface for Local AI.
My suggestion: don't commit to a model before you know your own criteria. Tool calling, context length, quality in your language, license and hardware requirements are the five questions I settle before every install. More often than not, one of them already decides it.
Open weight or open source: what Apache 2.0, MIT, Llama, Gemma, Qwen and other open model licenses allow commercially, with the clauses quoted.
Read the articleLocal AI in 2026: what open models like Qwen 3.8 can really do on your own hardware, where the limits are, and how to choose between cloud and local.
Read the article
Kevin Welter
Developer, IT architect, author of technical books (Kubernetes, cloud infrastructures) and speaker. Runs his business with an AI workforce of fifteen AI employees and shows solo business owners in his community how to hire their first AI employee.
Your first AI employee up and running within an hour
Join the community$5/month founding price, first 50 members