Private LLMs and RAG
Best Open-Weight LLMs in 2026: Choosing a Local LLM for Enterprise
Best open-weight LLMs 2026 for on-premises use: Qwen, DeepSeek V4, Kimi K3, GLM, Gemma 4, gpt-oss, Mistral and Muse compared by licence, size and hardware.
In short
There is no single best open-weight LLM in 2026. For one GPU server, shortlist Qwen3.8-27B, Gemma 4 and gpt-oss-120b, all under Apache 2.0. For a multi-GPU server, add GLM-5.3-Flash and DeepSeek's Flash models under MIT. Kimi K3, Mistral Large 4 and Meta's Muse Spark Open need large GPU servers and carry custom licences. Choose on your own evaluation.
Key takeaways
- No open-weight model is best for every task, so shortlist by use case, hardware and licence, then decide with an evaluation on your own data.
- Weights need roughly total parameters times bytes per parameter, and mixture-of-experts models must keep every expert in memory even though each token uses only a few.
- Qwen3.8-27B, Gemma 4 and gpt-oss use Apache 2.0 and DeepSeek's V4 models and GLM-5.3-Flash use MIT, while Kimi K3, Mistral Large 4 and Muse Spark Open add conditions on attribution or on offering the model to others as a service.
- Running an unmodified model on your own servers does not generally make you its provider under the EU AI Act, but placing a substantially modified model on the market under your own name can.
- Apply the same checks to every model, whoever developed it: official source, pinned revision, safetensors files, reviewed code and terms, and behavioural tests on your own tasks.
Which open-weight LLMs matter in 2026?
Eight families have current open-weight releases that enterprises can run on their own hardware: Qwen from Alibaba Cloud, DeepSeek, Kimi from Moonshot AI, GLM from Z.ai, Gemma from Google DeepMind, gpt-oss from OpenAI, Mistral AI’s models and Meta’s Muse.
Open-weight models are large language models (LLMs) whose trained parameters, the weights, are published for download, so you can run them on your own servers or in a sovereign cloud. People often call them open-source LLMs, but each model’s licence decides what you may do with it.
Three patterns run through the 2026 releases:
- Very large mixture-of-experts models. A mixture-of-experts (MoE) model sends each token through a few of many expert sub-networks, so only its active parameters work on that token. Kimi K3 has 2.8 trillion parameters with 104 billion active, and Mistral Large 4 about 1 trillion with 49 billion active.
- Long context. DeepSeek’s V4 models, Kimi K3, GLM-5.3-Flash, Mistral Large 4 and Muse Spark Open accept about one million tokens of context.
- Multimodal input. Most of the latest releases read images as well as text, and some Gemma 4 sizes and Muse Spark Open also take audio.
How do DeepSeek V4, Kimi K3, Qwen, GLM, Gemma and gpt-oss compare?
They differ most in size, licence and context length. We checked each release’s model card, licence, configuration and repository history on Hugging Face on 30 October 2026; sizes are as the developers state them.
| Model family | Developer | Latest open-weight release checked | Licence | Sizes (total / active parameters) | Context length |
|---|---|---|---|---|---|
| Qwen | Alibaba Cloud | Qwen3.8-27B (August 2026) | Apache 2.0 | 27B dense | 262,144 tokens native, extensible to 1,000,000 |
| DeepSeek | DeepSeek | DeepSeek-V4.1-Flash (September 2026); V4-Pro and V4-Flash (from April 2026) | MIT | V4.1-Flash: 552B backbone, 8B active in prefill and 16B in decode; V4-Pro: 1.6T / 49B; V4-Flash: 284B / 13B | 1M tokens |
| Kimi | Moonshot AI | Kimi K3 (July 2026) | Kimi K3 License | 2.8T / 104B | 1M tokens |
| GLM | Z.ai | GLM-5.3-Flash (August 2026) | MIT | 320B / 18B | 1M tokens |
| Gemma | Google DeepMind | Gemma 4 (from April 2026) | Apache 2.0 | 31B dense; 26B A4B: 25.2B / 3.8B; 12B dense; E4B and E2B: 4.5B and 2.3B effective | 256K (31B, 26B A4B, 12B); 128K (E4B, E2B) |
| gpt-oss | OpenAI | gpt-oss-120b and gpt-oss-20b (August 2025) | Apache 2.0 | 117B / 5.1B; 21B / 3.6B | 131,072 tokens |
| Mistral | Mistral AI | Mistral Large 4 (October 2026) | Mistral Ecosystem Open-Weight License | About 1T / 49B | 1M tokens |
| Muse | Meta | Muse Spark Open (15 October 2026) | Muse Model License | 816B / 42B | 1M tokens |
Active parameters set the compute per token; total parameters set the memory. Some developers also offer hosted versions with extra features; Qwen, for example, describes a hosted Qwen3.8-27B with a one-million-token default context and built-in tools, so evaluate the open-weight checkpoint you will actually run.
Qwen3.8 builds on the Qwen3.5 architecture and follows the Qwen3.6 series, and GLM-5.3-Flash is the first natively multimodal model in Z.ai’s GLM-5 series, which also includes GLM-5.2. Our guide to self-hosting GLM-5.3 compares the larger GLM-5.3 with Flash and covers its licence and hardware. Our guide to self-hosting Qwen 3.8 covers Qwen3.8-Flash-Next and the 2.4T model, their licences and hardware.
What is the best local LLM for enterprise use?
There is no single best local LLM. Fix your tasks, the hardware you can dedicate and the licence terms you can accept, then shortlist two or three candidates per use case and choose on your own evaluation.
Assistants and retrieval on one GPU server
Retrieval-augmented generation (RAG) lets a model answer from documents retrieved from your own sources, which favours long context and strong reading in your languages. For an assistant on a single GPU server, start with:
- Qwen3.8-27B: dense, Apache 2.0, reads images and video, with 262,144 tokens of native context.
- Gemma 4 31B or 26B A4B: Apache 2.0, 256K context and image input. Google says the 26B A4B, with 3.8 billion active parameters, runs almost as fast as a 4-billion-parameter model.
- gpt-oss-120b: Apache 2.0, with adjustable reasoning effort, and small enough for a single 80 GB GPU according to OpenAI.
If your staff work in several European languages and you have a large GPU server, add Mistral Large 4, which Mistral says is fluent in every official EU language.
What is the best local LLM for coding?
The answer depends on the GPUs you can dedicate, because coding agents need long context, reliable tool calls and enough speed for many iterations. Our posts on running OpenCode with local models and on AI coding agents in the enterprise cover the agent and governance side.
- One 80 GB GPU: Qwen3.8-27B, which Qwen positions for coding and long-horizon agentic tasks, and gpt-oss-120b.
- One multi-GPU server: GLM-5.3-Flash and DeepSeek-V4-Flash.
- Large multi-GPU servers: Kimi K3, which Moonshot AI describes as built for long-horizon coding; Muse Spark Open, which Meta says is built for coding and agentic work; DeepSeek-V4-Pro; and Mistral Large 4.
Small, edge and laptop deployments
Gemma 4 E2B and E4B target phones and edge devices, take audio and images, and support 128K tokens. Gemma 4 12B, which also takes audio, and gpt-oss-20b suit workstations and local use.
What hardware do these models need on-premises?
Estimate the weights first: total parameters multiplied by bytes per parameter, which is about 2 bytes at 16-bit precision, 1 byte at 8-bit and half a byte at 4-bit. For MoE models, count every parameter, not only the active ones, because all experts stay in memory. Then add the key-value (KV) cache, which holds attention data for each token in context and grows with context length and concurrent requests, plus runtime overhead.
For the weights alone, the published checkpoints come to roughly:
- Laptop or workstation: 10 GB for Gemma 4 E2B, 16 GB for E4B and 24 GB for 12B at 16-bit. OpenAI says gpt-oss-20b runs within 16 GB.
- One 80 GB GPU: 56 GB for Qwen3.8-27B and 62 GB for Gemma 4 31B at 16-bit, or about half at 8-bit. OpenAI says gpt-oss-120b fits one 80 GB GPU because its expert weights use the 4-bit MXFP4 format.
- One multi-GPU server: about 330 GB for GLM-5.3-Flash at 8-bit and 510 GB for DeepSeek-V4.1-Flash. DeepSeek-V4-Flash, with 284 billion parameters and 4-bit expert weights, needs less.
- Large servers or clusters: about 865 GB for DeepSeek-V4-Pro, just over 1 TB for Mistral Large 4 at 8-bit (Mistral also publishes a smaller NVFP4 version) and 1.56 TB for Kimi K3. Meta states at least 700 GB of GPU memory for Muse Spark Open in NVFP4 and 2 TB in BF16.
The KV cache is harder to generalise, because several of these models use attention designs that shrink it. Qwen3.8 uses linear-attention layers for three in every four layers, Gemma 4 mixes sliding-window and global attention, and DeepSeek says V4-Pro needs a tenth of V3.2’s KV cache at one million tokens. Our LLM GPU sizing calculator assumes standard attention, so treat its cache figure as an upper bound for these designs.
Check engine support too. New architectures may need a specific engine build: Mistral points to a dedicated vLLM container image for Large 4, and DeepSeek ships its own prompt-encoding scripts instead of a standard chat template. Our comparison of vLLM, Ollama, llama.cpp and SGLang explains which engine suits which hardware, and our guide to hardware-aware model selection covers quantisation and load testing.
Which open-weight licences allow commercial use?
All eight releases in the table allow commercial use, but three add conditions. Qwen3.8-27B, Gemma 4 and gpt-oss use Apache 2.0, and DeepSeek’s V4 models and GLM-5.3-Flash use MIT. OpenAI adds a short usage policy to gpt-oss that requires compliance with applicable law.
The three custom licences start from MIT-style permissions:
- Mistral Ecosystem Open-Weight License (Mistral Large 4): if your company or an affiliate runs a model-as-a-service business, giving third parties meaningful control over inference or post-training, you need a separate commercial licence from Mistral before commercial use. Internal use is excluded.
- Kimi K3 License: model-as-a-service businesses with group revenue above US$20 million over 12 months need a separate agreement with Moonshot AI, and products with more than 100 million monthly active users or US$20 million in monthly revenue must display the name Kimi K3. Internal use is excluded from both conditions.
- Muse Model License (Muse Spark Open): incorporates Meta’s usage policy, requires “Built with Muse Spark Open” in the product, its documentation or its settings, and requires an agreement with Meta for model-as-a-service businesses above US$20 million revenue over 12 months. Internal use is excluded from that last condition.
Licences can differ between models from the same developer, so record the licence of the exact checkpoint you approve. Our guide to open-weight model licences compares the terms, including Meta’s Llama licences, and explains how licence terms affect the EU AI Act’s open-source exemptions.
Is it safe to run open-weight models from any developer on-premises?
It can be, provided every model passes the same checks before production, whoever developed it. You cannot review weights the way you review code, so safety comes from controlling where the files come from, what code runs with them and how the model behaves.
- Provenance: download only from the developer’s official organisation, pin the exact revision, record file hashes and serve production from an internal registry rather than the internet.
- Files and code: every repository in the table publishes its weights as safetensors files, so refuse other weight formats unless your security team has reviewed them. Some repositories also ship Python code, such as DeepSeek’s encoding and inference scripts and Kimi K3’s modelling code; review it like any third-party software.
- Terms: keep the licence and any usage policy with the model record. Meta’s Muse Spark Open repository also asks you to accept its conditions before downloading.
- Behaviour: test refusals, accuracy on topics that matter to you, output in your languages and resistance to prompt injection. Meta, for example, recommends running Muse Spark Open inside a wider system with guardrails suited to the use case.
- Network: on your own servers, prompts go only where your inference engine and network allow, so block outbound traffic from inference hosts.
What does the EU AI Act mean for open-weight models you self-host?
Usually the model obligations stay with the developer: running an unmodified open-weight model on your own servers does not generally make you its provider. Your own duties come from the AI systems you build and use with it.
Obligations for providers of general-purpose AI (GPAI) models, which can be used for many tasks and built into many downstream systems, have applied since 2 August 2025, and the Commission can enforce them, including through fines, from 2 August 2026. The Commission describes the provider as the entity that develops a model, or has it developed, and places it on the EU market under its own name, whether through APIs, downloads, cloud services or other means.
Two cases need a closer look:
- Substantial modification. Fine-tuning makes you a provider only in exceptional cases, when it uses more than a third of the compute used to train the original model. The obligations then cover the modification, such as the changes made and the new training data, not the whole model.
- Offering a modified model to others. If you place such a model on the market under your own name, for example through an API for customers, the provider duties for your modification apply to you.
Our guide to GPAI obligations explains the provider duties and what remains for organisations that build on these models. This is a general explanation, not legal advice: the answer depends on your use case and role.
How do you evaluate an open-weight model for your use case?
Test your shortlist on your own tasks, using the exact checkpoint, precision and inference engine you plan to run. Public benchmarks show general capability; your own evaluation shows how a model handles your documents, languages and tools.
- Build an evaluation set from real tasks with expected answers, edge cases and every language your users work in.
- Use the right prompt format and settings. gpt-oss works correctly only with OpenAI’s harmony response format. Reasoning settings matter too: Qwen3.8-27B thinks by default, and Kimi K3 always reasons, with effort set from low to max. Effort changes quality, latency and cost.
- Test the precision you will deploy. Kimi K3 was trained for 4-bit MXFP4 weights and gpt-oss post-trained with MXFP4 expert weights; for other models, compare quantised and full-precision versions on your set.
- Measure under load: time to first token, tokens per second, throughput at your expected concurrency and memory headroom at your longest context.
- Repeat when anything changes, such as a new checkpoint, engine release or GPU generation.
How SysArt helps
SysArt helps European enterprises choose, run and govern open-weight models on infrastructure they control. We shortlist models against your hardware, languages and licence constraints, test them on your own tasks and deploy the chosen models as part of a private LLM platform with a gateway, access control and monitoring. We also record the licence reviews and evaluation results that your security, legal and compliance teams need for approval.
Featured image by Domaintechnik on Unsplash.
Frequently asked questions
What are the best open-weight LLMs in 2026?
There is no single best model; the right one depends on your tasks, hardware and licence constraints. For one GPU server, shortlist Qwen3.8-27B, Gemma 4 and gpt-oss-120b, all under Apache 2.0. For a multi-GPU server, add GLM-5.3-Flash and DeepSeek's Flash models under MIT. Kimi K3, DeepSeek-V4-Pro, Mistral Large 4 and Meta's Muse Spark Open need large GPU servers. Decide on your own evaluation.
What is the best local LLM for coding in 2026?
It depends on your GPUs. On a single 80 GB GPU, test Qwen3.8-27B, which Qwen positions for coding and long-horizon agentic tasks, and gpt-oss-120b. On a multi-GPU server, test GLM-5.3-Flash and DeepSeek-V4-Flash. With large GPU servers, Kimi K3, DeepSeek-V4-Pro, Mistral Large 4 and Muse Spark Open become options. Evaluate candidates inside the coding agent and harness you will actually use.
Is DeepSeek V4 open source?
Its weights are open. DeepSeek publishes its V4 models under the MIT licence, which allows commercial use, modification and redistribution as long as the copyright and permission notice is kept. DeepSeek-V4-Pro has 1.6 trillion parameters with 49 billion active, DeepSeek-V4-Flash 284 billion with 13 billion active, and both support one-million-token contexts. The newer DeepSeek-V4.1-Flash, also under MIT, processes images as well as text.
Can Kimi K3 be used commercially?
Yes, under the Kimi K3 License, with two conditions. A company that runs a model-as-a-service business, with group revenue above US$20 million over 12 months, needs a separate agreement with Moonshot AI. Products with more than 100 million monthly active users or US$20 million monthly revenue must display the name Kimi K3. Neither condition applies to internal use that does not make the model, its outputs or its capabilities available to third parties.
How much GPU memory do Qwen3.8 and Gemma 4 need?
For the weights, multiply parameters by bytes per parameter. Qwen3.8-27B's 16-bit checkpoint is about 56 GB, so it fits one 80 GB GPU with room for cache. Gemma 4 needs from about 10 GB for E2B to about 62 GB for the 31B model at 16-bit, and roughly half that at 8-bit. Add the key-value cache, which grows with context length and concurrent requests, and runtime overhead.
Does self-hosting an open-weight model make us a provider under the EU AI Act?
Generally not. The Commission describes a general-purpose AI model's provider as the entity that develops it and places it on the market under its own name, so the developer keeps the model obligations when you run an unmodified copy. Fine-tuning makes you a provider only in exceptional cases, above one third of the original training compute. Your AI systems keep their own duties. This is not legal advice.
Is it safe to run open-weight models from any developer on-premises?
It can be, if every model passes the same checks. Download from the developer's official repository, pin the revision and record file hashes, accept only safetensors weights, review any Python code shipped with the model, keep the licence and usage policy on record, and test behaviour on your own tasks, including refusals and prompt injection. Block outbound traffic from inference servers so prompts stay inside your boundary.
Sources
- Qwen (Alibaba Cloud): Qwen3.8-27B model card, licence and configuration, Hugging Face (August 2026) · checked 30 October 2026
- DeepSeek: DeepSeek-V4-Pro and DeepSeek-V4-Flash model card and licence, Hugging Face (April 2026) · checked 30 October 2026
- DeepSeek: DeepSeek-V4.1-Flash model card and licence, Hugging Face (September 2026) · checked 30 October 2026
- Moonshot AI: Kimi K3 model card and Kimi K3 License, Hugging Face (July 2026) · checked 30 October 2026
- Z.ai: GLM-5.3-Flash model card, licence and configuration, Hugging Face (August 2026) · checked 30 October 2026
- Google DeepMind: Gemma 4 model card, covering all five sizes, Hugging Face (April 2026) · checked 30 October 2026
- OpenAI: gpt-oss-120b and gpt-oss-20b model card, licence, usage policy and configuration, Hugging Face (August 2025) · checked 30 October 2026
- Mistral AI: Mistral Large 4 model card and Mistral Ecosystem Open-Weight License, Hugging Face (October 2026) · checked 30 October 2026
- Meta: Muse Spark Open model card and Muse Model License, Hugging Face (15 October 2026) · checked 30 October 2026
- European Commission: Guidelines on obligations for general-purpose AI providers, questions and answers (last updated 11 November 2025) · checked 30 October 2026