Module 1 of 13
AI foundations
How AI models write, what tokens and context windows are, why models make things up, and how to choose and budget for a model at a Canadian brokerage.
6 lessons · 61 min readingLab · about 90 minQuiz · 10 questions
What's in this module
- Lesson 1 · 10 minHow large language models workTraining versus use, next-token prediction, why models sound confident, and what reasoning models add.
- Lesson 2 · 10 minTokens: how models read and bill textWhy addresses, MLS® numbers, postal codes and French text tokenize differently, and how input and output tokens are counted.
- Lesson 3 · 10 minContext windows and why chats forgetWhat fits in a model's working memory, how long documents like a status certificate behave, and why details in the middle get lost.
- Lesson 4 · 9 minHallucination and how to catch itWhy models invent facts, three brokerage examples, and a checking routine for every draft.
- Lesson 5 · 10 minPicking a modelFrontier, small and open-weight models, current model families, privacy terms and Canadian data residency.
- Lesson 6 · 12 minWhat AI costsPer-million-token pricing, seats versus the API, a worked monthly estimate, and caching and batch discounts.
- Lab · 90 minModel bake-offRun three fictional brokerage tasks through two free AI assistants, score them side by side, and estimate what each would cost at a brokerage's monthly volume.
- QuizModule 1 quizTen scenario questions. Pass with 8 or more; retake as often as you like.
Template · CSV
Model selection scorecard
A weighted spreadsheet for testing two or three AI models on the same brokerage tasks, with built-in API and seat cost estimates and a sign-off section.
Sources and further reading
- Pricing · Anthropic
- Models overview · Anthropic
- Is my data used for model training? · Anthropic
- Pricing · OpenAI
- Data controls in the OpenAI platform · OpenAI
- Gemini Developer API pricing · Google
- Gemini Apps Privacy Hub · Google
- An Overview of Cohere's Models · Cohere
- Calculating land transfer tax · Government of Ontario
- Land Transfer Tax Refunds for First-Time Homebuyers · Government of Ontario
- Municipal Land Transfer Tax (MLTT) · City of Toronto
- Lost in the Middle: How Language Models Use Long Contexts · arXiv (Liu et al.)