Skip to main content
View on YouTube to comment and like!

Syntax Video

Open Weight AI Models Explained for Everyone

Chapter 1 0:00

intro

With the recent release of very large, very capable openweight AI models from China, the world has been a buzz about who should be able to run these models, as well as should companies and citizens in the US trust these models that come from China. And with all of this, there are a ton of questions and misconceptions that arise. So, in this video, I'm going to answer these questions. Who is creating AI models?

How do they create them? How do we access and run those models? What are open weight models? And if I use a Chinese model, does my data and prompts go to China? And finally, what are the real risks of using AI models we did not create? And in this video, I'm going to break all of that down. I'm going to answer these questions, clear up any misconceptions, and really, I'm trying to make this the most accessible explainer video I have ever created.

Ideally, you'll be able to share this with anyone you know, even people who are non-technical, to really help them understand this wild world of AI. If that sounds good, let's dive in. My name is CJ. Welcome to Syntax.

Chapter 2 1:06

who creates models

Now, first, let's set some ground rules about words and language I'll be using. When I say the word model, I'm talking about an LLM or large language model. A lot of people just call it AI or artificial intelligence, but in this video I'm going to use the word model. And a model is basically the thing you get access to when you go to chatgbt.com or gemini.google.com or cloud.ai.

And a model is a standalone thing created by an AI lab. And there are AI labs all over the world, but the biggest and most capable AI labs are based in the US. And this includes OpenAI who created Chad GBT, Anthropic who created Cloud, Google DeepMind, who created Gemini, and XAI who created Grock. And the models these AI labs create are known as frontier models. That is, they're at the forefront of model creation. They have the most funding, the most resources, and some of the smartest people in the world working on AI. There are also China based AI labs like DeepSeek or Alibaba Cloud who created Quinn or Moonshot AI who created Kimmy or Zai who created GLM. Now, how do these labs create these AI models?

Chapter 3 2:04

The map of China shows Taiwan which is not part of China.

Chapter 4 2:13

how are models created?

They used incredible amounts of computing power to slowly create a model by analyzing vast amounts of data, essentially the entire internet. And this process usually takes many months and billions of dollars in hardware and electricity. But the end result of all of that analyzing and processing is a single standalone model file that essentially has internal representations of every piece of data it analyzed throughout that process. And that model file can do one thing. Predict the next word. Essentially, every interaction you have with a model happens by breaking down your prompt, predicting what word might come next in the response, then appending the predicted word back into the prompt. repeat, repeat, repeat until you get a full answer from the model.

Now, it's important to note that the end result of all of that upfront analyzing all of all of that data is a single file that predicts words. It's not a server farm. It's not a computer. It's not a program running on a computer. It's a file with trillions or billions of numbers inside of it. Now, if you're not familiar with this file metaphor we use in computers, think about your camera roll on your phone. Every single photo you take is a file. It's an individual thing that you can send to other people or open up on your phone. That's a file.

And these models are also files. They're just a a particular kind of file that's very large and have a bunch of numbers inside of them. Now, this is the key distinction to make because the model file itself is not connected to the internet. It was essentially created by analyzing the occurrence and relationships of every word on the internet. And so, the model file has all of that information embedded inside of it as a collection of numbers. You could think of it like an encyclopedia that predicts words, but it's not connected to anything. It it can't access the internet. It is literally just a file that when run through some other program predicts words. Now, the process of creating these models and analyzing all of this data is where a lot of the news is coming from. Because when you slurp up all the data from the internet, there's going to be a lot of copyrighted works in there as well as works from news organizations or individual blogs or musicians or artists. and they didn't necessarily agree up front that their data could be used to create this model file. And these models were not only trained on all of the data that exists

on the internet, but also trained on more curated or synthetic data. And this is where this idea of distillation comes in. [music] It's essentially where you can prompt a model to see how it responds, then save that response in its own file. So these AI labs create these data sets of questions and answers and some of those questions and answers come from an existing model and there are actually a lot of open data sets online that are essentially this distillation of these models [music] because the models really are just a black box. They predict words but there's no way for us to really know what's going on inside of them. So in order to figure out their capabilities, we essentially prompt them over and over again and then we save all of the good responses in a file that include this is the question that was asked and then this was the response that I got back. We can then further tweak and fine-tune the numbers that are already inside of our model using that data. And this process is known as distillation. And some AI labs are accusing other AI labs of distilling their models. Now, distillation

typically violates the terms of service of a given provider of an AI model. And in their terms, they typically say something like, "You should not be using the output of our models to create, tweak, or fine-tune your own models." And that is happening. But what's extremely hard to do, if not impossible, is to determine if some distilled work from some model was used to create, tweak, or fine-tune some other model.

You can of course poke and prod and compare the outputs of one to to another to see that oh they respond in a similar way. [music] And the owners of these AI labs can watch their network traffic to see who's making requests to these models to maybe pin it on some other company. That's the extent of it really. Why all of this stuff is so cloudy and why it's so hard to judge is these models are black boxes. There's no way for us to figure out what's actually inside of them. So that's who's creating the models and how they create them.

Chapter 5 6:19

how do we access these models?

Now, let's talk about how you get access to these models because you can get access to them in various ways. And one of the first main ways that people get access to these models is via what I'm going to call a restaurant or a closed model. And so, essentially, when you go to a restaurant, the restaurant owns that entire experience. You order from their menu, the kitchen makes it, they have chefs that they trust, you then eat your food, pay, tip your waiter, but overall, the restaurant is in full control of that experience. And this is essentially what you get with the closed aspect of models. And so the models that you interact with at chatgbt.com or gemini.google.com or cloud.ai are all closed models. The only way to get direct access to those models is to go to those specific websites or use their specific apps. They control the entire experience. They can choose whether or not they answer certain types of questions. They can choose how long and how often you get to use the [music] model. And they get to set the pricing.

Chapter 6 6:27

access models directly from an AI Lab

And so closed models are the majority of how people interact with these models, especially if you're in the United States. But there's another type of restaurant that has [music] brickandmortar locations and controls the whole experience, but also potentially publishes and offers all of their recipes online, so people can make that food at home. And one of the best examples I could find of this is the Cheesecake Factory. When you go into their restaurant, they have a massive menu and lots of stuff to choose from.

But if you go to their website, some of their most popular menu items are actually freely available as recipes for you to look at and make yourself at home. And so while they're in full control of the experience when you go to the restaurant, if you make these recipes at home, you're in control. And this is much closer to what Chinese AI labs do, where they're actually in control. If you go to their website, like Quinn.ai or Z.AI or kimmy.com, you can access their models in the same way you would get access to the closed US models through their website. And when you visit their website or use their app, your prompts and every bit of data that's used whenever you're interacting with that model is traveling to China.

Chapter 7 8:17

The map of China shows Taiwan which is not part of China.

But all of these Chinese AI labs also offer up what are known as open weight models, which is like publishing their recipes online. And when they do that, that actually means you can download these openweight models to run them on your own computer or your own hardware or your own servers in the cloud. Now, we will come back to that idea of open weight models in just a little bit, but let's talk about food some more because the other way that you get access to food is via food delivery. You can pull open your phone, open up one of these food delivery apps, choose from any number of restaurants, and then have that food delivered directly to your house. But at the end of the day, the restaurant is still in control of that food. It was cooked in their kitchen, and the only way to get it was via this third party service. Now, in the world of AI models, this type of access is known as API access. And all of the AI labs mentioned allow us to interact with our models in that exact same way. And this allows us to interact with other apps and services that have AI model features inside of them. But those other

Chapter 8 8:41

access models indirectly with API access

apps and services aren't necessarily the creators of the model. You might, for instance, go to a website and there's a chat box on it that says, "Would you like some help?" And when you're chatting with that chatbot, it kind of feels like you're talking to a model from one of these AI labs because you typically are. But that website or app is actually communicating with that AI lab and that's what's allowing you to get that experience inside of that website or app. And we see this common integration with code editors or image editors or email applications.

Essentially, it's the app that you're used to with a little bit of AI sprinkled on top. And the way that that happens is via API access. Now, another way to get food is through meal kit delivery. [music] And if you haven't heard of these services, essentially you can subscribe and they'll send you a refrigerated box of ingredients along with recipes that were curated from various chefs or restaurants, but then you get to cook that meal in your own kitchen. And so in this scenario, the restaurant or the chef isn't necessarily in control of what you do once you get the ingredients, but they have controlled the experience up to that point. And this is much closer to the idea of open weight models. Some AI labs make it so that other companies and people can take that model and then run it on their own systems and then they provide API access to end users and applications. And one of the biggest examples of this is Microsoft Foundry.

Chapter 9 10:01

access models directly from a 3rd party

They actually give you API access to many different openweight models when you sign up for their service. And so if you go to ai.asure.com, you actually can get access to GLM5.2 or Kimmy [music] K2.5, which are all models that were created by Chinese labs. But when you're interacting with those models, none of your data is actually traveling to China. Your data is only traveling between you and Microsoft or whatever company is hosting these openweight models. And when you access models in this way, the creator of that model has no idea that you're even interacting with that model. Like we talked about earlier in the video, a model is just a standalone file. It's not connected to the internet. So when that model is being run by Microsoft, the AI lab in China that created it has no idea that they're actually running their model.

Chapter 10 10:58

The map of China shows Taiwan which is not part of China.

Chapter 11 11:23

The map of China shows Taiwan which is not part of China.

They basically handed it off. And now at that point, Microsoft is in full control. Now, one of the last ways you might get your food is through home cooking. You pick out your recipes, then you source all the ingredients, [music] and then when you get home, you cook it yourself. But because you're in full control, you can improvise. You can add more ingredients, you can skip ingredients, you can change the portion size. You're completely in control. And this is one of the other things that open weight models give you. Not only can we run them ourselves or access them via some thirdparty provider like Microsoft, you can actually fine-tune them. That is tweak the numbers inside of them to make it more purpose-built for what you're trying to do. And we actually see a lot of large companies or enterprises doing this. So instead of having to be dependent on some other corporation like Microsoft, they spin up their own infrastructure internally and then they run these openweight models and they can fine-tune them so they can better work for their organization. You can essentially take a model and fine-tune it about specific data about your organization like how your company

Chapter 12 11:32

running, tweaking and fine tuning models yourself

works, your org chart, maybe specific trade secrets that you don't want to be hosting on some thirdparty service. And you can do all of that internally with openweight models. And that's really one of the main benefits and one of the main misconceptions I want to clear up because this is a real benefit to US-based companies. If we can take these openweight models and modify them so that we can better do our business or whatever that may be and not necessarily have to depend on a large AI company like OpenAI, Anthropic or Google really just do it ourselves. That also breeds innovation. We don't necessarily have to wait for these AI labs to make their own progress in terms of releasing newer and better models. We can take existing open models and then make them work really well for one specific purpose or one specific business case. And one of the last benefits of this do-it-yourself type of model is the fact that regular plain old people like you and me can actually run these models ourselves inside of our homes. And so at that point, you don't even have to be connected to the internet. And if you

Chapter 13 13:10

you can run open weight models at home

have the right hardware, typically it's very powerful gaming machines, you can actually run these local models inside of your own home and never even touch the internet. And so if we think about the different ways to access these models, as you can see, there are pros and cons to all of them, but it's not all bad. And that's really what I'm trying to get across here. If you're accessing openw weight models from a Chinese provider, then yes, your data is traveling to China. And if you have trade secrets or intellectual property, you probably shouldn't be doing that.

Chapter 14 13:33

model access summary

[music] But if you have your own infrastructure or maybe a business agreement with Microsoft Foundry or something like that, then running these Chinese models actually doesn't introduce that same risk as sending your data over to China. Now, let's get into what openweight models actually are. As I mentioned at the beginning, a model is a file. It's a file that has trillions or billions of numbers inside of it. And when an AI lab makes their model freely available for people to download and use, we call this open weight because we can actually look inside the model file and see all of those numbers or weights.

Chapter 15 14:04

what are open weight models?

And this is where we can make a clear distinction between open weight and open source. Now, open source is a term that comes from the world of software. It's how we license open source software. But the main difference here is that we can see the weights, the numbers inside of that model file, but we can't actually see how that model was created or what data was used or what actually encoded all of those weight values inside of the file. Now, what you actually do with that model file itself is also under a license and sometimes a terms of service. And that's where this is closer to open source software. And in this scenario, models have a license or a terms of service. sometimes even an open- source license that dictate what can be done with their models once you've downloaded them. For instance, DeepSeek models are released under the MIT license. And this means that anyone is allowed to download, run, and even profit from their models. So, as a US citizen, you could start your own AI company that basically just runs

fine-tuned or tweaked DeepSeek models. You don't even have to have an AI lab or billions of dollars. You just need to rent the infrastructure and now you've got a business selling custom access to custom AI models. But in contrast to that, there are models like Llama from Meta that have a license which cap free commercial use at 700 million monthly active users and a competitor restriction clause that blocks entire industries. So while these llama models are open weight, we can see all of the weights inside of them. We can't necessarily start a really large business using them. And if we work in certain industries, we're not really supposed to use those models either because that would be violating their terms of service. Now, the other thing to think about is even though these openweight models are free to download, they're not necessarily free to run.

Models require hardware and electricity to run. And the scale of openweight models varies drastically. There are some openweight models that can run on your phone, and that usually means they're 1 billion parameters or weights or less. Then there are some models that require massive servers with dozens or hundreds of GPUs to run. And typically those are models with trillions of parameters. And typically the size of the model indicates how well it performs. And so this is where we get to the recent news.

If you look at the models released by Moonshot AI with Kimmy or Alibaba Cloud with Quinn, those models have over two trillion parameters. And it's been shown that these models are just as good, if not better, than some of the frontier models that come from US-based labs like OpenAI or Anthropic. And this is where legislation and laws and access to these models gets really tricky, right? We we recently saw the ban of the model called Fable from Anthropic for anyone that is not a US citizen. And this was due to claims [music] that it was too easy to use Fable for computer hacking. And Anthropic essentially had to disable access for everyone because there's no way to distinguish between a US user or for foreign user. Now Anthropic eventually added more guardrails and now we all have access to Fable again. But we're running into really tricky territory where the US will potentially not be able to control who has access to these openweight models that are now even more capable than Fable. And it's

not as easy as just issuing a sanction on a company because a lot of the times users are just directly downloading model files to their computer or their own servers. So, of course, you could block servers or have a firewall go up in the United States that blocks all access directly from China. All of these things could happen, but it's important to note how all of these things actually work, where the model is actually running, and who's actually in control of it.

Chapter 16 18:02

what are the risks of using models?

Now, there's one more tricky thing to think about when it comes to models themselves. And this is regardless of whether they're closed models from the Big Frontier Labs or they're openweight models that you can run yourselves. Like we showed with openweight models, it's just numbers inside. You have no idea what went into the tweaking or tuning of those numbers or what data is actually encoded inside of that file. And this means that there could be inherent bias or potentially malicious things inside of that model in terms of what it generates. And there was a recent study done by Booze Allen Hamilton trying to determine do these Chinese models, even if we're running them ourselves, let's say we're not talking to them hosted in China, do they have inherent biases?

[music] And the questions they were trying to answer were, do Chinese models generate more vulnerable code based on who's asking? Do Chinese models refuse to engage with political topics that are sensitive in China? And does the model's country of origin affect code quality and content behavior? Now, this is very important because if you're using these models for coding, which is one of the biggest areas of using AI, if you're building apps to code, it's possible that the outputs of these models may try to profile and determine where you're prompting them from, even if you're running them locally. If you're running them inside a code editor, they might make tool calls that try to look up what country they're running from or your IP address or what's your current time or language set to. And there might be internal workings that [music] say if you're prompting from a certain area, it should respond in a certain way. And the result of that study says, in short, yes. On all accounts, our testing revealed two core findings. One, Chinese LLMs produce more vulnerable code when prompted with a US government persona than without, and the vulnerabilities

are highly obuscated. Two, Chinese LMS inject PRC aligned political bias into both the answers and the code they generate. So that means if you're using an AI model, again, even if you host it yourself, no data is going to China, but you're using it locally, it's possible that it might actually introduce vulnerabilities into your code. Now, whether or not this was done on purpose, there's really no way to tell. All we can do is just prompt these models, these black boxes, and get predictions out of it. And we could do it over and over again and maybe check to see, are we always getting that same vulnerable response when we use that same persona?

But that's really the inherent risk of using something that you cannot look inside of. And the same risk goes for using models from the big US AI labs, right? Chad GBT, Claw, Gemini. We can't see into those models. We don't know what inherent biases they have. We don't know what data they have or have not been trained on. And we actually see that sometimes they hallucinate or they give us the wrong information. And we're supposed to be responsible enough to not just accept those bad answers and basically correct the model ourselves.

even though we're paying for access to that model from some big company. And so it's not something we can just handwave over and say, well, if you're running it locally, that doesn't mean you're not prone to something bad happening, but it is one thing to consider because if you're, let's say, a large enterprise, maybe you want to fine-tune some of these openweight models yourself for use internally. You probably want to have internal checks for what types of biases they have as well. Now, at this point, hopefully I've answered the questions you've had or cleared up some misconceptions. [music] But if you have any more questions or maybe you think I got something wrong or maybe you have some clarifications that you'd like to give, please throw them down in the comments. And like I mentioned earlier, if you think someone else would benefit from all this info, please share this video with them. Now, if this kind of thing interests you, I have several other deep dive videos on computing and networking, full stack development, how LLMs work internally, and also how to run local models on your own hardware. So, you can check out these videos somewhere here on the screen. All right, that's all I got.

Chapter 17 21:08

thanks

Thank you for watching. I'll see you in the next one.

Quote it with credit and a link. Quoting Syntax