Open-weight AI models compared: Llama, Mistral, DeepSeek, Qwen and more

Open-weight models let you run AI on your own servers, with no vendor seeing your data. The licenses, origins and upkeep differ sharply between families, and 2026 changed the field more than any year before it.

What open weights means for a buyer

An open-weight model is one whose trained parameters you can download and run yourself. You can host it in your own data center, in a private cloud account or on an air-gapped network, and no prompt or answer ever reaches the company that built it. That is the main reason regulated firms, governments and companies with strict client contracts look at open models.

Open weights are not always open source in the formal sense. Meta's Llama Community License, for example, allows commercial use but adds an acceptable-use policy and a size threshold, so it does not meet the Open Source Initiative's definition. Read the license for each model you plan to use, including any fine-tuned variant someone else built from it, since the original terms usually carry over.

Control comes with trade-offs. A hosted vendor gives you an SLA, security updates and, for some, a HIPAA BAA. Meta offers no first-party enterprise SLA or BAA for Llama, and the same is true for most open models run on your own hardware. You also decide when to upgrade, which protects you from sudden model changes but means nobody upgrades for you.

Licenses compared

The licenses fall into two groups. The permissive group lets you use, change and sell products built on the model with few conditions. The conditional group adds limits tied to company size, revenue or use.

Licensing is also where several facts remain unconfirmed. Our research could not confirm the license for Mistral Large 4's newly released weights or for Cohere's Command A+, which one source lists as Apache 2.0. Treat those as not confirmed until the vendor's own license page says otherwise.

  • MIT: DeepSeek V4 models. The most permissive license among the vendors we track.
  • Apache 2.0: Mistral Small 4, Qwen3.6 and Qwen3.8-27B. Permissive, with a patent grant.
  • Llama Community License: Llama 4 Scout and Maverick. Separate license needed above 700 million monthly active users, plus an acceptable-use policy.
  • Modified MIT: Mistral Medium 3.5. Large companies need a commercial license.
  • Revenue-capped: the 2.4-trillion-parameter Qwen3.8 open model. Hosts with more than US$50 million in revenue need a commercial license.
Model familyLicenseSize and contextCommercial limitsWhere to run it
Meta Llama 4 Scout / MaverickLlama Community License109B / 400B total, 17B active; 10M / 1M contextSeparate license above 700M MAU; acceptable-use policySelf-host; Bedrock, Azure, Vertex, Together, Groq, Fireworks
Mistral Large 4Open weights; license not confirmedAbout 1T; 1M contextNot confirmedSelf-host; La Plateforme
Mistral Small 4Apache 2.0256K contextFewSelf-host; La Plateforme, Vertex
Mistral Medium 3.5Modified MIT128B; 256K contextCommercial license for large firmsSelf-host; La Plateforme, Vertex
DeepSeek V4 Pro / V4.1 FlashMIT1M contextFew in license; US federal banSelf-host; Azure, Vertex, Snowflake, Databricks
Qwen3.6 / Qwen3.8-27BApache 2.027B and othersFew in license; China-originSelf-host
Qwen3.8 2.4TOpen weights with revenue capAbout 2.4TCommercial license above US$50M revenueSelf-host
OpenAI gpt-ossOpen weightsNot covered in our researchCheck licenseSelf-host; Bedrock including GovCloud
Google GemmaOpen weightsNot covered in our researchCheck licenseSelf-host
Cohere Command A+Apache 2.0 per one source, unverified218B total, 25B active; 128K inNot confirmedCohere API, private VPC, on-prem

Where each family stands in late 2026

Meta's Llama 4, released in April 2025, is still Meta's newest open model. Scout has 109 billion total parameters with a 10-million-token context, and Maverick has 400 billion with a 1-million-token context, both with 17 billion active per token. Llama 5 has not been released. Meta's newest model, Muse Spark, is closed, though Meta says it hopes to open-source future versions. Reports of an open Muse Glimmer model under Apache 2.0 come from a single source and are unverified. Llama 4 now trails frontier models on quality.

Mistral moved the other way. On 29 October 2026 it released the weights of Mistral Large 4, a model of about one trillion parameters with a 1-million-token context, making it the only vendor to ship a frontier-class model of that size as open weights. DeepSeek's V4 Pro and V4.1 Flash both offer 1-million-token context under MIT. Alibaba's Qwen line offers strong small and mid-size models under Apache 2.0 and a very large open model with a revenue cap.

Three more names round out the field. OpenAI released gpt-oss as open weights in 2025, and it is available on Amazon Bedrock, including GovCloud. Google's Gemma models are open-weight counterparts to its closed Gemini line. Cohere's Command A+, a 218-billion-parameter mixture-of-experts model with 25 billion active, may be open under Apache 2.0, pending confirmation.

Cohere's appeal is different from the others. It pairs its Command models with Embed and Rerank, the strongest retrieval stack among the vendors we track, and it offers private VPC and on-premises deployment through Model Vault. Command A+ also ranked first on Artificial Analysis's non-hallucination measure at launch, although it trails frontier models on reasoning and coding benchmarks.

Jurisdiction and policy risk

Running a model on your own servers removes data-transfer risk. It does not remove policy risk tied to where the model came from. On 20 October 2026, the US Department of Homeland Security ordered federal civilian agencies to stop buying DeepSeek and remove it, including third-party products built on DeepSeek. That language reaches self-hosted copies and fine-tuned derivatives. Italy, Texas and the US Commerce Department acted against DeepSeek in 2025, and the Czech state administration banned it in July 2025.

Qwen comes from Alibaba, a China-headquartered company named in a September 2026 report on model distillation. No ban covers Qwen today, and any extension of the DeepSeek order is speculative. Firms that sell to the US government should still treat Chinese-origin models as a contract risk and record the decision in their AI risk register. Llama, Mistral, gpt-oss and Gemma come from US and European companies and carry no comparable restrictions in our research.

If you do use a Chinese-origin model, limit the exposure. Run it on your own infrastructure or a Western cloud, keep it away from regulated and client data, document who approved it and why, and set a review date. That way a future policy change means swapping one model and nothing more.

What it costs to run

Open weights remove license fees, not running costs. Hosted inference for Llama starts at about $0.08 per million tokens on providers such as Together, Groq and Fireworks, which puts a typical support workload of 25 million tokens a month at roughly $2. The major clouds also host open models, so Llama runs on Bedrock, Azure and Vertex, Mistral on Azure, Bedrock and Vertex, and DeepSeek on Azure, Vertex, Bedrock (V3.2 only), Snowflake and Databricks.

Self-hosting trades token fees for GPUs, power and staff. A 27-billion-parameter Qwen model is a manageable starting point. Llama Maverick at 400 billion parameters, Qwen's 2.4-trillion model and Mistral Large 4 at about one trillion need large GPU clusters. Self-hosting usually pays off only with steady, high volume or a firm rule that data must stay on your own hardware. For light or spiky use, a hosted endpoint in a cloud you already trust is cheaper and simpler.

Security is your job

A hosted vendor runs abuse filters, patches its serving stack and watches for attacks. With open weights, all of that moves to you or your hosting partner. Gartner expects 25% of enterprise generative AI apps to have at least five minor security incidents a year by 2028, up from 9% in 2025, and names prompt injection and agents using the Model Context Protocol among the causes.

  • Download weights only from the publisher's official repository and verify them
  • Put input and output filtering in front of the model
  • Test for prompt injection, jailbreaks and data leakage before launch and after every model update
  • Log prompts and responses under your own retention policy
  • Patch the inference server, drivers and libraries on a schedule
  • Track license terms for every fine-tuned variant in use

How to decide

Start with the reason you want open weights, because it points to different families.

A practical path is to start on a hosted endpoint for the open model you like, prove quality on your tasks, and only then move to self-hosting if volume or data rules justify it. Because the weights are the same, prompts and evaluations carry over unchanged.

  • If data must never leave your network, shortlist Llama 4, Mistral and Qwen's Apache 2.0 models for self-hosting.
  • If you need frontier-class quality with no vendor able to cut off access, test Mistral Large 4 and budget for the hardware.
  • If you sell to the US government, leave DeepSeek out and document your position on Chinese-origin models.
  • If you want the simplest license, prefer MIT or Apache 2.0 models over custom licenses.
  • If cost is the driver and data rules allow, a hosted open model often beats self-hosting.
  • If you are in AWS GovCloud, gpt-oss is already available there.

Platforms we source and support for this

Ad Spin Tech is the one team that ties these together: we choose them, source them, connect them to your systems and keep the security protocols maintained after go-live.

AI models and cloud

  • AWS
  • Google Cloud
  • Microsoft Azure
  • Salesforce
  • ServiceNow

See the full partner ecosystem

Questions buyers ask

Which open-weight model is the most capable?

Mistral Large 4, released on 29 October 2026 at about one trillion parameters, is the largest frontier-class open model in our research. Its performance claims are self-reported, so test it on your own tasks before committing hardware.

Is Llama open source?

Llama's weights are free to download and use commercially, but its license adds a 700 million monthly active user threshold and an acceptable-use policy. That falls short of the Open Source Initiative's definition, so lawyers usually call it source-available or open-weight.

Does self-hosting DeepSeek avoid the federal ban?

No. The October 2026 DHS order covers products built on DeepSeek wherever they run. Self-hosting removes the China data-transfer issue but leaves the federal policy risk in place.

Do we need a BAA to use an open model with patient data?

If you run the model on your own hardware, no model vendor sees the data, so there is no vendor BAA to sign. If a cloud or hosting provider processes the data, you need that provider's BAA, and your own HIPAA controls still apply.

Is open weights cheaper than an API?

Sometimes. Hosted open models start at about $0.08 per million tokens, which is very cheap. Self-hosting on your own GPUs is only cheaper at steady, high volume, once hardware and staff time are counted.

Get the 2026 AI Model Buyer's Guide

An 11-page, vendor-neutral white paper: prices for 12 providers, compliance matrix, provider profiles, which model fits which job, voice AI options, 2026 risks and a 10-question vendor checklist.

Choose and secure an open model

We shortlist open-weight models for your use case, size the hosting, and test the deployment for prompt injection and data leakage.

Phone (AI receptionist answers 24/7)(212) 851-3282