AI and LLM Foundations (Level II)
The working vocabulary and mental models nobody can bluff you on.
- Buy once, yours for good
- 26 lessons across 4 sections
- Progress tracking across devices
What you'll learn
- Explain what a language model actually does, in one sentence, correctly
- Read a pricing page and predict what a feature will cost
- Tell a real capability claim from a sales one
- Know which problems a model solves and which ones it quietly cannot
- Choose between Haiku, Sonnet and Opus on cost, latency and task — with the numbers
- Answer your legal team on training, retention and where your data goes
- Write a prompt that specifies the job, instead of hoping for a good answer
Course content
4 sections · 26 lessons
What a language model isThe machine, in plain terms — what it does, what you pay for, what it can read, and what happens to the data you send it. Six short lessons and a practice set.7 lessons
- Next-token prediction, and why that is not a dismissalFree preview2m
Read this lesson
One sentence
A language model reads what it has so far, guesses the next word, sticks it on the end, and does the whole thing again. That is the entire mechanism.
"The invoice was" | v +-------------+ | model | ranks every word that could come next +-------------+ | v approved (61%) sent (12%) paid (9%) ... | v pick one, add it to the end "The invoice was approved" | +------> go round again, until it picks "stop"Two lazy conclusions, both wrong
- "It's just autocomplete." Ignores that guessing the next word in a contract, a proof or a bug report well enough to be useful means modelling the thing being described.
- "It understands." Ignores that this mechanism has no goals, no memory between calls, and no access to truth — only to the statistical shape of an enormous amount of text.
The honest version: it is a very good simulator of the kind of text a knowledgeable person would write. Genuinely useful, genuinely limited. Almost every surprise you will have with these tools comes from forgetting one half of that sentence.
Three consequences that explain almost everything else
- No memory. Each call starts from nothing but the text you send. Any appearance of continuity is the application resending the history.
- No source. It is not looking anything up unless you gave it a way to. Facts come from the shape of its training text — right often enough to be dangerous.
- No sense of when it is guessing. It cannot write a sentence and simultaneously judge that the sentence is unsupported, because writing plausible sentences is the mechanism. Confidence is a writing style, not a signal.
Hold those three and most of the industry's confusing behaviour becomes predictable.
- Tokens are the unit of everythingFree preview2m
Read this lesson
A token is roughly a word
Close enough for every decision you will make: 750 words ≈ 1,000 tokens. The model chops text into these pieces, and they are the unit of the bill.
You pay for tokens going in and coming out, at different rates:
what you send what you get back (prompt, history, documents) (the answer) | ^ | INPUT tokens | OUTPUT tokens | cheaper | ~5x the price v | +----------------------------------------+ | model | +----------------------------------------+That is the whole pricing model. Everything in the next section is arithmetic on those two numbers.
Not all text costs the same
The same fact, written three ways:
Prose: The invoice was approved on Tuesday. JSON: {"document": "invoice", "status": "approved", "approved_on": "Tuesday"} Code: if invoice.status == "approved" and invoice.approved_on == "Tuesday": notify(invoice.owner)Form Approx tokens Ratio Prose 7 1.0× JSON 24 3.4× Code 32 4.6× Seven tokens for a six-word sentence: the full stop is its own token. That is the "roughly" in "roughly a word."
Braces, quotes and colons all cost tokens and carry no meaning a human would call content. So "just have it return JSON" is never free — the same information can cost three times as much on the expensive side of the bill.
Two footnotes, then move on
- Counts vary slightly between models, so a cost estimate copied from last year's model is not an estimate. Every provider has a token-counting endpoint; use it before you commit to a budget.
- The model sees chunks, not letters — which is why "how many R's in strawberry" was ever hard, and why it is a useless test of anything.
- Context windows, and what "remembering" means3m
- Training data, cutoffs, and the confident wrong answer3m
- Is your data trained on? Retention, privacy, and what to actually check2m
- Images, PDFs, and other things that are not text2m
- Practice: what the machine is doing12m
Reading the billNobody explains this part, and it is where budgets die.6 lessons
- Input and output are priced differently4m
- Caching is the discount nobody claims5m
- How to choose a model, and what it costs you2m
- Chat product versus API: what you are actually buying2m
- Latency, streaming, and why speed is a product decision2m
- Practice: run the numbers15m
Getting good outputPrompting, hallucination, structure, and what these models genuinely cannot do. This is the section that changes what you personally get out of the tools tomorrow.5 lessons
- Prompting is specification, not magic words5m
- Hallucination, and the only reliable defence3m
- Structure, tools, and getting a machine-readable answer3m
- What these models are genuinely bad at2m
- Practice: write a better prompt14m
The bluff detectorThe reason this course exists. Claims you will hear, and what is actually true.8 lessons
- "We fine-tuned it on our data"2m
- "It's agentic"Free preview3m
Read this lesson
What an agent actually is
A model in a loop with tools. It acts, sees the result, decides what to do next, and repeats until the task is done or it gives up. That is it — a real and useful pattern, and the single most over-claimed word in this industry.
goal | v +-------+ "read the log file" +--------+ | model | ------------------------> | tool | | | <------------------------ | | +-------+ result, as text +--------+ | ^ | |__ round again -- each pass re-sends the whole history so far v answer stops when: model says done | step limit | you cancelFour questions, in order
- What tools can it actually call? (Often: one.)
- What stops the loop? No iteration limit and no success criterion is a way to spend money.
- What happens when a step fails? Retry, escalate, or confidently proceed on bad data?
- Who approves the irreversible actions?
A scripted sequence of three model calls is a workflow. That is frequently the better design — more predictable, cheaper, easier to debug — but it is not an agent, and a team that blurs the two usually has not thought about failure modes.
The cost profile is the part that surprises people
A single call is one request. An agent run is however many requests the model decides it needs, each carrying the entire history of the run so far — the growing-prefix problem from the last section, but with the model in charge of how many turns there are.
A twenty-step run is not twenty times a single call. It is the sum of twenty growing prefixes, and it can be fifty to a hundred times the cost of the same task done as one well-specified request.
Fine when the task genuinely cannot be specified in advance — "fix this failing test suite". Absurd for something you could have drawn a flowchart for. So the question is not "is it agentic?" but "what makes this task impossible to script?" If nobody can answer that, you are looking at an expensive way to run a workflow.
- "RAG" and the vector-database detour2m
- Benchmarks, parameters, and other numbers that don't mean what you think2m
- Questions that end the conversation2m
- Practice: call the bluff14m
- Recap, and where you should be now6m
- Where to go next
Requirements
- No maths, no programming — curiosity is enough
- You have used ChatGPT or Claude at least once
Description
Most explanations of AI are either a maths lecture or a press release. This course is neither. It is the working knowledge you need to sit in a meeting, hear a confident claim about what "the AI" can do, and know whether it is true.
What it covers: how these models work at the level that changes decisions — tokens, context, cost, training data, hallucination, agents. Not the parts that only matter if you are building one from scratch.
How it works: short lessons, worked examples with real prices, and a practice set at the end of every section where you do the arithmetic yourself.
The bar we set ourselves: if you finish this and still cannot estimate what a feature will cost before anyone builds it, we have failed.
No maths. No code. You need to have used ChatGPT or Claude once.