AI Learning Courses
AI Learning Courses › Chapters › Chapter 6
CHAPTER 6 OF 15

All the Kinds of AI Models

There is no single "AI". There are many kinds of models, each built for different data and different jobs. This chapter is your map of the whole landscape.

▶ Watch the 9 narrated lessons Take the chapter quiz

Models grouped by what they do ▶ Watch

Model typeWhat it doesEveryday example
ClassificationPuts input into a categorySpam filter, disease screening
RegressionPredicts a numberHouse price, delivery time
ClusteringGroups similar itemsCustomer segments
RecommendationSuggests what you may likeVideo and shopping suggestions
Computer visionUnderstands images and videoFace unlock, number-plate reading
Speech recognition (ASR)Speech to textVoice typing, captions
Text-to-speech (TTS)Text to natural voiceAudiobooks, voice assistants
Large language model (LLM)Understands and writes textChat assistants, writing help
Code modelReads and writes codeAI coding assistants
Image generationCreates pictures from textIllustrations, design mock-ups
Video and music generationCreates clips and audioShort videos, background music
Embedding modelTurns content into meaning vectorsSemantic search, RAG
Multimodal modelHandles text, images, audio togetherDescribe a photo, talk with AI
Reasoning modelThinks step by step before answeringMaths, planning, complex code
AgentPlans and uses tools to finish tasksResearch, booking, coding agents

Generative AI models ▶ Watch

Generative AI can create many kinds of content.
Generative AI can create many kinds of content.
▶ Play this diagram as a visual lesson

Generative models learn the patterns of their training data so well that they can produce new examples that follow those patterns. The main families are:

Foundation models ▶ Watch

A foundation model is a very large model trained on broad data that can be adapted to many tasks. Instead of building a new model for every job, companies build apps on top of a foundation model using prompts, fine-tuning or retrieval. GPT, Claude, Gemini and Llama are all families of foundation models.

Big versus small, closed versus open ▶ Watch

CategoryDescriptionProsCons
Large modelsHundreds of billions of parameters or more; run in the cloudMost capableCostly, slower, need internet
Small models (SLMs)A few billion parameters; can run on laptops and phonesFast, cheap, privateLess knowledge and reasoning
Closed (proprietary)Used only through the company's app or APIEasy to use, top quality, managed safetyLess control, vendor dependence
Open-weightModel weights can be downloaded and self-hostedFull control, customisableYou handle hosting, updates and safety

Reasoning models and agents ▶ Watch

Recent models can spend extra time "thinking" before they answer: they work through a problem step by step internally, check their work and then respond. These reasoning models are much better at maths, logic, science and complex programming. Agents go one step further: they combine a model with tools (web search, code execution, files, other apps) and work in a loop until a task is finished. You will build with both in Chapter 11.

Chapter summary

  • AI models specialise: classification, regression, vision, speech, language, generation, embeddings and more.
  • Generative families include LLMs, diffusion models, GANs and VAEs.
  • Foundation models are general-purpose models that many applications build on.
  • Choose between large or small and closed or open-weight models based on quality, cost, privacy and control.