AI Models vs Machine Learning Models
Is every AI model a machine learning model? How the terms differ, how a model differs from an AI system, and how classic ML compares to foundation models.
Most AI models in use today are machine learning models, so the two terms often point at the same thing. The useful distinctions are elsewhere. "AI model" is the broader label and can include logic- and knowledge-based systems that reason over encoded knowledge, while "machine learning model" specifically means something whose behavior was learned from data [2]. And a model, of either kind, is not the same as the AI system or product built around it. The EU's AI Act states plainly that models "do not constitute AI systems on their own" [2].
This article sets out working definitions, compares a classic ML model with a modern foundation model, and explains why the vocabulary matters for buyers and builders. For how AI, machine learning and deep learning nest inside each other as fields, see Machine Learning vs Deep Learning vs AI.
Definitions that hold up
What a model is
Google's machine learning glossary defines a model as "any mathematical construct that processes input data and returns output," or, put differently, "the set of parameters and structure needed for a system to make predictions" [1]. The structure varies. A linear regression model is a set of weights and a bias; a neural network is layers of neurons with their weights and biases; a decision tree is the shape of the tree plus its conditions and leaves [1].
In practice, a trained model is a file (or a set of files) holding learned parameters, plus code that knows how to run them.
Machine learning model
A machine learning model is a model whose parameters were set by training on data rather than written by hand. In supervised learning, Google notes, "a model takes an example as input and infers a prediction as output" [1]. Spam filters, credit-risk scores and demand forecasts are typical examples.
AI model
"AI model" is broader and looser. Regulators describe AI as including two families of techniques: "machine learning approaches that learn from data how to achieve certain objectives," and "logic- and knowledge-based approaches that infer from encoded knowledge or symbolic representation of the task" [2]. Under that framing, a knowledge-based system that reasons over encoded rules can count as AI without any machine learning.
The AI Act also draws a boundary on the other side. Systems "based on the rules defined solely by natural persons to automatically execute operations," meaning ordinary if-then software, are not covered by its definition of AI systems [2]. The key characteristic, it says, is the "capability to infer" [2].
In everyday use, though, "AI model" has narrowed. When a vendor announces a new AI model in 2026, it usually means a large neural network such as a language, image or multimodal model, which is a machine learning model.
Model vs system: the distinction that matters most
The bigger source of confusion is not AI versus ML. It is model versus system.
The EU AI Act separates the two explicitly. "Although AI models are essential components of AI systems, they do not constitute AI systems on their own. AI models require the addition of further components, such as for example a user interface, to become AI systems" [2].
NIST's AI Risk Management Framework takes the same system-level view. It refers to an AI system as "an engineered or machine-based system that can, for a given set of objectives, generate outputs such as predictions, recommendations, or decisions influencing real or virtual environments" [3].
A practical way to picture it:
Layer | Example | What it adds |
|---|---|---|
Model | A trained language model's weights | The learned capability itself |
AI system | A chatbot app built on that model | Interface, instructions, retrieval, tools, guardrails, logging |
Deployment | That chatbot used by a bank's support team | Data, users, policies, human oversight, real-world impact |
The same model can sit inside very different systems. A language model can power a harmless writing assistant or a hiring screener, and the risk comes mostly from the system and its use, not the weights alone. That is why most AI rules and risk frameworks focus on systems and uses [2][3]. Our guide to AI regulation in the United States covers how U.S. rules approach this.
Classic ML models vs foundation models
Inside machine learning there is a newer split that matters more day to day: task-specific models versus foundation models.
Stanford researchers coined "foundation models" in 2021 for models "trained on broad data at scale" that "are adaptable to a wide range of downstream tasks" [4]. The EU uses the term "general-purpose AI model" for a similar idea: a model that "displays significant generality and is capable of competently performing a wide range of distinct tasks" and "can be integrated into a variety of downstream systems or applications" [2]. Our explainer on foundation models goes deeper.
Classic task-specific ML model | Foundation (general-purpose) model | |
|---|---|---|
Typical examples | Fraud score, churn prediction, demand forecast, image classifier | Large language models, multimodal models |
Training data | Your own labeled data for one task | Broad data at scale, often self-supervised [2][4] |
Who trains it | Usually your team | Usually a model provider; you adapt it |
Output | A number, label or ranking | Open-ended text, code, images or actions |
How you adapt it | Retrain on new data | Prompting, retrieval, fine-tuning |
Size and cost | Small; cheap to run on CPUs | Large; usually needs GPUs or an API |
Evaluation | Clear metrics (accuracy, precision, error) | Harder; benchmarks plus task-specific tests |
Explainability | Often feasible (feature importance) | Limited; behavior emerges from billions of parameters |
Failure modes | Data drift, bias in training data | Hallucination, prompt injection, inconsistency |
The table reflects common practice rather than strict rules. Small language models blur the size line, and many companies fine-tune foundation models on their own data. See Small Language Models vs Large Language Models and Fine-Tuning vs Prompt Engineering.
How each one is built and used
A classic ML model, start to finish
- Define a narrow question, such as "Will this customer cancel in the next 90 days?"
- Collect labeled examples from your own systems.
- Train a model (for instance, gradient-boosted trees) and tune it.
- Evaluate on held-out data with a clear metric.
- Deploy behind an API that returns a score.
- Monitor and retrain as customer behavior shifts.
The model is the product's core, and your team owns every step.
A foundation model, start to finish
- Pick a provider's model (open-weight or via API).
- Shape its behavior with instructions, examples and, often, retrieval of your documents.
- Optionally fine-tune for tone, format or a specialized domain.
- Build the system around it: interface, tools, permissions, guardrails.
- Evaluate with task-specific test sets, since general benchmarks rarely match your use case. Our guide to AI benchmarking and model evaluation explains why.
- Monitor outputs for errors, misuse and drift as the provider updates models.
Here most of the engineering happens in the system, not the model. For the split between building and running models, see AI Model Training vs Inference.
Documenting a model: model cards
Because the same model can be reused in many systems, documentation travels with it. Mitchell and colleagues proposed "model cards" in 2018: "short documents accompanying trained machine learning models that provide benchmarked evaluation in a variety of conditions," including across demographic groups [5]. Model cards also "disclose the context in which models are intended to be used" [5]. When a provider publishes one, it is the first thing to read before choosing a model.
Why the distinction matters
- Buying decisions. "Our AI model" in a sales pitch could mean a proprietary trained model, a wrapper around a provider's foundation model, or a rules engine. Ask which.
- Compliance. Obligations often attach to the system and its use, with separate rules for general-purpose model providers in the EU [2].
- Costs. Running a foundation model is much more expensive per request than a small ML model, though costs are falling fast. Stanford's AI Index found the cost of running a system at GPT-3.5's level dropped more than 280-fold between November 2022 and October 2024 [6].
- Accountability. When something goes wrong, knowing whether the failure came from the model, the system design or the deployment tells you who can fix it.
How to use the terms precisely
- Say "machine learning model" when behavior was learned from data and you want to be specific.
- Say "foundation model" or "general-purpose model" for large models adaptable to many tasks [2][4].
- Say "AI system" for the complete application, including the model, interface and controls [2][3].
- Use "AI model" as the umbrella, and expect listeners to assume you mean a neural network.
Frequently asked questions
Is every AI model a machine learning model?
No. AI also includes logic- and knowledge-based approaches that infer from encoded knowledge [2]. In current everyday usage, though, most things called AI models are machine learning models.
Is ChatGPT a model?
ChatGPT is a system built on models. The underlying language models are the AI models; ChatGPT adds the interface, tools and other components. See our complete technical guide to how ChatGPT works.
Is a rule-based chatbot AI?
Under the EU AI Act definition, software that only executes rules written entirely by people falls outside the definition of an AI system [2]. Some systems that reason over encoded knowledge can still count as AI [2].
What is the difference between a model and an algorithm?
The algorithm is the training procedure, such as gradient descent or a tree-building method. The model is what training produces: the learned parameters and structure that turn inputs into outputs [1].
Are foundation models machine learning models?
Yes. They are machine learning models trained on broad data at scale, often with self-supervision, then adapted to many tasks [2][4].
Sources
- Google for Developers, "Machine Learning Glossary." https://developers.google.com/machine-learning/glossary
- Regulation (EU) 2024/1689 (Artificial Intelligence Act), Article 3 and recitals 12 and 97. https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=OJ:L_202401689
- NIST, "Artificial Intelligence Risk Management Framework (AI RMF 1.0)," NIST AI 100-1. https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.100-1.pdf
- Bommasani et al., "On the Opportunities and Risks of Foundation Models," arXiv:2108.07258. https://arxiv.org/abs/2108.07258
- Mitchell et al., "Model Cards for Model Reporting," arXiv:1810.03993. https://arxiv.org/abs/1810.03993
- Stanford HAI, "The 2025 AI Index Report." https://hai.stanford.edu/ai-index/2025-ai-index-report