AI Hallucination: Why AI Makes Things Up and How to Reduce It
What is an AI hallucination? Learn why language models invent facts, how to spot it, and practical ways to reduce hallucinations in chats and AI agents.
Open source LLM or closed model? Learn what open-weight really means, why licenses vary, and the trade-offs in privacy, cost, quality and control.
A closed AI model is one you can only use through the company that makes it, usually via an app or an API. An open model is one whose weights, the trained numbers that make up the model, are published so you can download and run it yourself. Many models called “open source LLMs” are more precisely “open-weight,” and their licenses vary a lot.
That nuance matters when you choose a model. Here is what the labels mean and how the trade-offs play out.
A language model is, at its core, a very large set of learned parameters (the weights) plus the code that runs them. Whether a model is open or closed mostly comes down to who can access those weights.
With a closed (or proprietary) model, the weights stay on the provider’s servers. You send your prompt over the internet, the provider runs the model, and you get the answer back. Claude, ChatGPT, and Gemini are well-known examples of this approach.
You never see the model itself. You use it as a service, under the provider’s terms.
With an open-weight model, the provider publishes the weights for download. You can run the model on your own computer or server, inspect how it responds, and often adapt it with further training. Meta’s Llama family and many of Mistral’s models are commonly cited examples, and there are many others from companies and research groups.
Tools like Ollama make running these models on a laptop fairly approachable.
In traditional software, “open source” means you get the source code under a license that lets you use, study, change, and share it, generally without restricting who can use it or for what.
AI models complicate that definition. To fully reproduce a model, you would need more than the weights:
Many popular “open” models publish weights and some code, but not the full training data. That is why many people prefer the term open-weight for them. Models that release weights, code, and data details under a permissive license are closer to open source in the classic sense.
Two models that both call themselves open can come with very different terms. Some common patterns:
Always read the license of the specific model before using it in a product. “Open” in a headline does not tell you what you are allowed to do.
Neither approach wins everywhere. It depends on what you value.
| Closed models | Open-weight models | |
|---|---|---|
| Access | App or API from the provider | Download and run yourself, or use a host |
| Capability | Often the strongest general models | Wide range; strong options exist, especially for focused tasks |
| Privacy | Data goes to the provider, under their policies | Can stay entirely on your own hardware |
| Cost model | Pay per use or subscription | Your hardware and time, or a hosting bill |
| Setup | Minimal | More effort, from easy to substantial |
| Control | Provider decides updates and changes | You choose the exact version and keep it |
| Customization | Limited to what the provider offers | Can be fine-tuned and modified, license permitting |
Open-weight models come in many sizes. Small ones run on an ordinary laptop; the largest need serious GPUs. On typical consumer hardware, smaller local models are noticeably slower and less capable than the top closed models, especially for complex, multi-step work. Our comparison of local vs cloud AI models goes deeper.
A practical rule of thumb:
Mixing is increasingly common in agent setups. In BotQuarters, for example, one team can include teammates running on cloud services like Claude Code or Codex alongside teammates running local models through Ollama.
Open-weight means the trained model weights are published so you can run them. Open source, in the stricter sense, would also include the training code, information about the training data, and a license that allows broad use and modification. Many popular “open source LLMs” are really open-weight.
Some are, some are not. Licenses range from permissive to restricted or non-commercial, and some add conditions for large companies or specific uses. Check the license of the exact model before building a product on it.
The most capable general-purpose models have often been closed, especially for complex reasoning and coding. Open-weight models can still be the better choice when privacy, offline use, cost control, or customization matter more than peak capability.
Yes, smaller open-weight models run on many modern laptops using tools such as Ollama. Expect them to be slower and less capable than large cloud models, and choose a model size that fits your computer’s memory.
What is an AI hallucination? Learn why language models invent facts, how to spot it, and practical ways to reduce hallucinations in chats and AI agents.
How do LLMs work? A plain explanation of tokens, training, attention and next-token prediction, with no math, plus what it means for using AI tools well.
RAG vs fine tuning, explained simply: what each one changes, what it costs in effort, and how to pick the right approach for your AI project.