Model Library

Published

Open-source LLMs: licenses, model choice, and where to run them

Summary

An open-source LLM is a large language model whose weights are published under terms that let anyone run, study, modify, and share it. Most models called open source are open weights, which ship the parameters without the training data or code, under licenses that run from Apache 2.0 and MIT to custom terms with revenue thresholds and use policies. Check the license of the exact checkpoint first, then shortlist by GPU memory fit and test candidates on your own traffic.

With an open-source LLM, you download the model itself and run it wherever you choose. The catch is that "open" now covers at least three different releases: a hosted model sold under an open family's name, open weights under a custom license, and open weights under Apache 2.0 or MIT.

The difference tends to surface late. A license that costs nothing at prototype scale can require a separate agreement with the lab once you sell API access to the model and your company's revenue passes a threshold. This guide covers what counts as open source, what current licenses allow, how to choose a model, and where to run it. For the mechanics underneath, start with how large language models work.

More than downloadable weights

The Open Source Initiative (OSI) published version 1.0 of its Open Source AI Definition in October 2024. It tests whether a system grants four freedoms: use it for any purpose without asking permission, study how it works, modify it for any purpose, and share it with or without changes.

Those freedoms depend on access to what the definition calls the "preferred form to make modifications." That form has three parts, each available under OSI-approved terms:

  • Data information: A description of the training data detailed enough that a skilled person could build a substantially equivalent system
  • Code: The complete source code used to train and run the system
  • Parameters: The weights and other configuration settings

Think of weights as the compiled binary, and the training code and data information as the source and the build system. A freely licensed binary lets you run and redistribute a program, but you can't rebuild it or audit how it was made. Qwen3.5-397B-A17B ships as roughly 800 GB of bf16 numbers, and nothing in those files tells you which documents produced them.

The analogy breaks at modification, because a binary is hard to change in useful ways, while weights can be changed directly by fine-tuning them on your own data. That is why open weights deliver most of the practical value for product teams even without the source.

Now apply the definition's criteria to a custom model license. A license that requires a separate agreement above a revenue threshold, or that incorporates a use policy, doesn't let you use the model for any purpose without asking permission. The OSI has not ruled on individual 2026 models; this is its criteria applied.

Open weights vs. open source

Current releases fall into four groups (the OSI's open weights explainer draws the same line).

Closed APIOpen weights, custom licenseOpen weights, OSI-approved licenseOpen-source AI (meets the OSI definition)
Weights downloadableNoYesYesYes
Run on your own hardwareNoYesYesYes
Fine-tune and redistribute derivativesNoYes, within the license's conditionsYes, keeping the license and noticesYes
Conditions on useProvider's terms of serviceThresholds, attribution, use policiesLicense text and noticesOSI-approved terms
Training code and data information releasedNoUsually notUsually notYes
Examples, checked October 2026Hosted-only variants of open families, like Qwen3.5-Plus, which the Qwen3.5-397B-A17B card calls its "hosted version"Llama 4, Kimi K3, GLM-5.3, MiniMax M3, Muse Spark OpenDeepSeek V4, Qwen3.5-397B-A17B, gpt-oss, Gemma 4, GLM-5.3-FlashReleases that publish training code and data information alongside the weights

Two checks keep the labels honest:

  • A catalog label is not a weights link: Provider catalogs, Together AI's included, list hosted-only models next to open-weight ones. In October 2026, four Qwen models in that library (Qwen3.6-Plus, Qwen3.7-Plus, Qwen3.7-Max, and Qwen3.8-Flash) had no public repo on Hugging Face or ModelScope. Before you call a model open, find a repo with the weight files.
  • Gated repos still count as open weights: The Llama and Muse Spark Open repos make you accept the license and submit your details before you can download. The weights are downloadable once Meta approves your request, and the terms bind you from the moment you accept them.

Licenses differ by checkpoint

Licenses attach to checkpoints, and one lab can ship very different terms in the same month. GLM-5.3 ships under a custom GLM-5.3 License, while GLM-5.3-Flash, posted to Hugging Face the same day, ships under MIT. Qwen3.8-27B is Apache 2.0, and Qwen3.8-2.4T-A95B carries a custom Qwen3.8-Max License with display rules keyed to monthly active users (MAU) and a Model-as-a-Service (MaaS) clause. Read the license file in the repo you actually deploy from.

Terms below are as each model card or license file states them, checked on Hugging Face, October 2026.

Model checkedLicenseCommercial useConditions engineers trip on
DeepSeek-V4-Pro-0813, DeepSeek-V4.1-Flash, GLM-5.3-FlashMITYesKeep the copyright and permission notice
Qwen3.5-397B-A17B, Qwen3.6-35B-A3B, Qwen3.8-27B, Gemma 4 31B, Ministral 3 14B, gpt-oss-120b, gpt-oss-20bApache 2.0 (gpt-oss adds a usage policy)YesKeep the license and notices; the gpt-oss policy asks you to comply with applicable law
Qwen3.8-2.4T-A95BQwen3.8-Max LicenseYes, with conditionsShow the model name above 100M MAU or US\$20M monthly revenue; MaaS or "AI Work Assistant" operators with over US\$50M revenue in 12 months need a separate license (internal use exempt)
Kimi K3Kimi K3 LicenseYes, with conditionsA MaaS operator with over US\$20M revenue in 12 months needs a separate agreement with Moonshot AI; show "Kimi K3" above 100M MAU or US\$20M monthly revenue; both waived for internal use and for use through Moonshot AI's official products or certified inference partners
GLM-5.3GLM-5.3 LicenseYesA MaaS operator with over US$10B revenue in 12 months must pass Z.AI's security review
MiniMax M3MiniMax Community LicenseConditional (base grant is non-commercial)Show "Built with MiniMax M3" plus a one-time notice, or written authorization first above US$20M yearly revenue; commercial use includes deploying fine-tuned derivatives for any commercial purpose; bans military use
Llama 3.3 70B, Llama 4 MaverickLlama 3.3 and Llama 4 Community LicensesYes, below 700M MAU at releaseShow "Built with Llama" when you distribute or make available the model, a derivative, or a product or service that contains it; any model built, fine-tuned, or trained with Llama or its outputs that you distribute or make available needs a "Llama" name prefix; acceptable use policy applies; gated
Muse Spark OpenMuse Model LicenseYes, with conditionsShow "Built with Muse Spark Open"; MaaS operators with over US$20M gross revenue in 12 months must notify Meta and sign a separate agreement; usage policy applies; gated
Nemotron 3 Super 120B-A12BNVIDIA Nemotron Open Model LicenseYesDerivatives allowed; NVIDIA claims no outputs; give recipients a copy of the license and keep existing notices when you redistribute

Most license surprises come from five kinds of clauses:

  • Revenue and user thresholds: Llama's 700M MAU test applies to the month before each version's release. The Kimi and Qwen3.8-Max License display rules start at 100M MAU or US\$20M in monthly revenue, and MaaS triggers range from US\$20M (Kimi K3, Muse Spark Open) to US\$10B (GLM-5.3) in company revenue over 12 months.
  • Model-as-a-Service clauses: Kimi K3, GLM-5.3, and the Qwen3.8-Max License define MaaS as third-party access to inference or fine-tuning with "meaningful control over the inputs, parameters, or training data." Kimi K3 and GLM-5.3 exclude end-user products whose model capabilities are embedded solely in specific features or harnesses, and all three exclude merely relaying requests to a model someone else hosts. Muse Spark Open defines MaaS more broadly, as any API access where a third party receives model outputs, but exempts powering features of your own product. Inference providers that host the weights and sell API access are the clearest MaaS case.
  • Attribution and display: Llama, MiniMax M3, and Muse Spark Open each require a "Built with" line on a website, interface, or product documentation, and the Kimi K2.6, Kimi K3, and Qwen3.8-2.4T-A95B licenses put the model name in your UI above those thresholds.
  • Derivative naming and output use: Llama's naming rule reaches any model trained or improved with Llama outputs that you distribute or make available, and Muse's "Derivatives" include distilled models. Both affect synthetic-data and distillation pipelines.
  • Use policies: Llama and Muse Spark Open write their use policies into the license, and MiniMax M3 attaches a prohibited-uses appendix. The gpt-oss policy asks only that you comply with applicable law.

A license summary is a starting point for legal review, so have counsel read the full text before you ship. Terms also change between releases. Kimi K2.6 uses a modified MIT license with one display rule, while Kimi K3 moved to its own license with a MaaS clause, so recheck at every upgrade.

Choosing a model

Four filters narrow a shortlist, and the order matters:

  • License: Match the checkpoint's license to your business model, whether the model powers a feature in your product, an internal tool, or an API you sell to other developers. The table above settles this before any benchmark does.
  • Memory fit: Weights need roughly total parameters × bytes per parameter, and KV cache memory comes on top. In a mixture-of-experts (MoE) model, total parameters set memory and active parameters set per-token compute. As an approximation in decimal GB, before KV cache, activations, and framework overhead, Qwen3.5-397B-A17B at fp8 needs 397B × 1 byte ≈ 397 GB of weights. One 8× H100 80GB node holds 8 × 80 GB = 640 GB, which leaves ~240 GB for everything else. At bf16 the weights double to ~794 GB and no longer fit on that node. GLM-5.3-Flash activates 18B parameters per token but holds 320B in total, ~320 GB at fp8, so "Flash" describes per-token cost rather than footprint. The gpt-oss-120b card says MXFP4 quantization of the MoE weights lets the model run on a single 80GB GPU. Lower precision trades some quality for memory, and the docs on quantization explain where that tradeoff starts to bite.
  • Size tier: A guide to choosing an open model for production maps closed-model tiers to open sizes. It suggests at least 300B total parameters where a task needs a top-tier closed model, 70–250B for the middle tier, and under 32B for the low tier. The guide presents these as a starting point that still needs proper evaluation.
  • Your own evals: Leaderboards like Artificial Analysis and The Open Frontier are discovery tools, and their rankings shift as new models land. Replay existing traffic from your current model, as the playbook for migrating from closed to open models describes. Compare cost per task (tokens per attempt, steps, and end-to-end runtime) alongside per-token price, using the same methods you'd use for evaluating LLM quality.

A leaderboard's "best open-source LLM" is the best on that benchmark mix. For your product, the right model is the smallest one that passes your evals at your latency and cost targets.

Model families by size

The list below is a snapshot as of October 2026, sorted by size class instead of rank, with each detail taken from the model card. Browse the open model library for what's current. Three classes cover the field:

  • Frontier-scale MoE, about 400B+ total parameters: Kimi K3 (native vision, 1M-token context), DeepSeek V4 Pro (1.6T total, 49B active, 1M context), Qwen3.5 397B A17B (397B total, 17B active, 262K native context, extensible to ~1M), Qwen3.8-2.4T-A95B (2.4T total, 95B active), GLM-5.3 (GLM-5.2's base with post-training aimed at coding and long-horizon tasks), MiniMax M3 (~428B total, ~23B active, native multimodal, 1M context), Muse Spark Open (816B total, 42B active, built for coding and agentic work), Llama 4 Maverick (400B total, 17B active), and Nemotron 3 Ultra (550B total, 55B active). All of them need multi-GPU nodes, even at fp8.
  • Mid-size, or large totals with small active counts: gpt-oss-120b (117B total, 5.1B active), Nemotron 3 Super (120B total, 12B active, up to 1M context), Llama 3.3 70B (dense, text only, 128K context), GLM-5.3-Flash (320B total, 18B active, natively multimodal), and DeepSeek V4 Flash (284B total, 13B active). Decode speed tracks active parameters (see how LLM inference works), so these decode closer to small dense models while still needing every expert in memory.
  • Small and local, about 35B total and under: Gemma 4 31B (30.7B dense, 256K context, text and image input), Qwen3.8-27B (27B dense, image and video input), Qwen3.6-35B-A3B (35B total, 3B active), Ministral 3 14B (fits in 24GB of VRAM at fp8, per its card), and gpt-oss-20b (21B total, 3.6B active, runs within 16GB of memory).

Serverless, dedicated, or self-hosted

Once you have two or three candidates, the deployment choice comes down to volume and control. You have three options:

  • Serverless API: You pay per token on shared capacity, with nothing to provision. It's the quickest way to compare candidates on real prompts, and the guide to serverless AI inference covers how it bills and scales.
  • Dedicated endpoints: You pay for reserved GPU time, busy or idle, and you choose the hardware and precision. The docs on choosing a deployment option give an illustrative example (checked October 2026). An H100 at about \$3 per hour costs \$72 per day, so against serverless at \$1 per 1M tokens the crossover sits at ~72M tokens per day, or ~3M tokens per hour sustained.
  • Self-hosted: You run an inference engine like vLLM or SGLang on your own GPUs or cloud instances, or Ollama on a laptop for small models. You own utilization, upgrades, and on-call. For the hardware side of that math, see what an H100 costs.

Two notes apply whichever option you pick:

  • Same name, different numerics: Providers serve fp8 and fp4 variants, and fp4 usually gives up more quality than fp8 for its memory and speed savings. Together's catalog lists IDs like Qwen3.6-35B-A3B-FP8, and its serverless model list shows GLM-5.3-Flash at fp4, while GLM-5.3-Flash's Hugging Face weights are mostly fp8. Compare like for like, and run your evals against the endpoint you'll ship.
  • Portability is the point: Open weights let you change providers or move in-house without retraining. A gateway or router in front of your providers turns the switch into a config change, as the open-source AI stack lays out. If you host a model for other people's API calls, the MaaS clauses above may apply to you.

Conclusion

Map each clause of your checkpoint's license to how your product earns revenue. Work out GPU memory from total parameters and precision before running a single benchmark. Then replay real traffic against two or three candidates and let the results decide.

To get started, browse Together's open model library, try candidates on the serverless inference API, and move steady traffic to dedicated model inference once your GPUs would stay busy.

FAQ

Which LLMs are open source? By the OSI's definition, few frontier models qualify, because it requires training code and detailed data information alongside the weights. Most "open-source" LLMs are open weights, and those under Apache 2.0 or MIT (DeepSeek V4, Qwen3.5, gpt-oss, Gemma 4, GLM-5.3-Flash) come closest.

Is Llama open source? Llama ships open weights under Meta's community licenses. Commercial use is allowed unless your products had more than 700M monthly active users in the month before the release, with "Built with Llama" attribution, a "Llama" prefix on derivatives you distribute or make available, and an acceptable use policy. Those conditions fall short of the OSI's "any purpose" freedom.

Can I use an open-source LLM commercially? Usually. It depends on the checkpoint. Apache 2.0 and MIT ask only that you keep the license and notices. Custom licenses add thresholds, attribution, or notices, and MiniMax M3 requires at least a one-time notice to MiniMax for any commercial use.

Can I run an open-source LLM locally? Small ones, yes. The gpt-oss-20b card says it runs within 16GB of memory. A ~30B dense model is ~60 GB at bf16 and ~15 GB at 4 bits, so it needs a high-memory GPU or 4-bit quantization, and frontier-scale MoE models need multi-GPU servers.

Are open-source LLMs cheaper than closed models? They can be. Compare cost per completed task on your own traffic, since per-token prices hide differences in tokens per attempt and steps. If you serve an open model yourself, utilization decides it: serverless per-token pricing suits low volume, and dedicated GPUs cost less once you keep them busy, around 72M tokens per day in the docs' illustrative example.

Related articles