The Techno-WitchWe read the fine print so you don't have to.

Consult the almanac

Turning the pages…

Arrow keys to move, Enter to open, Esc to close. Every answer links to a dated page.



Local AI · The Hearth

Open Source LLMs Explained: Llama, Gemma, Qwen, gpt-oss

Most "open source LLMs" are open-weight models: you can download them, but the license decides what you can do. Here's each license and size.

Some links on this site may earn us a commission. It never changes a price, a verdict or what we tell you to skip. How we make money.

In this story (8 sections)
  1. Open weights vs open source, the actual difference
  2. The license cheat sheet
  3. The Apache 2.0 and MIT crowd
  4. The custom licenses, minus the glamour
  5. How much memory each one needs
  6. Where to download each one
  7. Running it yourself vs using a chatbot
  8. What to do next

Most models sold as an "open source LLM" are open-weight models: you can download and run them, and the license sets the rules. Gemma 4, gpt-oss, Mistral Small 4 and Ministral 3 use Apache 2.0, DeepSeek uses MIT, and Llama and the biggest Qwen come with custom licenses and strings attached.

Licenses, sizes and versions below are as of November 28, 2026.

Open weights vs open source, the actual difference

"Open weights" means the maker published the model parameters, the numbers that make the model work, so you can download and run them yourself. It says nothing about how the model was trained or what you may do with it.

"Open source" has a formal meaning. The Open Source Initiative's Open Source AI Definition 1.0 says an open source AI system must grant the freedoms to use, study, modify and share it, including the right to "use the system for any purpose and without having to ask for permission". It also requires sufficiently detailed information about the training data, the complete source code to train and run the system, and the model parameters, all under OSI-approved terms.

Weights alone don't clear that bar. So when a search box says "open source LLM", read it as "downloadable model", then go read the license. We found no OSI list of models that meet the definition, so we won't claim any of them do. When Google calls Apache 2.0 "OSI-approved", that describes the license, not the whole AI system.

The license cheat sheet

Here's the grimoire page to bookmark.

Family Maker Latest models on official pages Sizes License
gpt-oss OpenAI gpt-oss-120b, gpt-oss-20b 117B total (5.1B active); 21B total (3.6B active) Apache 2.0
Gemma 4 Google E2B, E4B, 12B, 26B A4B, 31B 2B effective up to 31B dense Apache 2.0
Qwen3.8 Qwen Qwen3.8-27B, Qwen3.8-2.4T-A95B 27B; 2.4T total (95B active) Apache 2.0 (27B); Qwen3.8-Max License (2.4T)
DeepSeek V4 DeepSeek V4.1-Flash, V4-Flash, V4-Pro 284B total (13B activated) for V4-Flash; about 1.6T for V4-Pro MIT
Mistral Mistral AI Mistral Small 4, Ministral 3 119B total (6.5B active); 14B, 8B, 3B Apache 2.0
Llama 4 Meta Scout, Maverick 109B total (17B active); 400B total (17B active) Llama 4 Community License Agreement
Muse Spark Open Meta Muse Spark Open 816B total (42B active) Muse Model License

Watch the word "active". Several of these are mixture-of-experts models, which hold a lot of parameters but use a smaller slice for each step.

The Apache 2.0 and MIT crowd

gpt-oss. OpenAI released gpt-oss on August 5, 2025, in two sizes, both with 128k context and "available under the flexible Apache 2.0 license".

Gemma 4. Google's open source blog says Gemma 4 models are "the first in the Gemmaverse to be released under the OSI-approved Apache 2.0 license." Older Gemma models still sit under the custom Gemma Terms of Use, which include a prohibited-use policy, flow-down terms and a right for Google to restrict usage. Same brand, different rules depending on the version. That one trips people up.

Qwen3.8-27B. Apache 2.0, 27B parameters and 262,144 tokens of native context.

Mistral. Mistral Small 4 (256k context) and Ministral 3 are both Apache 2.0. For Mistral Large 4 and Mistral Medium 3.5, check https://huggingface.co/mistralai before you build anything.

DeepSeek. The V4-Flash card says the model is "licensed under the MIT License". V4-Flash has a 1M context. Our DeepSeek explainer covers the hosted app, which has its own privacy terms.

The custom licenses, minus the glamour

Llama 4 Community License Agreement (effective April 5, 2025). The license says that if, on the release date, your products or services exceeded "700 million monthly active users in the preceding calendar month", you "must request a license from Meta". Anyone distributing it must display "Built with Llama", models built on Llama must "include “Llama” at the beginning" of their name, a Notice file is required, and use must follow Meta's Acceptable Use Policy.

Qwen3.8-Max License, for Qwen3.8-2.4T-A95B. The license file requires the model name to be shown in your product UI above 100,000,000 monthly active users or US$20,000,000 in monthly revenue. A separate license is needed for "Model as a Service" or "AI Work Assistant" businesses above US$50,000,000 in revenue over 12 months. Internal use is exempt.

Muse Model License. Meta released Muse Spark Open on October 15, 2026, with a 1M-token context, under the "Muse Model License with limited commercial terms". It isn't a Llama model. We didn't read the full license text, so check that page before any commercial use.

The Llama and Qwen thresholds start at 100 million users or tens of millions of dollars, far above a hobby project. A startup should still give them a lawyer's afternoon.

How much memory each one needs

Official figures, where makers give them:

  • gpt-oss-20b: its Hugging Face card says it can "run within 16GB of memory". gpt-oss-120b fits on "a single 80GB GPU" per its card, or 60 GB or more per OpenAI's cookbook.
  • Gemma 4: Google's memory table gives approximate GPU or TPU memory to load the weights, including 20% overhead for loading.
  • Llama 4 Scout: Meta says it "fits on a single H100 GPU (with Int4 quantization)".
  • Ministral 3 14B: the model card says it's "capable of fitting in 24GB of VRAM in FP8".
  • Muse Spark Open: Meta says it runs on "two Apple M5 Ultra Mac Studios", which offer up to 512 GB unified memory each.
  • DeepSeek V4, Qwen3.8 and Mistral Small 4: the cards state no minimum hardware.

Gemma 4's table, in GB:

Gemma 4 model BF16 8-bit Q4_0
E2B 11.4 5.7 2.9
E4B 17.9 8.9 4.5
12B 26.7 13.4 6.7
26B A4B 57.7 28.8 14.4
31B 69.9 34.9 17.5

Lower precision, smaller memory bill. Q4_0 is the budget potion.

Where to download each one

Hugging Face hosts the official cards for gpt-oss, Gemma 4, Qwen, DeepSeek, Mistral and Llama. Ollama and LM Studio pull models for you. Ollama's download sizes:

  • gpt-oss: 14GB (20b) and 65GB (120b)
  • Gemma 4: e2b 4.6 to 7.5 GB, e4b 6.6 to 9.5 GB, 12b 7.7 to 8.0 GB, 26b 16 to 19 GB, 31b 19 to 20 GB
  • Llama 4: 67 GB (16x17b) and 245 GB (128x17b)
  • Qwen3.5: from 0.8B to 122B

LM Studio's catalog carries distilled deepseek-r1 models from 7B to 70B. Our LM Studio vs Ollama comparison covers the two apps.

Running it yourself vs using a chatbot

Downloading a model gets you a file, and you supply the hardware to run it. The 16GB figure for gpt-oss-20b and the small Gemma 4 sizes are the lowest memory figures on the official pages. The giants, like DeepSeek V4-Pro at about 1.6T or Llama 4 Maverick at 400B, are a different boss fight: Ollama's Llama 4 Maverick download alone is 245 GB. We weigh the trade-offs in local AI vs cloud AI.

What to do next

  • Just curious: try gpt-oss-20b or a small Gemma 4 model through Ollama or LM Studio. Both are Apache 2.0.
  • Building a product: our pick is an Apache 2.0 or MIT model (gpt-oss, Gemma 4, Qwen3.8-27B, Mistral Small 4, Ministral 3, DeepSeek V4) so you skip the Llama and Qwen-Max user and revenue thresholds.
  • Using Llama or Qwen3.8-2.4T commercially: read the license page linked above and check the user and revenue thresholds first.
  • Want true open source by the OSI's terms: check the definition against each model's data and code release yourself. Weights alone don't qualify.

Receipts

Official pages behind this story, read Nov 28, 2026
  1. openai.com
    What are gpt-oss sizes and licence? · Does OpenAI state benchmark comparisons for gpt-oss?
  2. huggingface.co
    Does gpt-oss-20b run within 16GB?
  3. ai.meta.com
    What is the latest Llama family and its sizes?
  4. dev.meta.ai
    What is the Llama licence and its key restrictions?
  5. research.meta.ai
    What is Meta's newer open-weight model and its licence?
  6. gemma.ai
    What are the Gemma 4 sizes and memory figures?
5 more receipts
  1. opensource.googleblog.com
    What licence is Gemma 4 under?
  2. huggingface.co
    What is the latest Qwen family, sizes and licence?
  3. huggingface.co
    What is the latest DeepSeek family, sizes and licence?
  4. huggingface.co
    What are the latest Mistral open models, sizes and licence?
  5. opensource.org
    What does the OSI define as open source AI?

Only pages the company publishes itself are listed. How we check: our method. Spotted a wrong number? Corrections.

Filed under

Local AI: The Hearth“open source llm”

Front page