Advanced level · Module 2 of 12 · 13 guided hours
Model Selection, Cost and Performance Optimization
Choosing models systematically and running them efficiently: selection matrices, benchmarking on your own tasks, cost modelling, caching, batching, routing between models, and latency budgets.
Learning objectives
- Select models with a structured matrix and own benchmarks
- Model and reduce running costs
- Optimise latency and throughput
Topics
- selection criteria
- own-task benchmarks
- cost modelling
- caching and batching
- routing between cheap and strong models
- latency budgets
Lessons
-
Lesson 1 Structured Model Selection
Learners build a selection matrix (quality on own tasks, cost, latency, licence, privacy, languages, hardware) and benchmark candidate models.
selection matrixown-task benchmarklicence and privacylanguage supportdecision record
-
Lesson 2 Cost Modelling and Savings
Learners model monthly cost for hosted and local options and apply savings: shorter prompts, caching, batching and routing simple requests to cheaper models.
cost modelcachingbatchingmodel routinghosting and electricity
-
Lesson 3 Latency and Throughput Optimisation
Learners measure latency and throughput, and improve them with streaming, smaller models, shorter outputs, parallel requests and efficient retrieval.
time to first tokentotal latencythroughputstreaminglatency budget
Practical activity
Produce the capstone's model selection matrix, cost model with savings, and latency budget with measured optimisations.
Expected outcomes
- Evidence-based model selection
- Cost- and latency-aware engineering
Assessment
Selection and cost documents (60%) and latency report (40%).
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.