SXF GUIDE / OPEN MODELS

Best Open-Source AI Models in 2026:
Licenses, Hardware & Local Use

The open-model market now spans laptop-sized multimodal models and multi-trillion-parameter systems that need datacenter hardware. This guide separates license reality from marketing, then compares the models by architecture, context, deployment footprint and the workloads they are actually practical for.

QUICK ANSWER

The best open model depends more on hardware and license constraints than on a single benchmark score.

Gemma 4 12B is the most practical local multimodal model in this shortlist because Google explicitly targets 16 GB-class laptops. Mistral Small 4 is a strong self-hosted middle ground with Apache 2.0 licensing, 119B total / 6.5B active parameters and an official 70.8 GB NVFP4 checkpoint. Qwen3.5-397B-A17B is a compelling multilingual multimodal MoE for large deployments. DeepSeek V4-Pro and GLM-5 target frontier-scale reasoning and coding on server infrastructure. Kimi K3 is the largest model here at 2.8T parameters with a 1M context window, but it uses a custom Kimi K3 license rather than MIT or Apache 2.0.

DEFINITION FIRST

Open-source AI vs open weights: the distinction most model lists skip

The search phrase “open-source AI model” is useful, but technically it collapses several different ideas. A downloadable checkpoint is an open-weight release. A model carrying an MIT or Apache 2.0 license has permissive legal terms around the released artifacts. Neither fact, by itself, proves that the full AI system satisfies the Open Source Initiative's Open Source AI Definition.

OSI's definition asks whether users can use, study, modify and share the system and whether the preferred form for modification is available. For machine-learning systems, that includes sufficient information about training data, the code used to train and run the system, and the model parameters. That is a higher bar than “weights are on Hugging Face.”

OPEN WEIGHTSYou can download the trained parameters.

Useful for self-hosting, fine-tuning and research, but the license may be custom and the training recipe may still be incomplete.

OPEN SOURCE AIThe system is modifiable in its preferred form.

Under OSAID 1.0, that means freedoms plus the relevant data information, code and parameters needed to study and modify the system.

SXF terminology

This page targets the common search term “open-source AI models,” but the comparison table reports the actual model-weight license. We avoid claiming that every downloadable model is an OSI-compliant Open Source AI system.

QUICK COMPARISON

Best open-source and open-weight AI models in 2026 at a glance

ModelLicenseParametersContextModalitiesLocal fitBest fit
DeepSeek V4-ProDeepSeek MIT 1.6T / 49B active1MText Datacenter / multi-nodeFrontier reasoning, coding and million-token text workloads
Qwen3.5-397B-A17BQwen Apache 2.0 397B / 17B active262K native · ~1.01M extendedText + image Multi-GPU / serverMultilingual multimodal agents and general-purpose deployment
GLM-5Z.ai MIT 744B / 40B active202,752 configText Multi-GPU / serverSystems engineering, coding and long-horizon agents
Mistral Small 4Mistral AI Apache 2.0 119B / 6.5B active256KText + image High-memory workstation / serverEfficient reasoning, coding, agents and multimodal enterprise use
Gemma 4 12BGoogle DeepMind Apache 2.0 ~12B dense256KText + image + audio Yes · laptop-classLocal multimodal AI, private assistants and on-device experimentation
Kimi K3Moonshot AI Kimi K3 License 2.8T / 104B active1MText + image Datacenter-classFrontier multimodal agents, long-context knowledge work and coding

“Local fit” means practical deployment class, not whether a framework can technically load the checkpoint. Exact RAM/VRAM requirements depend on precision, quantization, KV cache, context length, batching and runtime.

01

License

Can you modify, redistribute or commercialize the released artifacts under clear terms?

02

Active parameters

For MoE models, active parameters matter for compute per token, while total parameters still matter for storage and memory distribution.

03

Context

Long context can help research and agents, but KV-cache memory and retrieval quality often become the real bottlenecks.

04

Deployment footprint

A model is only “local” in a useful sense if your hardware can run it at acceptable speed and context size.

05

Tool use

Agentic workloads need reliable structured outputs, function calling and compatibility with serving stacks.

06

Multimodality

Vision and audio can eliminate separate models, but may increase memory and preprocessing complexity.

01

DEEPSEEK

DeepSeek V4-Pro: frontier open weights for reasoning, coding and 1M-token text context

DeepSeek V4-Pro is the largest MIT-licensed checkpoint in this shortlist by total storage footprint. DeepSeek lists 1.6 trillion total parameters with 49 billion activated per token and a 1M-token context window. The Hugging Face repository is roughly 865 GB, with FP4 used for MoE expert parameters and FP8 for most other weights.

The MoE design is important. Only a fraction of the 1.6T parameters are active for each token, reducing inference compute compared with a dense model of the same total size. But sparsity does not magically make the full model laptop-sized: the weights still have to live somewhere, and distributed serving becomes part of the deployment architecture.

Total / active1.6T / 49B
Context1M tokens
LicenseMIT
Repository~865 GB

Who should use DeepSeek V4-Pro?

It makes sense for teams that want frontier-class open weights and already operate serious GPU infrastructure. It is especially relevant to coding, reasoning and long-context systems where self-hosting control matters more than minimizing infrastructure complexity.

Who should not use it?

If your requirement is “run a strong model on one workstation” or “ship offline AI to end users,” V4-Pro is the wrong deployment class. Use a smaller model or a managed inference provider rather than turning model hosting into the main engineering project.

02

QWEN

Qwen3.5-397B-A17B: best fit for multilingual multimodal open deployment at scale

Qwen3.5-397B-A17B combines a vision encoder with a sparse MoE language model. Qwen documents 397B total parameters and 17B activated, a 262,144-token native context window extensible to roughly 1,010,000 tokens, and support for 201 languages and dialects.

The architecture is attractive because the active parameter count is much smaller than the total parameter pool. For serving, Qwen documents compatibility with Transformers, vLLM, SGLang and KTransformers. The model still consists of dozens of large weight shards, so “17B active” should not be confused with “17B model footprint.”

Total / active397B / 17B
Context262K native · ~1.01M extended
LicenseApache 2.0
ModalityText + image

Why Qwen3.5 stands out

Its combination of multilingual coverage, multimodality, sparse compute and permissive Apache 2.0 weights makes it a strong platform model for organizations building international assistants, multimodal agents or their own managed inference layer.

Deployment reality

This is still a large-model deployment. Plan for multi-GPU or server infrastructure, especially at long context. Extending to ~1M context also increases KV-cache pressure; the advertised maximum is not a free operating point.

03

Z.AI

GLM-5: an MIT-licensed MoE built for systems engineering and long-horizon agents

GLM-5 targets a different center of gravity: complex systems engineering and long-horizon agentic tasks. Z.ai lists 744B total parameters with 40B active, trained on 28.5T tokens, and uses DeepSeek Sparse Attention to reduce long-context deployment cost. The released configuration exposes 202,752 maximum positions.

Z.ai publishes extensive coding, terminal, browser and tool-use evaluations. Those results are useful evidence about the model's intended workload, but they should not be merged mechanically with numbers from other vendors because harnesses, prompts, context strategies and tool environments differ.

Total / active744B / 40B
Context config202,752
LicenseMIT
FocusSystems + agents

Best use case for GLM-5

Choose it when open deployment and agentic engineering are the priority and you have infrastructure for a very large MoE. It is particularly interesting for coding-agent research because the official evaluation suite includes SWE-bench, terminal and browser tasks rather than only general chat benchmarks.

04

MISTRAL AI

Mistral Small 4: the strongest middle ground between frontier capability and self-hosting practicality

Mistral Small 4 is a 119B-parameter MoE with 6.5B activated per token, a 256K context window, text-and-image input, configurable reasoning and native function calling. Mistral releases it under Apache 2.0 and explicitly supports both instruct and reasoning modes.

Its deployment story is unusually clear. The full Hugging Face repository is about 242 GB, while Mistral also publishes an official NVFP4 checkpoint of about 70.8 GB. That does not make it a normal laptop model, but it puts serious self-hosting within reach of high-memory workstations and smaller multi-GPU servers instead of requiring datacenter-scale model parallelism.

Total / active119B / 6.5B
Context256K
LicenseApache 2.0
NVFP4 checkpoint~70.8 GB

Why Mistral Small 4 is strategically interesting

It combines four things that often require separate models: general instruction following, reasoning, coding/agent behavior and vision. For enterprises that want to keep inference under their control without hosting a 400B–2.8T model, that balance can matter more than a narrow benchmark lead.

05

GOOGLE DEEPMIND

Gemma 4 12B: best open model in this list for practical local multimodal AI

Gemma 4 12B is the model in this shortlist that changes the hardware conversation. Google describes it as a dense, unified multimodal model with 256K context and native text, image and audio input. The Hugging Face weight file is about 23.9 GB.

More importantly, Google's developer guide explicitly targets dedicated-GPU laptops with about 16 GB VRAM or unified memory. That is possible through optimized local inference rather than by loading a full 24 GB BF16 checkpoint naively into a 16 GB GPU. It is the kind of distinction that matters when “runs locally” is the purchase criterion.

Architecture~12B dense
Context256K
LicenseApache 2.0
Local target16 GB-class laptop

Best use cases for Gemma 4 12B

Private desktop assistants, local document analysis, speech/image understanding, coding experiments and applications that cannot send data to a hosted API. It is not the largest or most expensive model here—and that is precisely why it is useful.

What Gemma 4 12B is not

It should not be compared with DeepSeek V4-Pro or Kimi K3 as if parameter scale were equal. The value proposition is deployment efficiency and multimodal local use, not replacing datacenter-scale models on every frontier reasoning task.

06

MOONSHOT AI

Kimi K3: frontier open weights at 2.8T parameters with a custom license

Kimi K3 is the scale outlier. Moonshot lists 2.8 trillion total parameters, 104 billion activated per token, native multimodality and a 1,048,576-token context window. The published weights use MXFP4 with MXFP8 activations and are split across 96 large shards.

The licensing distinction is equally important: Kimi K3 uses the Kimi K3 License, not MIT or Apache 2.0. The weights are openly downloadable, but any commercial or redistribution decision should be based on the actual custom license rather than assuming “open weights” means standard permissive terms.

Total / active2.8T / 104B
Context1M
LicenseKimi K3 License
DeploymentDatacenter-class

Who is Kimi K3 for?

Organizations and researchers exploring frontier-scale multimodal agents, long-context knowledge work and coding where model ownership matters and distributed infrastructure is already available. It is not a realistic “download and run on my gaming PC” model.

LOCAL AI

What is the best open-source AI model to run locally in 2026?

Gemma 4 12B is the practical answer in this shortlist. It is the only model here whose publisher explicitly targets dedicated-GPU laptops around the 16 GB VRAM/unified-memory class. Mistral Small 4 is the next step up if you have a high-memory workstation or multi-GPU server and want much more model capacity.

Laptop / 16 GB-classGemma 4 12B

Google provides a local deployment path and targets consumer-grade devices.

High-memory workstationMistral Small 4 NVFP4

The official quantized checkpoint is ~70.8 GB before runtime overhead and KV cache.

Multi-GPU serverQwen3.5 or GLM-5

Useful when model scale and agent capability justify distributed serving complexity.

Datacenter / multi-nodeDeepSeek V4-Pro or Kimi K3

Frontier-scale weights whose storage and memory footprint dominate deployment design.

Local does not mean offline laptop

Every model with downloadable weights is technically self-hostable. That does not make every model practical on a single machine. “Local AI” should describe the hardware you actually control, from a laptop to a private GPU cluster.

HARDWARE REQUIREMENTS

How much RAM or VRAM do open-source AI models need?

There is no single VRAM number that follows directly from parameter count. Precision determines weight memory; MoE routing determines active compute; context length determines KV-cache growth; and runtimes may split weights across GPU, CPU and multiple nodes. The same model can therefore have very different hardware requirements at 4-bit quantization and 8K context versus BF16 and 256K context.

~16 GB classGemma 4 12B

Google explicitly targets optimized local execution on dedicated-GPU laptops with 16 GB VRAM or unified memory.

~70+ GB checkpointMistral Small 4 NVFP4

Official quantized files total about 70.8 GB, before runtime buffers and context cache.

Hundreds of GBQwen3.5 / GLM-5

Large MoE models where multi-GPU serving is a realistic baseline rather than an edge case.

~865 GB repositoryDeepSeek V4-Pro

Distributed deployment territory even though only 49B parameters are activated per token.

Multi-terabyte-scale parameter poolKimi K3

2.8T total parameters and 104B active: architect for datacenter serving, not desktop inference.

Why active parameters do not equal VRAM requirements

In an MoE model, active parameters tell you roughly how much expert compute is used per token. They do not tell you how much memory is needed to store the expert pool. A 397B model with 17B active still has hundreds of billions of learned parameters that must be stored or distributed across devices.

OPEN MODELS FOR CODING

What is the best open-source AI model for coding?

For frontier-scale coding, DeepSeek V4-Pro and GLM-5 deserve evaluation because both are explicitly aimed at difficult coding and agentic engineering. Qwen3.5 is attractive when coding sits inside a multilingual or multimodal agent. Mistral Small 4 is easier to self-host and includes native function calling with configurable reasoning. Gemma 4 12B is the practical local coding option when hardware limits matter.

SXF does not declare a benchmark winner from vendor cards because coding evaluations are extremely harness-sensitive. A SWE-bench result obtained with one agent framework, context policy and retry budget is not automatically comparable with a number produced under another setup.

OPEN MODELS FOR AGENTS

Which open model is best for AI agents and tool use?

Agent models need more than reasoning scores. They need stable structured outputs, tool-call accuracy, context management and affordable repeated inference. GLM-5 is explicitly trained and evaluated for long-horizon agents; Qwen3.5 emphasizes agent scaffolds and multilingual multimodality; Mistral Small 4 exposes native function calling and JSON output; Gemma 4 adds native function calling in a much smaller deployment envelope.

For autonomous systems, deployment reliability may matter more than another few benchmark points. A model that fits comfortably in your infrastructure, supports your serving stack and has predictable tool behavior can outperform a larger model operationally because you can run more parallel agents, keep latency under control and inspect failures.

LICENSES & COMMERCIAL USE

Can you use open-source AI models commercially?

MIT and Apache 2.0 are permissive licenses commonly used for commercial software, but you still need to comply with their notice, attribution and other terms. DeepSeek V4-Pro and GLM-5 publish MIT metadata; Qwen3.5, Mistral Small 4 and Gemma 4 12B publish Apache 2.0 metadata.

Kimi K3 is different. It uses a custom Kimi K3 License. A custom license can still permit broad deployment, but you should read its actual conditions before building a commercial product, redistributing derivatives or offering the model as a service.

Model license vs application compliance

A permissive model license does not resolve every legal issue around your application. Training-data rights, output usage, privacy, sector regulation, export controls and downstream datasets can create separate obligations. Treat the model license as one layer of compliance, not the whole answer.

Important distinction

“Apache 2.0 weights” is a precise statement about released artifacts. “Fully open-source AI system” is a broader claim. SXF keeps those statements separate.

BENCHMARKS

How should you compare open-source AI model performance without fooling yourself?

Official model cards are useful, but they are not a neutral league table. Vendors may use different prompt templates, reasoning budgets, tool harnesses, maximum context, judge models and retry policies. This is especially visible in agentic coding, where the surrounding harness can change the result as much as the base model.

01

Match the harness

Do not compare two benchmark numbers unless model settings, tools and evaluation rules are materially equivalent.

02

Measure cost

A higher score may require much longer reasoning traces or more agent steps. Track tokens, wall time and GPU cost.

03

Use your data

Build a private eval set from real tickets, documents, languages and failure modes rather than optimizing for public benchmarks only.

04

Measure reliability

For agents, pass rate across repeated runs matters more than one impressive output.

The right question is not “which model has the highest global score?” It is “which model meets our quality threshold at the latency, hardware, licensing and cost envelope we can operate?”

DECISION FRAMEWORK

How to choose an open-source AI model in 2026

You need local multimodal AIStart with Gemma 4 12B

Small enough for optimized laptop-class deployment, 256K context, audio/image input and Apache 2.0 weights.

You need a self-hosted enterprise middle tierEvaluate Mistral Small 4

Apache 2.0, 119B/6.5B MoE, vision, reasoning, coding and a 70.8 GB official NVFP4 checkpoint.

You need multilingual multimodal scaleEvaluate Qwen3.5-397B-A17B

201-language coverage, image input, Apache 2.0 and an efficient 17B-active MoE architecture.

You need coding / systems agentsEvaluate GLM-5 and DeepSeek V4-Pro

Both target difficult reasoning and engineering workloads, but require substantial serving infrastructure.

You need frontier open-weight scaleEvaluate Kimi K3

2.8T total, 104B active and 1M context—if the custom license and datacenter footprint fit your deployment.

You need commercial simplicityPrefer clear MIT or Apache 2.0 releases

Then separately verify whether the overall system meets your organization's definition of open source and compliance requirements.

FAQ

Frequently asked questions about open-source AI models

What is the best open-source AI model in 2026?

There is no single best model across every deployment. DeepSeek V4-Pro, Qwen3.5-397B-A17B and GLM-5 target frontier-scale server workloads; Mistral Small 4 is a more deployable 119B MoE; Gemma 4 12B is the practical local multimodal choice in this shortlist; and Kimi K3 is a frontier open-weight model under a custom license.

What is the best open-source AI model to run locally?

Gemma 4 12B is the clearest local choice in this shortlist. Google explicitly targets dedicated-GPU laptops with about 16 GB VRAM or unified memory, and the official checkpoint is about 23.9 GB. Mistral Small 4 can be self-hosted, but even its official NVFP4 checkpoint is about 70.8 GB and is better suited to high-memory workstations or servers.

What is the difference between open-source AI and open-weight AI?

Open weights means the trained parameters are downloadable. The Open Source Initiative's Open Source AI Definition requires more: freedoms to use, study, modify and share, plus the preferred form for modification, including sufficient training-data information, training and inference code, and model parameters. A permissive weight license alone does not prove the full AI system meets that definition.

Which open AI model has the largest context window?

DeepSeek V4-Pro and Kimi K3 list 1M-token context windows. Qwen3.5-397B-A17B has 262,144 tokens natively and can be extended to roughly 1.01M. Gemma 4 12B and Mistral Small 4 list 256K, while GLM-5's released configuration lists 202,752 positions.

Which open model is best for coding?

For frontier-scale coding, DeepSeek V4-Pro and GLM-5 are designed around reasoning, coding and agentic engineering. Qwen3.5 and Mistral Small 4 add strong multimodal or deployment advantages. For local coding assistants, Gemma 4 12B is much easier to run than the frontier-scale MoE models.

Can open-source AI models be used commercially?

MIT and Apache 2.0 are permissive software licenses commonly compatible with commercial use, subject to their terms and applicable law. Kimi K3 uses a custom license, so commercial deployments should review that license directly. Also distinguish a model-weight license from whether the entire AI system qualifies as Open Source AI under the OSI definition.

PRIMARY SOURCES

Official sources used for this guide

SXF verifies licenses, parameter counts, context limits and deployment details against official model cards, vendor documentation and the Open Source Initiative. Vendor benchmark claims are treated as attributed evidence, not independent SXF measurements.