Search across 883 pages

Try a tool name, category, or "lifetime deal"

AI Black Friday Deals

Best Open Source LLMs in 2026 (Compared by Use, Hardware and Licence)

The best open source LLM depends on the job, the hardware and the licence, so this guide compares 12 model families on all three instead of crowning one winner. Every size, licence and download figure comes from the Hugging Face Hub and each model’s own card, checked on 4 December 2026.

This guide covers open-source large language models (LLMs) that generate natural language and code, for chat, coding, agents and local use, with a short section on other open source AI models at the end. One honest caveat first. Most of these open-source models are open weights: you can download and run them, but the training data is not published. Only a few come close to open source in the Open Source Initiative’s sense, and the open source vs open weight section below says which.

Best open source LLMs at a glance

Pick forModelSize (total / active)LicenceDownloads, 30 daysLikes
General useQwen/Qwen3.8-27B27.8B denseApache 2.04.5M20,993
Open frontier, MIT licencedeepseek-ai/DeepSeek-V4-Pro1.6T / 49BMIT237K5,636
Coding on a serverzai-org/GLM-5.3About 753BCustom (GLM-5.3)648K2,503
Coding on a workstationQwen/Qwen3-Coder-Next80B / 3BApache 2.0377K1,746
Local useopenai/gpt-oss-20b20.9B / 3.6BApache 2.05.5M5,278
Small local modelQwen/Qwen3.5-9B9.7B denseApache 2.05.3M2,402
One 80GB GPUopenai/gpt-oss-120b117B / 5.1BApache 2.02.1M5,461
Multilingual and multimodalgoogle/gemma-4-31B-it31.3B denseApache 2.05.3M4,439
Agents and long contextmoonshotai/Kimi-K32.8T / 104BCustom (Kimi K3)485K11,900
Fully open trainingallenai/Olmo-3-7B-Instruct7.3B denseApache 2.0114K162

Downloads are the Hub’s own 30-day count for that one repository, so quantised and re-uploaded copies are not included. Likes are all-time. This is a shortlist of picks, not a benchmark ranking.

Compare all 30 open source LLMs by use, licence and memory

The table above is the shortlist. This one lists 30 models, including every pick on this page, and you can search it, sort any column, or filter by use case, licence type and the memory your machine has.

Showing 30 of 30 models

Open source LLMs compared by size, context window, licence, memory needed and 30 day Hugging Face downloads
LicenceBest for
GLM-5.3-FlashZ.ai · Text, Image321BMoE, 18B activen/sMIT209GBGeneral use, Vision and videoFirst natively multimodal GLM-5 model5.7M
gpt-oss-20bOpenAI · Text20.9BMoE, 3.6B activen/sApache 2.016GBRuns locally, ReasoningCard: runs within 16GB of memory5.5M
Qwen3.5-9BAlibaba · Text, Image9.7BDense262KApache 2.07GBRuns locally, Small models, General useContext extensible to about 1M tokens5.3M
Gemma 4 31BGoogle · Text, Image31.3BDense256KApache 2.021GBGeneral use, Multilingual, Vision and videoOver 140 languages5.3M
Qwen3.8-27BAlibaba · Text, Image, Video27.8BDense262KApache 2.019GBGeneral use, Agents, Vision and videoContext extensible to 1M tokens4.5M
Gemma 4 26B-A4BGoogle · Text, Image25.8BMoE, 4B active256KApache 2.017GBGeneral use, Multilingual, Vision and video, Runs locallyMixture-of-experts Gemma 44.0M
gpt-oss-120bOpenAI · Text117BMoE, 5.1B activen/sApache 2.080GBReasoning, General useCard: fits one 80GB GPU2.1M
Qwen3-Coder-30B-A3BAlibaba · Text30.5BMoE, 3.3B active262KApache 2.020GBCoding, Runs locallyThe smaller Qwen coding model1.9M
MiniCPM5-2BOpenBMB · Text2.5BDense131KApache 2.02GBSmall models, Runs locallyUnder 3B parameters1.1M
GLM-5.2Z.ai · Text753BMoEn/sMIT490GBGeneral use, CodingBase model for GLM-5.31.0M
DeepSeek-V4.1-FlashDeepSeek · Text, Image763BMoE1MMIT497GBGeneral use, Vision and video, Long context552B backbone; 8B active in prefill, 16B in decode674K
Nemotron 3 SuperNVIDIA · Text124BHybrid MoE, 12B activen/sCustom (listed as other)81GBGeneral useMid-size Nemotron 3666K
GLM-5.3Z.ai · Text753BMoEn/sCustom (GLM-5.3)490GBCoding, AgentsZ.ai calls it the strongest open-weights coding model648K
Nemotron 3 UltraNVIDIA · Text561BHybrid MoE, 55B active1MCustom (listed as other)365GBReasoning, Long contextMamba-2 and transformer hybrid536K
Nemotron 3 NanoNVIDIA · Text31.6BHybrid MoE, 3B activen/sCustom (listed as other)21GBRuns locally, Small modelsSmallest Nemotron 3497K
Kimi K3Moonshot AI · Text, Image, Video2.8TMoE, 104B active1MCustom (Kimi K3)1.8TBAgents, Vision and video, Long contextLargest model in the table485K
MiniMax-M3MiniMax · Text, Image, Video427BMoE, 23B active1MCustom (MiniMax community)278GBAgents, Coding, Vision and video, Long contextSparse attention for long context378K
Qwen3-Coder-NextAlibaba · Text79.7BMoE, 3B active262KApache 2.052GBCoding, Runs locallyBuilt for coding agents and local development377K
Kimi K2.7 CodeMoonshot AI · Text, Image, Video1TMoE, 32B activen/sModified MIT668GBCodingTuned for long coding tasks326K
DeepSeek-V4-ProDeepSeek · Text1.6TMoE, 49B active1MMIT1.0TBGeneral use, Reasoning, Long context1.6T total, FP4 and FP8 mixed weights237K
LFM3-1.7BLiquid AI · Text1.7BDense256KCustom (LFM Open v1.0)1GBSmall models, Runs locallyCard: about 1GB at 4-bit140K
Olmo 3 7BAi2 · Text7.3BDensen/sApache 2.05GBFully open, Runs locally, Small modelsCode, checkpoints and training details released114K
Llama 4 ScoutMeta · Text, Image · gated109BMoE, 17B activen/sCustom (Llama 4 community)71GBGeneral use, Vision and videoApril 2025 release, gated access109K
Granite 4.2 8BIBM · Text8.8BDense512KApache 2.06GBSmall models, Runs locally, General useEnterprise focus, 512K context56.2K
MiMo-V2.6-Pro-RLXiaomi · Text1TMoE, 42B active1MMIT666GBReasoning, Coding, Long contextPost-trained with reinforcement learning36.0K
Mistral Large 4Mistral AI · Text, Image1TMoE, 52B active1MCustom (listed as other)650GBGeneral use, Vision and video, Long contextAbout 1T total, 128 routed experts21.2K
Phi-4-reasoning-vision-15BMicrosoft · Text, Image15.1BDense16KMIT10GBReasoning, Vision and video, Runs locallyShort context, suits brief tasks11.3K
Hy4 previewTencent · Text780BMoE, 49B activen/sApache 2.0507GBGeneral useSuperseded by the final Hy4 release10.2K
Hy4Tencent · Text, Image774BMoE, 49B activen/sCustom (Tencent Hy)504GBGeneral use, Vision and videoPreview was Apache 2.0, the final release is not7.7K
Apertus 70BSwiss AI · Text70.6BDensen/sApache 2.046GBFully open, MultilingualOpen training data, 1,000+ languages4.7K

Memory is an estimate for 4-bit weights: 0.5GB per billion parameters plus 30% for the context cache and runtime. Mixture-of-experts models must load every expert, so total parameters set the figure, not active ones. gpt-oss-20b, gpt-oss-120b and LFM3-1.7B use the figure on their model card. n/s means the model card does not state it. Parameters and downloads come from the Hugging Face Hub on 4 December 2026; downloads are the 30 day count. The same data is available as JSON.

Top open source LLMs: model profiles

The Hugging Face models page sorted by trending, showing Qwen4-35B-A3B at the top with 12 downloads and 4.23k likes

The Hub’s trending view on 4 December 2026: Qwen4-35B-A3B leads on likes before it has any real download history.

Qwen3.8-27B from Alibaba

Alibaba · Dense model · Text, Image, Video

Dense 27.8B model for general use, agents and image or video input.

Parameters
27.8B
Licence
Apache 2.0
Memory (4-bit)
~19GB
Commercial use
Allowed

Why choose this model?

Qwen3.8-27B is the model to start with if you want one open model for most jobs. It reads text, images and video, and its card gives a native context of 262,144 tokens, extensible to 1,000,000. Alibaba says it targets coding, research and long multi-step agent tasks, which is a vendor description we did not test. With 20,993 likes it is the most liked model in this guide, and 4.5M downloads in 30 days show it is widely used too.

Strengths

  • Apache 2.0, with no extra conditions to read
  • Text, image and video input
  • 262K native context, extensible to 1M

Limitations

  • Needs about 19GB of memory at 4-bit, so plan on a 32GB machine
  • Long contexts add memory beyond the weights
  • Task claims come from Alibaba's own card

Verdict: The safest single pick for general work if you can spare about 32GB of memory.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

DeepSeek-V4-Pro

DeepSeek · MoE model · Text

1.6T mixture-of-experts model with a 1M-token context, under MIT.

Parameters
1.6T total, 49B active
Licence
MIT
Memory (4-bit)
~1.0TB
Commercial use
Allowed

Why choose this model?

DeepSeek-V4-Pro is the largest MIT-licensed model in the guide: 1.6T total parameters with 49B active per token and a 1M-token context. Its weights are published in mixed FP4 and FP8 precision. It has 237K downloads in 30 days and 5,636 likes, which is modest next to the smaller Qwen and Gemma models and reflects the hardware it needs as much as interest in it. Treat it as a server model for organisations that want an open model at this scale with simple licence terms.

Strengths

  • MIT licence
  • 1M-token context
  • 49B active parameters per token

Limitations

  • Needs about 1.0TB of memory at 4-bit, so a multi-GPU server
  • Text only
  • Not a laptop or workstation model

Verdict: Pick it for self-hosted work at this scale under a plain MIT licence.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

DeepSeek-V4.1-Flash

DeepSeek · MoE model · Text, Image

Newer multimodal DeepSeek model with a 552B backbone.

Parameters
763B
Licence
MIT
Memory (4-bit)
~497GB
Commercial use
Allowed

Why choose this model?

DeepSeek-V4.1-Flash is the newer and more downloaded DeepSeek model here. Its card describes a 552B backbone with 8B active parameters in prefill and 16B in decode, a 1M-token context and image input alongside text, and the Hub lists 763B parameters in total. It has 674K downloads in 30 days, nearly three times the downloads of V4-Pro, and 4,945 likes. It keeps the MIT licence, but it is still a server-class model: the weights alone are far beyond a single consumer GPU.

Strengths

  • MIT licence
  • Text and image input
  • 1M-token context

Limitations

  • Needs about 497GB of memory at 4-bit by our estimate
  • Needs a multi-GPU server
  • Figures come from the vendor's card, not our tests

Verdict: A practical way into the DeepSeek family if you have server hardware.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

GLM-5.3 from Z.ai

Z.ai · MoE model · Text

Post-trained GLM-5.2 aimed at coding, under a custom licence.

Parameters
753B
Licence
Custom (GLM-5.3)
Memory (4-bit)
~490GB
Commercial use
Check the licence

Why choose this model?

GLM-5.3 shares a base model with GLM-5.2 and improves it through post-training. Z.ai's card calls it the most capable open-weights model for coding, which is a vendor claim we did not test. It has 753B total parameters, 648K downloads in 30 days and 2,503 likes. Its licence is a custom GLM-5.3 licence rather than MIT, so check the terms before commercial use. GLM-5.2 is the MIT-licensed predecessor at the same size if the licence matters more than the newest weights.

Strengths

  • Coding is the stated focus
  • Same base as the MIT-licensed GLM-5.2
  • 648K downloads in 30 days

Limitations

  • Custom licence, not MIT
  • Needs about 490GB of memory at 4-bit by our estimate
  • The card states no context length

Verdict: Worth testing for server-side coding if its licence terms suit you.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

GLM-5.3-Flash

Z.ai · MoE model · Text, Image

Lighter, natively multimodal GLM under MIT.

Parameters
321B total, 18B active
Licence
MIT
Memory (4-bit)
~209GB
Commercial use
Allowed

Why choose this model?

GLM-5.3-Flash is the lighter GLM and the better fit for most teams. It has 320B total and 18B active parameters, is the first natively multimodal model in the GLM-5 line, and carries the MIT licence. With 5.7M downloads in 30 days it is the most downloaded model in the comparison table, and it has 3,228 likes. It still needs server hardware, but it is less than half the size of GLM-5.3.

Strengths

  • MIT licence
  • Natively multimodal
  • 18B active parameters

Limitations

  • Needs about 209GB of memory at 4-bit by our estimate
  • The card states no context length
  • Too large for a single consumer GPU

Verdict: The easier GLM to deploy, and the one to choose if you want MIT terms.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Kimi K3 from Moonshot AI

Moonshot AI · MoE model · Text, Image, Video

2.8T multimodal mixture-of-experts model under a custom licence.

Parameters
2.8T total, 104B active
Licence
Custom (Kimi K3)
Memory (4-bit)
~1.8TB
Commercial use
Check the licence

Why choose this model?

Kimi K3 is the largest model in this guide at 2.8T total and 104B active parameters. It takes text, images and video, supports a 1,048,576-token context and has 11,900 likes, the second most on the page after Qwen3.8-27B. It sits under a custom Kimi K3 licence, so read the terms first. Moonshot AI released Kimi K3.1 Pro on 2 November, which is not in the comparison table. K3 itself has 485K downloads in 30 days.

Strengths

  • Text, image and video input
  • 1M-token context
  • 11,900 likes on the Hub

Limitations

  • Custom licence
  • Needs about 1.8TB of memory at 4-bit by our estimate
  • Out of reach without a large GPU cluster

Verdict: A frontier-scale model for teams with cluster hardware and time to read the licence.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Kimi K2.7 Code

Moonshot AI · MoE model · Text, Image, Video

1T model tuned for long coding tasks.

Parameters
1T total, 32B active
Licence
Modified MIT
Memory (4-bit)
~668GB
Commercial use
Check the licence

Why choose this model?

Kimi K2.7 Code is a 1T mixture-of-experts model with 32B active parameters, tuned by Moonshot AI for long coding tasks. It accepts image and video input as well as text, and it has 326K downloads in 30 days and 1,417 likes. The licence is a Modified MIT licence, which differs from plain MIT, so read it before shipping a product on it. The card does not give a context length. If you want the newest Kimi, K3.1 Pro followed on 2 November.

Strengths

  • Built for long coding tasks
  • Image and video input
  • 32B active parameters

Limitations

  • Modified MIT licence, not plain MIT
  • Needs about 668GB of memory at 4-bit by our estimate
  • No context length on the card

Verdict: A coding specialist for server hardware, with a licence to read first.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

MiniMax-M3

MiniMax · MoE model · Text, Image, Video

Multimodal model built for fast long-context work.

Parameters
427B total, 23B active
Licence
Custom (MiniMax community)
Memory (4-bit)
~278GB
Commercial use
Check the licence

Why choose this model?

MiniMax-M3 is a native multimodal model with about 428B total and 23B active parameters and a 1M-token context. Its card credits a sparse attention design for much faster long-context prefill and decode than M2, which matters if you feed it whole repositories or long documents. The licence is the MiniMax community licence, so read it before commercial use. It has 378K downloads in 30 days and 1,326 likes.

Strengths

  • Text, image and video input
  • 1M-token context
  • Sparse attention for long inputs

Limitations

  • Community licence, not a standard open licence
  • Needs about 278GB of memory at 4-bit by our estimate
  • Speed claims come from the vendor's card

Verdict: Consider it when long inputs matter and you have server hardware.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Hy4 from Tencent

Tencent · MoE model · Text, Image

About 770B Tencent model whose licence changed after the preview.

Parameters
774B total, 49B active
Licence
Custom (Tencent Hy)
Memory (4-bit)
~504GB
Commercial use
Check the licence

Why choose this model?

Hy4 is Tencent's mixture-of-experts model of about 770B parameters with 49B active. The preview, Hy4-preview, was released under Apache 2.0, but the final Hy4 moved to the Tencent Hy licence, so the permissive terms did not carry over. Hy4-flash is a 220B variant. Hy4 has 7.7K downloads and 171 likes in the 30 days measured, far below the other large models in this guide, so there is little community feedback to lean on yet.

Strengths

  • 49B active parameters
  • Text and image input
  • Smaller 220B Hy4-flash variant

Limitations

  • Tencent Hy licence, not Apache 2.0
  • Needs about 504GB of memory at 4-bit by our estimate
  • Low adoption so far

Verdict: One to watch, but check the licence and wait for more community testing.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Gemma 4 31B from Google

Google · Dense model · Text, Image

Dense Google model for multilingual and general work.

Parameters
31.3B
Licence
Apache 2.0
Memory (4-bit)
~21GB
Commercial use
Allowed

Why choose this model?

Gemma 4 31B is a dense 31.3B model from Google under Apache 2.0. It takes text and image input, offers a context window of up to 256K tokens and supports over 140 languages, which makes it the multilingual pick in this guide. It has 5.3M downloads in 30 days and 4,439 likes. At about 21GB of memory at 4-bit by our estimate it suits a 32GB machine or a single large GPU.

Strengths

  • Apache 2.0
  • Over 140 languages
  • Text and image input

Limitations

  • Context tops out at 256K
  • Needs about 21GB of memory at 4-bit by our estimate
  • Dense, so all 31.3B parameters work on every token

Verdict: A solid all-rounder for multilingual work on one workstation.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Gemma 4 26B-A4B

Google · MoE model · Text, Image

Mixture-of-experts Gemma with 4B active parameters.

Parameters
25.8B total, 4B active
Licence
Apache 2.0
Memory (4-bit)
~17GB
Commercial use
Allowed

Why choose this model?

Gemma 4 26B-A4B is the mixture-of-experts version of Gemma 4: 25.8B total parameters with about 4B active per token. It keeps the Apache 2.0 licence, text and image input, and the 256K context of the dense 31B. Because only a small share of the parameters run per token, it can generate faster than the dense model on the same hardware, though all 25.8B must still sit in memory. It has 4.0M downloads in 30 days and 1,805 likes.

Strengths

  • Apache 2.0
  • 4B active parameters for faster generation
  • 256K context

Limitations

  • All experts must still fit in memory
  • Needs about 17GB of memory at 4-bit by our estimate
  • Fewer likes than the dense 31B

Verdict: Pick it over the dense 31B when generation speed matters and you have the memory.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

gpt-oss-120b from OpenAI

OpenAI · MoE model · Text

OpenAI's larger open-weight reasoning model.

Parameters
117B total, 5.1B active
Licence
Apache 2.0
Memory (4-bit)
80GB
Commercial use
Allowed

Why choose this model?

gpt-oss-120b has 117B parameters with 5.1B active, and its card says it fits a single 80GB GPU. It is built for reasoning under Apache 2.0, and OpenAI post-trained it with MXFP4 quantisation of the expert weights. It has 2.1M downloads in 30 days and 5,461 likes. It is one of the few large models in this guide that fits on one GPU rather than needing a multi-GPU server, though it does need a data-centre class card.

Strengths

  • Apache 2.0
  • Fits a single 80GB GPU
  • Reasoning focus

Limitations

  • Needs an 80GB GPU, beyond consumer cards
  • Text only, no image input
  • Less suited to a laptop than gpt-oss-20b

Verdict: The step up from gpt-oss-20b if you have one 80GB GPU.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

gpt-oss-20b

OpenAI · MoE model · Text

Open-weight reasoning model that runs within 16GB.

Parameters
20.9B total, 3.6B active
Licence
Apache 2.0
Memory (4-bit)
16GB
Commercial use
Allowed

Why choose this model?

gpt-oss-20b has 20.9B parameters with 3.6B active and runs within 16GB of memory according to its card, which makes it one of the easiest models in this guide to try on hardware you already own. It is Apache 2.0 and built for reasoning, and it has 5.5M downloads in 30 days with 5,278 likes. Like its larger sibling it was post-trained with MXFP4 quantisation of the expert weights. It is text only, so choose Gemma or Qwen if you need image input.

Strengths

  • Apache 2.0
  • Runs within 16GB per the card
  • 3.6B active parameters

Limitations

  • Text only
  • Memory use grows with long contexts
  • Speed depends on your hardware

Verdict: A sensible first model to try locally.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

MiMo-V2.6-Pro-RL from Xiaomi

Xiaomi · MoE model · Text

Xiaomi's MIT-licensed 1T model tuned with reinforcement learning.

Parameters
1T total, 42B active
Licence
MIT
Memory (4-bit)
~666GB
Commercial use
Allowed

Why choose this model?

MiMo-V2.6-Pro-RL is an MIT-licensed sparse mixture-of-experts model with 1.02T total and 42B active parameters and a 1M-token context. It is a post-trained variant tuned with reinforcement learning: the Hub lists RL and MOPD versions of the Pro model rather than a plain MiMo-V2.6-Pro repository. It has 36.0K downloads in 30 days and 816 likes, so independent write-ups are thin and you will mostly be relying on Xiaomi's card.

Strengths

  • MIT licence
  • 1M-token context
  • 42B active parameters

Limitations

  • Needs about 666GB of memory at 4-bit by our estimate
  • Only post-trained variants are on the Hub
  • Little community feedback so far

Verdict: An MIT option at 1T scale for server teams willing to test it themselves.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Mistral Large 4

Mistral AI · MoE model · Text, Image

Mistral's 1T mixture-of-experts model with image input.

Parameters
1T total, 52B active
Licence
Custom (listed as other)
Memory (4-bit)
~650GB
Commercial use
Check the licence

Why choose this model?

Mistral Large 4, published as Mistral-Large-4-1T-A52B, has about 1T total and 52B active parameters, 128 routed experts, text and image input and a 1M-token context. Its Hub licence is listed as other, so read Mistral's terms before commercial use. It replaces the Mistral 7B and 8x22B generation that older guides still recommend. It has 21.2K downloads in 30 days and 1,677 likes.

Strengths

  • Text and image input
  • 1M-token context
  • 128 routed experts, 52B active

Limitations

  • Hub licence listed as other
  • Needs about 650GB of memory at 4-bit by our estimate
  • Modest adoption so far

Verdict: The current Mistral option for server teams; skip the Mistral 7B guides.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Nemotron 3 Ultra from NVIDIA

NVIDIA · Hybrid MoE model · Text

550B hybrid Mamba-2 and transformer model from NVIDIA.

Parameters
561B total, 55B active
Licence
Custom (listed as other)
Memory (4-bit)
~365GB
Commercial use
Check the licence

Why choose this model?

Nemotron 3 Ultra has 550B total and 55B active parameters. It is a hybrid of Mamba-2 and transformer layers with a latent mixture of experts, and it supports up to 1M tokens of context. It has 536K downloads in 30 days and 388 likes. The licence shows as other on the Hub, so read NVIDIA's terms first. The smaller Super and Nano models from the same family follow below.

Strengths

  • Hybrid Mamba-2 and transformer design
  • Up to 1M tokens of context
  • 55B active parameters

Limitations

  • Licence listed as other
  • Needs about 365GB of memory at 4-bit by our estimate
  • Text only

Verdict: Worth a look for server-side long-context work.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Nemotron 3 Super

NVIDIA · Hybrid MoE model · Text

120B Nemotron for mid-size servers.

Parameters
124B total, 12B active
Licence
Custom (listed as other)
Memory (4-bit)
~81GB
Commercial use
Check the licence

Why choose this model?

Nemotron 3 Super is the middle model in the Nemotron 3 family, with 120B total and 12B active parameters. It has 666K downloads in 30 days, more than Ultra, and 432 likes. The licence is listed as other on the Hub. At about 81GB of memory at 4-bit by our estimate it needs a large GPU or a high-memory workstation rather than a laptop, and the 12B active parameters keep generation moving once it is loaded.

Strengths

  • 12B active parameters
  • Smaller than Ultra at 120B total
  • 666K downloads in 30 days

Limitations

  • Licence listed as other
  • Needs about 81GB of memory at 4-bit by our estimate
  • Text only

Verdict: The Nemotron to try first if Ultra is too big.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Nemotron 3 Nano

NVIDIA · Hybrid MoE model · Text

30B Nemotron with 3B active parameters.

Parameters
31.6B total, 3B active
Licence
Custom (listed as other)
Memory (4-bit)
~21GB
Commercial use
Check the licence

Why choose this model?

Nemotron 3 Nano is the smallest of the family, with about 30B total and 3B active parameters. It has 497K downloads in 30 days and 832 likes, and the licence is listed as other on the Hub. At about 21GB of memory at 4-bit by our estimate it fits a 32GB workstation, and the 3B active parameters keep generation quick. It is the Nemotron to consider for local or small-server use.

Strengths

  • 3B active parameters
  • Fits a 32GB machine
  • Same family as Super and Ultra

Limitations

  • Licence listed as other
  • Text only
  • Long contexts add to the memory estimate

Verdict: A local-friendly way into the Nemotron family.

View modelGitHub

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

Llama 4 Scout from Meta

Meta · MoE model · Text, Image

Meta's gated 109B model from April 2025.

Parameters
109B total, 17B active
Licence
Custom (Llama 4 community)
Memory (4-bit)
~71GB
Commercial use
Check the licence

Why choose this model?

Meta's Llama 4 Scout has about 109B total and 17B active parameters, and Maverick, the larger sibling, has about 402B total. Both were released in April 2025 under Meta's Llama 4 community licence and both are gated: you request access first. They are the oldest models in this guide, and the Hub shows no newer Llama release, so treat Llama 4 as an established option rather than the current frontier. Scout has 109K downloads in 30 days and 1,399 likes.

Strengths

  • 17B active parameters
  • Text and image input
  • Released April 2025, so it has a track record

Limitations

  • Gated: you must request access
  • Llama 4 community licence, not a standard open licence
  • Needs about 71GB of memory at 4-bit by our estimate

Verdict: Choose it for continuity with Llama tooling, not for the newest capabilities.

View model

Specifications from the Hugging Face model card and Hub, checked 4 December 2026. Memory is a 4-bit estimate unless the card gives a figure.

What is the best open source LLM for coding right now?

No independent leaderboard in this guide settles that, so the table lists the coding-focused releases with what each card says.

ModelSize (total / active)LicenceRuns onWhat the card says
GLM-5.3About 753BCustomMulti-GPU serverZ.ai calls it the most capable open-weights coding model
Kimi K2.7 Code1T / 32BModified MITMulti-GPU serverTuned for long coding tasks
DeepSeek-V4-Pro1.6T / 49BMITMulti-GPU serverMIT licence and a 1M-token context
Qwen3-Coder-Next80B / 3BApache 2.0High-memory workstationBuilt for coding agents and local development
Qwen3-Coder-30B-A3B-Instruct30B / 3BApache 2.032GB machine256K native context, 1.9M downloads

The practical split is size. The first three need server hardware or a hosted provider. The Qwen3-Coder pair is what a developer can run locally, and KAT-Coder-V2.5-Dev is Apache 2.0 but text-only because the release ships without its vision components.

Most editors and coding agents can point at an OpenAI-compatible endpoint, which Ollama, LM Studio and vLLM all expose, so swapping a local model into an existing workflow is usually a settings change.

Open source vs open weight LLMs: what the licences allow

An Apache 2.0 or MIT licence on downloadable weights does not make a model open source under the Open Source Initiative’s definition of open source AI, which also asks for information about the training data and the code. Searchers type “open source LLM”, so this guide uses the term, but each model below is labelled by what it releases.

ClassWhat you getModels in this guide
Closest to open sourceWeights, code, checkpoints and training detailsOlmo 3 (Apache 2.0), Apertus (70B and 8B, fully open data, 1,000+ languages)
Permissive open-weight modelsWeights under Apache 2.0 or MITQwen3.8, DeepSeek-V4, GLM-5.3-Flash, gpt-oss, Gemma 4, MiMo-V2.6, Hy4 preview, Granite 4.2
Restricted open-weight modelsWeights under a custom licenceGLM-5.3, Kimi K3, MiniMax-M3, Hy4, Mistral Large 4, Nemotron 3, Llama 4

Olmo 3 is also a small 7B model, so it runs on a 16GB laptop, which makes it the easiest fully open model to try.

Can open-weight models be used commercially?

Apache 2.0 and MIT allow commercial use. Custom licences vary: many add conditions such as attribution, usage thresholds or acceptable-use terms, and the Hub shows most of them only as “other”. Read the LICENSE file in the repository before shipping a product. Gated models such as Llama 4 also need an access request.

Which open source LLMs can run locally, and what hardware do they need?

Weights memory is roughly parameters times bytes per parameter: about 0.5GB per billion at 4-bit, 1GB at 8-bit and 2GB at 16-bit. Context length and the runtime add more, so treat the table as an estimate, not a guarantee. A mixture-of-experts model needs memory for all its weights even though only the active part runs per token.

MemoryModels that fitBasis
8GBLFM3-1.7B, Granite 4.2 3B and 8BLFM3 card: about 1GB at 4-bit; Granite 8B about 4.4GB by estimate
16GBgpt-oss-20b, Qwen3.5-9Bgpt-oss card: within 16GB; Qwen 9.7B about 5GB by estimate
32GBQwen3.8-27B, Gemma 4 26B-A4B, Gemma 4 31BAbout 13GB to 16GB at 4-bit by estimate
64GBQwen3-Coder-NextAbout 40GB at 4-bit by estimate
128GB or one 80GB GPUgpt-oss-120b, Nemotron 3 Supergpt-oss card: single 80GB GPU; Nemotron about 62GB by estimate
Server onlyGLM-5.3-Flash, DeepSeek-V4, Kimi K3GLM-5.3-Flash alone is about 160GB at 4-bit by estimate

For a phone or an old laptop, LFM3-1.7B is the smallest pick, and its licence is custom. Phi-4-reasoning-vision-15B from Microsoft is MIT but has a 16,384-token context, so it suits short tasks.

GGUF, AWQ and GPTQ: which quantisation format

Quantisation shrinks a model by storing weights at lower precision, which cuts memory and costs some quality. GGUF is the format used by llama.cpp, Ollama and LM Studio, and it runs on CPU, GPU or both. AWQ and GPTQ are 4-bit formats aimed at GPU serving through tools such as vLLM. Pick GGUF for a personal computer and AWQ or GPTQ for a GPU server.

How to run an open source LLM on your own computer

Most local LLM apps can pull a model straight from the Hub. In Ollama, any GGUF model on the Hub runs with one command, using the format `ollama run hf.co/{username}/{repository}`. Our best local LLM apps roundup compares ten apps, and LM Studio vs Ollama covers the two most used.

How to choose an open source LLM

Four things decide the choice among open-source LLMs, in this order: the task, the hardware, the licence and the context length you need. The next two subsections explain the specs that confuse people most.

Mixture of experts: total vs active parameters

A mixture-of-experts model has a large total parameter count but activates only a fraction per token. gpt-oss-120b holds 117B parameters and uses 5.1B per token, so it generates faster than a dense 117B model would, but it still needs memory for all 117B. Total parameters set the memory you need and active parameters set the speed.

Context window: what the cards list

ModelContext from the card
Phi-4-reasoning-vision-15B16,384 tokens
Qwen3.8-27B262,144 native, extensible to 1,000,000
Gemma 4Up to 256K tokens
Granite 4.2 8B512K tokens
DeepSeek-V4, Kimi K3, MiniMax-M3, MiMo-V2.6-Pro, Mistral Large 4, Nemotron 3 Ultra1M tokens

A longer window costs memory, because the key-value cache grows with every token. A model that fits at a 4K context may not fit at 256K.

Picks for common use cases

Use casePickWhy
MultilingualGemma 4, ApertusGemma 4 supports over 140 languages; Apertus lists 1,000+
Agents and tool useQwen3.8-27B, Kimi K3Both cards target long multi-step agent work
Reasoninggpt-oss-20b, DeepSeek-V4-Progpt-oss is built for reasoning; DeepSeek is MIT at the top end
Enterprise documentsGranite 4.2 8BApache 2.0 with a 512K-token context
Smallest footprintMiniCPM5-2B, LFM3-1.7BUnder 3B parameters; MiniCPM5-2B is Apache 2.0 with 1.1 million downloads
Multimodal inputGemma 4, Qwen3.8-27B, Kimi K3, MiniMax-M3Cards list image input, and several add video

Are open source LLMs as capable as GPT or Claude?

On some tasks, vendor-reported results say yes, and on others they say no, and the honest answer is that the cards are the only evidence in this guide. Several cards, including Qwen3.8-27B’s, compare against proprietary models such as Claude Opus 4.6 in their own tables. Those are self-reported numbers, not independent tests.

What LLM benchmarks actually measure

Check three things before trusting a score. The harness and effort level: GLM-5.3’s card reports Terminal-Bench with Claude Code at maximum effort. The context size: cards in this guide use 256K, 400K and 1M windows for different tests. And who ran it: a vendor’s table is a claim, while a third-party run is evidence.

For independent comparisons, look at LMArena for human preference votes, Artificial Analysis for speed and cost comparisons and SWE-bench for software engineering tasks. We did not run our own benchmarks, so nothing here is a performance ranking.

Is running an open source LLM locally cheaper than using an API?

Not automatically. API pricing is quoted per million tokens, and you pay only for what you use. Self-hosting trades that for fixed hardware or GPU rental costs, so it wins when you keep the hardware busy and loses when it sits idle.

Open models are also sold through hosted APIs by many providers, so “open” does not force you to self-host. We did not price providers for this guide, because rates change often. Compare current per-million-token prices against your expected monthly volume. Privacy or compliance needs often settle the question before cost does, because a local model keeps your text on your own machine.

Fine-tuning, deployment and security

Fine-tuning an open model usually means LoRA or QLoRA, which train small adapter layers instead of all the weights and fit on far less memory. Check the licence first, because some custom licences limit derivatives.

For serving, GLM-5.3’s card lists SGLang and vLLM, and llama.cpp and Ollama cover local use. All of them can expose an OpenAI-compatible API, which makes a model easy to drop into existing code, whether that is a LangChain app or a chat front end such as Open WebUI.

Security needs its own thought, because a model choice does not fix it:

  • Treat model output as untrusted input to the rest of your system.
  • Give agents and tools the least access they need, and require human approval for actions that cannot be undone.
  • Keep untrusted documents and web pages separate from instructions, because prompt injection hides in content the model reads.
  • Download from the lab’s own organisation and prefer safetensors files over pickle formats.

The OWASP guidance on LLM risks is a good checklist.

Which countries’ open source LLMs lead the list

Seven of the 12 families here come from Chinese labs: Qwen, DeepSeek, GLM, Kimi, MiniMax, Hy4 and MiMo. Four come from US companies (Gemma, gpt-oss, Nemotron and Llama 4) and one from France (Mistral). Apertus, from Switzerland, and Olmo, from the US-based Allen Institute, are the fully open options.

The release dates matter as much as the count. Llama 4 dates from April 2025 and gpt-oss from August 2025, while most Chinese releases here are from 2026, as are Gemma 4 (March), Nemotron 3 Ultra (June) and Mistral Large 4 (September). This is a count of who is shipping open weights, not a quality ranking by country.

About this ranking of open source LLMs

Each model had to be an original release from the lab that trained it, not a quantised or merged copy, with downloadable weights and a model card. Most are 2026 releases, with gpt-oss and Llama 4 kept because they remain widely used. Sizes, licences, downloads and likes come from the Hub API on 4 December 2026, and context lengths and architecture come from each card.

Several older families were left out. The newest Yi repositories on the Hub date from August 2024, Mistral 7B and 8x22B have been superseded by Mistral Large 4 and Medium 3.5, Falcon’s recent Hub releases are tiny models, and Microsoft’s latest Phi releases are Phi-4 variants rather than a new flagship. Popularity data such as likes shows adoption, not quality, so no model is ranked above another here.

Open source models beyond LLMs

The same Hub holds open-source AI models for other jobs, from OCR to video. These are the picks we checked, with the same figures.

JobPickLicenceSizeDownloads, 30 daysLikes
Reading documents (OCR)baidu/Unlimited-OCRMIT3.3B5.0M4,944
Image generationTongyi-MAI/Z-Image-TurboApache 2.06.2B893K5,357
Video generationLightricks/LTX-2.5Other (gated)Not listed3.2M14,191
Speech to textQwen/Qwen3-ASR-1.7BApache 2.02.3B2.0M1,253
Text to speechk2-fsa/OmniVoiceNot declared0.6B4.4M1,769
EmbeddingsQwen/Qwen3-Embedding-0.6BApache 2.00.6B5.4M1,305
Time-series forecastingamazon/chronos-2Apache 2.0120M11.1M508

For video, LTX-2.5 is gated and its licence is custom, so you request access first, and Wan2.2 is the Apache 2.0 alternative at 14.3B. OmniVoice declares no licence in its repository, so confirm the terms before commercial use. For retrieval, pair an embedding model with a reranker such as Qwen3-Reranker-4B.

Best Hugging Face datasets

The Hugging Face datasets page sorted by most likes, listing prompts.chat, FineWeb, hh-rlhf, GSM8K and other datasets

The Hub’s datasets sorted by most likes on 4 December 2026. The table below adds licence and 30-day downloads.

JobDatasetLicenceLikesDownloads, 30 days
Pretraining web textHuggingFaceFW/finewebODC-By3,393424,646
Educational web textHuggingFaceFW/fineweb-eduODC-By1,327531,085
Open conversationsOpenAssistant/oasst1Apache 2.01,56080,882
Human preference dataAnthropic/hh-rlhfMIT2,03751,070
Maths evaluationopenai/gsm8kMIT1,6021,545,579
Source codebigcode/the-stackOther (gated)1,106116,796

Likes are all-time. Downloads are the Hub’s 30-day count, so read the two together: a dataset can have many likes and few downloads.

FineWeb holds 15 trillion tokens of cleaned web text, and you almost never need it whole: it has a sample of about 10 billion tokens, and streaming reads only what you use.

from datasets import load_dataset

fw = load_dataset("HuggingFaceFW/fineweb", name="sample-10BT", split="train", streaming=True)
print(next(iter(fw)))

Licences differ from file to file inside a collection, and Wikipedia’s CC BY-SA terms require derivatives under the same licence. Read the dataset card’s licence and intended-use sections before training on anything you plan to sell. Humanity’s Last Exam and The Stack are gated.

Open source LLM questions

What is the best open source LLM right now?

There is no single winner, because it depends on the job and the hardware. Qwen3.8-27B is our general pick: Apache 2.0, 20,993 likes and 4.5 million downloads in 30 days. For a local machine, gpt-oss-20b fits in 16GB. We did not run benchmarks, so choose on licence, size and task.

What is the most advanced open AI model?

By size, Kimi K3 is the largest here at 2.8T total parameters, ahead of DeepSeek-V4-Pro at 1.6T. Size is not capability, and each lab claims leadership in its own card, so there is no independent ranking on this page.

Which open source LLM is best for law?

None of the models in this guide is law-specific, and we did not test any on legal work. For contract or case-file work, a long-context model such as Qwen3.8-27B or Granite 4.2 combined with retrieval is a reasonable starting point. Test it on your own documents, and consider a local model if the text is confidential.

What is the best free alternative to ChatGPT?

Downloading is free, so Qwen3.8-27B or gpt-oss-20b in Ollama or LM Studio costs only your hardware and electricity. Our local LLM apps roundup compares the apps.

Which LLM can I run with 8GB of RAM?

LFM3-1.7B and Granite 4.2 in its 3B and 8B sizes fit by estimate, and Qwen3.5-9B is a tight fit at 4-bit.

What is the best LLM for a 16GB GPU?

gpt-oss-20b, which its card says runs within 16GB of memory. Qwen3.5-9B leaves more room for a long context.

Are open source LLMs completely free?

The weights are free to download, but you pay for hardware, power or a hosting provider. Some licences also limit commercial use, so the licence on each model page is what counts.

Can open source LLMs run offline?

Yes. Once the weights are downloaded, a local runtime such as Ollama or LM Studio needs no internet connection.

Where can I download open source LLMs?

From the Hugging Face Hub, where each lab publishes under its own organisation. Ollama and LM Studio can also pull models directly, and Ollama accepts Hub GGUF models with `hf.co/{username}/{repository}`.

Where can I find an updated leaderboard of open source LLMs?

LMArena, Artificial Analysis and SWE-bench all publish independent comparisons. Check the date on any ranking, because new releases arrive weekly.

How do I use these models with other tools?

Many models on the Hub speak standard formats, so agents and editors can call them. Our MCP servers directory lists servers that connect models to the tools you already use.