Working with AI

Open models: Kimi, DeepSeek and Qwen

An open model means the model weights are published as downloadable files and you can run those files on hardware you control. Being open is a property of one repository, not of a company: in the Z.ai catalogue itself, GLM-5.2 sits under MIT while GLM-5.3 carries a bespoke license the vendor wrote.

  • Lesson 8 of 15
  • Intermediate
  • Free, no signup

Four vendors, and the license each repository carries today

The columns are vendors and the cards are repositories. Note that in two columns, two repositories from one company carry two different licenses.

  1. Moonshot

    1
    • Kimi-K3

      bespoke kimi-k3 license, with a twenty million dollar clause

  2. DeepSeek

    1
    • DeepSeek-V4-Pro-0813

      MIT, with no revenue clause at all

  3. Alibaba (Qwen)

    2
    • Qwen3.8-27B

      Apache 2.0, unconditional

    • Qwen3.8-2.4T-A95B

      bespoke license, with a fifty million dollar clause

  4. Z.ai (GLM)

    2
    • GLM-5.2

      MIT

    • GLM-5.3

      bespoke license, with a ten billion dollar clause

This is the state on 6 September 2026 and it is not stable. A repository license changes when the next version ships, and this same list has to be read again in a few weeks.

Last checked: Facts and tool names in this lesson are re-checked against their sources on this date.

When we call a model open, what exactly is open

Three completely different things get called open, and until they are separated the rest of this page means nothing. First, open weights: the numbers the model learned are published as dozens of downloadable files and you can load those files on hardware you control. Second, open in the software sense: the training code and the training data are published too, and the license is one of the recognised ones such as Apache 2.0 or MIT. Third, something that is not open at all but is constantly confused with the other two: a model sold only through an API at a low price.

Nearly every model named on this page belongs to the first group only. The weights are there, the training data is not, and in several cases the license is not a standard license either but a text the vendor wrote and named after its own model. The gap between I can download it and I can do anything with it is exactly where a commercial project gets stuck, usually once the work is already finished.

Our position: ask which license this repository carries today, not whether this company is open source. The second question has no answer. One vendor can ship its small model under Apache 2.0 and its flagship under a conditional license, and that is precisely what it does.

Three columns of glass file cards, one red and locked, one green and open, one blue with licence seals

Which models can you actually download

We read the table below straight from each vendor own repository on Hugging Face on 6 September 2026. The license column is what the model card records, not what the news coverage says.

RepositoryRecorded licenseParameters
Qwen/Qwen3.8-27BApache 2.027.8 billion
zai-org/GLM-5.2MIT753 billion
zai-org/GLM-5.3bespoke glm-5.3 license753 billion
deepseek-ai/DeepSeek-V4-Pro-0813MIT1.65 trillion
moonshotai/Kimi-K3bespoke kimi-k3 license2.78 trillion
Qwen/Qwen3.8-2.4T-A95Bbespoke qwen3.8-max license2.45 trillion
meta-llama/Llama-4-Scout-17B-16E-InstructLlama 4 community license108.6 billion
mistralai/Mistral-Large-3-675B-Instruct-2512Apache 2.0not recorded

Two things in this table are worth staring at. The first is that rows two and three come from the same company and do not share a license; the Qwen rows say the same thing, where the 27 billion model is Apache 2.0 and the flagship is not. The second is that the largest models on the list are exactly the ones with conditional licenses. That is not a coincidence: the conditions get written for the model with the most commercial value.

One note about names that Persian and Turkish listicles keep getting wrong: the name on a leaderboard is often not the name of a model. Kimi K3 Max and GLM-5.2 Max are not separate models in the vendor documentation, where max is a reasoning effort level. So go looking for the repository, not for the string printed in a ranking table.

How to read the license: three clauses that rhyme

We put the three bespoke licenses on this list side by side and read all three. They are structured almost identically: an extremely permissive MIT-style grant first, then two conditions that only switch on above a revenue threshold, and finally an explicit carve-out saying internal use is exempt from both.

In the Kimi K3 license, the first condition reads: if your business is model as a service, meaning you let a third party exercise meaningful control over inputs and parameters, and your aggregate revenue over any consecutive twelve months exceeds twenty million dollars, you must enter a separate agreement with Moonshot before any commercial use. The second says a product with more than one hundred million monthly active users or more than twenty million dollars in monthly revenue must display the name Kimi K3 on its interface. Clause four then states plainly that neither applies to internal use.

The GLM-5.3 license follows the same template with a far higher threshold: ten billion dollars of revenue over twelve months, and instead of an agreement it requires passing a Z.ai security review. The Qwen3.8-Max license sets fifty million dollars and adds a second category called an AI work assistant, meaning a standalone product built primarily for coding or office productivity.

Now the practical conclusion, and this is where most coverage either frightens people or flattens the whole thing. For a company with a few dozen employees, all three thresholds above are irrelevant. If you run the model on your own server to do your own work or your client work, you are effectively holding an MIT-shaped license. The license that actually bites is somewhere else: CC BY-NC. That one forbids commercial use at any size, and it sits on models nobody expects, such as Cohere multilingual translation model Aya Expanse 32B. Put that inside a client project and the size of your company does not matter.

Read the model card before you build on it

The model card is the front page of the repository, and five things on it can be read in fifteen minutes and will save weeks later. First the LICENSE file inside the repository itself, not the badge at the top of the page. For three of the models on this list that badge only says other, and the real text is inside the file. Second, whether there are weight files at all: a repository with no safetensors files is an explainer page, not a runnable model.

Third the parameter count, which decides what this model will even start on, and which the next section is about. Fourth whether the version is base or instruct: a base model does not follow instructions, and if you expect chatbot behaviour from one you will conclude the model is broken. Fifth the date the repository last changed, because as the table above showed, the license changes between two versions.

And one trap that belongs specifically to real work: quantised re-uploads. The community publishes four bit and eight bit versions of these models in its own repositories, and those are the ones that fit on ordinary hardware. Those repositories do not always carry the license of the original, and some record no license at all. Build on one of them and what you hand a client has an unknown license. Hugging Face own guidance on repository licenses says the license is declared per repository, and that single sentence is the whole story.

Five things to read and three things not to believe

The model card, before the first line of codefifteen minutes

Read inside the repository

  • the LICENSE file in full, not just the badge at the top
  • that safetensors files exist, otherwise there is nothing to run
  • the parameter count, so you know what hardware it starts on
  • whether it is base or instruct, because they do not behave alike
  • the last modified date, because the license changes between versions

Do not trust these three

  • a news item saying company X is open source
  • a chatbot answer about one specific repository license
  • a quantised re-upload that records no license

This sheet covers licensing and runnability only. No model card answers how well a model does your work; you have to measure that on your own real samples.

Open weights mean a supported-countries list stops applying

This is an architecture fact, not a workaround. An API has an account, an account has a country, the country is either on the supported list or it is not, and payment needs a card. A weights file has none of that: it is a set of files loaded on a machine you chose yourself. So does this model work from Iran is not even the right question about open weights. The right question is where that machine is and how much memory it has.

We do not write circumvention advice on this site and we do not sell accounts, which is what our AI from Iran page already says. All we are saying here is that open weights are a different access layer, not a trick. And we state its two honest limits too: to download it you still have to reach the repository, and to run it you need hardware.

Hardware is where most optimistic threads end. A rule of thumb you can work out yourself: at 16 bit precision every parameter takes two bytes. For the 27.8 billion parameter Qwen model that is roughly 55 gigabytes for the weights alone, before anything else. For GLM-5.3 at 753 billion parameters it is roughly one and a half terabytes. Community quantised builds cut that figure several times over and they are what makes local use possible at all, but we have not run any of them on our own hardware and we will not invent a number.

So the honest conclusion is this: the small models in these families run on an ordinary rented server, and the flagship models on that same list do not. Anyone who says DeepSeek is open source so you can run it for free has probably never loaded 1.65 trillion parameters anywhere.

The size of four models, from their own repositories

parameter count
  1. Qwen3.8-27B 27.8 billion Apache 2.0, the one that fits an ordinary server
  2. Llama-4-Scout 108.6 billion Llama 4 community license
  3. GLM-5.3 753 billion the same count as GLM-5.2, under a different license
  4. DeepSeek-V4-Pro 1.65 trillion MIT, but running it is not an ordinary server job

More parameters means more memory, not necessarily a better answer. We have run none of these four on our own hardware and we print no figure for real memory use.

Which one to pick for real work

There are three cases and the answer differs in each. If you only want a first-rate answer more cheaply and local execution is not your issue, open weights are of no use to you at all: buy the same models from their own API and look at a comparison number. If you hold data that must not leave your server, then open weights are the only route, and you should start from a small model rather than a flagship. And if you want to put a model inside a product you sell to a client, read the license first and write code second.

We are not telling you which model is better here, because that answer changes week by week and this is not its place. Its place is the AI reference section of this site, where every row carries a read date and a source. What this lesson gives you is knowing what the license column means when you read that table.

Let us also draw a boundary: all of this is about language models. Image and audio models carry different and sometimes stricter licenses, and models whose output goes straight to a client raise a further question covered elsewhere in this track: who legally owns what the model produced.

The fast path, with AI

Reading a license is not a lawyer job, but it is a patience job, and that is exactly where models are good: long text, repetitive structure, a specific question. There is one condition, though, and ignoring it makes the answer worse than not reading at all. Do not ask the model from memory; put the license text in front of it yourself and make it quote clause by clause. A fast cheap model is enough here, because this is extraction work rather than judgment work.

  1. Go to the repository page on Hugging Face and open the LICENSE file. If the repository has no such file, stop here: an unknown license is a no.
  2. Copy the whole license text and send it with the recipe below. Say what your use actually is, otherwise you get a generic answer that helps nobody.
  3. Find every clause the model quoted in the original text. If you cannot find one, that clause does not exist and the rest of the answer is suspect too.
  4. Save the output with the date and the repository URL in the project file. The next version will carry a different license, and on that day you need to know what you agreed to today.

Copy-ready recipe

The text below is the LICENSE file of a model. Answer only from this text and do not use what you know about this model.

My use: {for example, running the model on our own server to produce copy for client sites}
My size: {for example, seven people, annual revenue under one million dollars}

For each item below, first quote the license sentence verbatim, then say in one line whether it switches on for my use:
1. is commercial use permitted
2. is there a revenue threshold and what is the figure
3. do I have to display the model name anywhere
4. is there a separate condition for serving third parties
5. are there any restrictions on the model output

If the text says nothing about an item, write not stated in this text and guess nothing.

--- license text ---
{paste the whole LICENSE file here}

Before you trust the output: This recipe does not give you a legal answer and is not meant to; what it does is pull the five right questions out of a long text so that if the stakes turn out to be real, you know what to put in front of a lawyer. Do not skip the last two steps: find the quotes in the original, and if a model invented a clause for any of the five, throw the answer away and start again.

AI in this kind of work

For this topic the main tool is not a chatbot; it is the repository catalogue itself. But two jobs are ones models genuinely help with: reading the license text, which you saw above, and trying these same open models so you learn how far they sit from a first-rate model on your particular work. Our position is blunt: never ask a model what license a given repository carries. That information did not exist when its training ended, and the answer you get will be confidently wrong.

Tools that actually help

  • Hugging Face Where the weights and the license file actually live. Each repository page shows its files and the date it last changed, and those three things are the whole check this lesson describes.
  • DeepSeek It has both an API and weights under MIT on its own official account, which makes it the cleanest case for comparing the two routes. We make no claim about access from Iran and have written none in our own file.
  • Kimi To see what a bespoke license looks like in practice this is the best specimen: the text is short, the conditions are numbered, and it reads in ten minutes. Moonshot publishes no supported-countries list and we have written nothing about access either.
  • Claude Given the license text and asked to quote clause by clause, it answers more directly and fills less of the gap with manufactured confidence. Iran is on neither of the two Anthropic supported-countries lists.

Where it backfires

The specific risk here is a confident wrong answer about a license. Every repository declares its own license separately, which is what the Hugging Face guidance itself says; but asked what license model X has, a language model builds an answer from the general pattern it saw in training, and that pattern usually comes from earlier versions of the same family. So it says MIT about GLM, which is right for 5.2 and wrong for 5.3. The second risk is quantised re-uploads: a repository that records no license does not inherit the original one, and if you ship it to a client the responsibility is yours. The third risk is about data: if the license text is a private contract and you paste it into a chatbot, then depending on plan and settings it may be used for training, which Anthropic explains on its privacy page. For how access and payment for these tools stands from Iran, see the buying guide.

Sources: Hugging Face: licenses are declared per repository Hugging Face: what a model card contains Anthropic: is my data used for model training Anthropic: supported countries

Where this advice stops

Everything on this page is the state on 6 September 2026 and it is not stable; the GLM-5.2 and 5.3 example shows the distance between two different licenses can be a single version. Second, we have run none of these models on our own hardware: the parameter counts come from the vendor repositories and we make no claim about local speed or quality. Third, this lesson explains licensing and is not legal advice; if a contract rests on this decision, put the license text in front of someone whose job that is. Fourth, this is about language models only, and image and audio models follow their own rules.

From our own work

We fell into the exact trap this lesson is about. For the AI section of this site we keep 110 model version files, and 13 of them record open weights: 7 Apache 2.0, 2 CC BY-NC 4.0, 2 Llama 4 community license, one Modified MIT and one with no license recorded. But the deepseek-v4-pro row in that same catalogue had open_weights recorded as false, because its source was the DeepSeek pricing page and a pricing page says nothing about weights. On the day we wrote this lesson, deepseek-ai/DeepSeek-V4-Pro-0813 was sitting on Hugging Face under MIT with 66 safetensors files. So our own file was wrong for a month, for exactly the reason this page warns about: we had read the license off a page that is not where licenses live. It is written up in this session report so it gets fixed.

Real follow-up questions

Is DeepSeek open source

The weights of its models are published on its own official account under MIT, so it is open weights. The training data is not published, so it is not open source in the software sense. And this answer is about the repositories that are there today, not about the company.

Can I use an open model in a client project

In most cases yes, because the revenue clauses in these licenses start in the tens of millions of dollars. The real exception is CC BY-NC, which forbids commercial use at any size. So the simple rule is: open the LICENSE file and look for the phrase non-commercial.

What hardware do these models need

It depends on the parameter count and you can estimate it yourself: at 16 bit precision every parameter is two bytes, so a 27.8 billion model needs roughly 55 gigabytes for the weights alone. Community quantised builds cut that a lot. We have run none of them on our own hardware and hold no measured figure.