LLM Engineering Foundations
From next-token prediction to your first working API call.
Beginner
Level
4
Modules
8
Lessons
4
Graded quizzes
2
Assignments
8 hours
Estimated time
What you will be able to do
- Explain in plain language how a language model predicts the next token to build a response one piece at a time.
- Break a piece of text into tokens and estimate how many tokens a prompt and its reply will use.
- Write clear prompts using system and user roles, direct instructions, and a defined output format.
- Apply few-shot examples and chain-of-thought prompting to get better results on harder tasks.
- Adjust sampling controls such as temperature and top-p to make output more focused or more varied.
- Fit a task inside a model's context window and budget tokens to control cost and avoid truncation.
- Make a working chat completion API call, read the response, and handle keys, errors, retries, and streaming.
What is inside
4 modules, 8 lessons. Each module ends in a graded quiz and most carry an assignment.
- 01
How Language Models Generate Text
Build a clear mental model of what a language model actually does before you build with one. You will see how a model reads your text as tokens, predicts one token at a time, and how sampling settings such as temperature and top-p turn those predictions into the words you read. By the end you can explain, in plain terms, why a model can sound completely confident and still be wrong.
2 lessons · 5 quiz questions
- 02
Prompting Techniques That Work
Prompting is how you steer a general model toward the exact result you want. This module breaks a prompt into its working parts (roles, instructions, examples, and output format), then layers on the techniques that reliably lift quality. You will practice moving from a vague ask to a precise, repeatable prompt an application can depend on.
2 lessons · 5 quiz questions · assignment
- 03
Tokens, Context Windows, and Cost
Every model works inside a fixed context window, and every token you send or receive carries cost, latency, and truncation risk. You will learn to count tokens, budget them across a prompt and its reply, and manage a growing conversation so nothing important gets cut.
2 lessons · 5 quiz questions
- 04
Building with the API
Turn theory into a working skill: call a language model from your own code. This module walks a chat completion request end to end, from the messages array and generation parameters to reading the response object, then covers the production concerns that keep it running: protecting API keys, handling errors, retrying with backoff, and streaming output to users.
2 lessons · 5 quiz questions · assignment
Calendar
A plan that fits around work
Week 1
36m
- 1.How Language Models Generate Text
Week 2
1h 30m
- 2.Prompting Techniques That Work
Week 3
1 hour
- 3.Tokens, Context Windows, and Cost
Week 4
3 hours
- 4.Building with the API
Total 6h 6m across 4 modules. Hours are the time the material is built to take, not a cap: nothing stops you going slower or faster.
Fit
Is this programme for you?
This is for you if
- Beginner level. From next-token prediction to your first working API call.
This is not for you if
- You want a certificate for a CV line without doing the written work.
- You need an accredited or regulator-recognised qualification. This is a Fourth Tech certificate, not an accredited award, and we say so rather than implying otherwise.
What you need
- No prior experience in the field. The programme starts from the vocabulary.
- A computer with a modern browser. The labs run in the browser, so no virtual machine and no particular operating system.
- Time for the written assignments. They are marked against a rubric, and skipping them removes the only thing that distinguishes you afterwards.
Your path to the certificate
- 01
Enrol
Pay once and the programme opens in your portal immediately.
- 02
Work the phases
Each phase is a complete course in its own right, sequenced so the work compounds.
- 03
Submit the assignments
Each module has a quiz marked on our server and an assignment marked against a rubric.
- 04
Build the capstone
A single piece of work across the whole programme, which becomes your portfolio centrepiece.
- 05
Earn the certificate
Issued with a unique ID and a public verification page anyone can check.