LLMOpsThe LLMOps lifecycle · MLflow 3 · FastAPI · Docker · AWS/Azure
Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
41 small wins to finish your pathNext lesson →

Maintenance and drift after you ship

Maintenance is the work after you ship: watching for drift, cost and new model versions, re-running the evaluation suite and rebuilding the index when the ground shifts, and re-deploying when a change earns it.

Last updated: 15 Oct, 2026 · LLMOps

The Project: the production assistant lesson assembled an app you can run, track and evaluate. Shipping it is not the end. The LLMOps lifecycle video names monitoring and maintenance as the stage after deployment, and sets cost alongside it: an LLM app makes paid API calls, so controlling that cost is part of keeping it healthy. This lesson is the maintenance stage: what to watch, what to re-run, and when to re-deploy.

What to watch

  • Drift. The inputs change even when the app does not. New products, new phrasings and new questions arrive, and an app that answered well at launch starts missing, because the world moved and the index and prompts did not.
  • Cost. Every model call is paid, so a rise in traffic or a longer prompt raises the bill. Watching cost per request catches a change that quietly made each answer more expensive.
  • New model versions. Providers release and retire models. A newer model can be cheaper or better, and a retired one can stop your app, so a provider's changes are a signal to act on, not to ignore.

What to re-run, and when to re-deploy

Watching tells you something moved; re-running tells you whether it matters. The evaluation suite from earlier in the course is the first thing to re-run, on current inputs rather than the launch set, so a drop in score is seen as a number. When the data has moved, the RAG index is rebuilt from the current documents so retrieval sees today's facts. A re-deploy follows a change that earned it: a new model that scored better on the suite, a rebuilt index, or a prompt fix, each versioned so the new build is labelled and the old one can be restored.

The work after launch drawn as a cycle of five stops: live and serving, a signal trips, re-run the suite on current traffic, did it earn a change, re-deploy, and back to live and serving. The centre is labelled the maintenance loop, with the note that nothing here runs once. A red warning underneath says the suite is part of the loop rather than outside it, because a fixed set from launch keeps passing while the live traffic moves away from it.

From a signal to a re-deploy

SignalWhat you re-runWhat a re-deploy carries
Answers driftingThe evaluation suite on current inputsA new prompt or a rebuilt index
Rising costA cost check per requestA cheaper model or a shorter prompt
A new model versionThe suite against the new modelThe new model, if it scored better
Stale documentsRetrieval over a rebuilt indexThe rebuilt index

Where maintenance matters

  • A live assistant, where scores on current traffic, not the launch set, tell you whether it still answers well.
  • A cost budget, where a watched cost per request keeps a traffic spike or a prompt change from a surprise bill.
  • A provider change, where a retired model is caught before it breaks the app and a better one is adopted on the evidence of the suite.
Watch out. The quiet failure of maintenance is an evaluation suite that never changes. A fixed set from launch keeps passing while the live questions move past it, so the scores look healthy while users do not. Refresh the suite with real recent inputs, or it stops measuring the app people are using.

What this course left out

The lifecycle is wide, and this course taught the spine of it. These are the families it names but does not teach, with where to go next for each.

TopicWhat it is forWhere to read
Serving open models yourselfRunning an open model on your own GPUs with the batching that makes it affordableThe vLLM documentation
Kubernetes and autoscalingRunning many replicas, load testing them and scaling on demandDeploying on Amazon EKS
Infrastructure as codeDeclaring the cluster, the database and the secrets in reviewed filesThe Terraform registry docs
Scheduled orchestrationRe-indexing, batch evaluation and jobs that survive a restartThe Airflow documentation
Judge-model evaluationScoring answers with a model instead of word overlapDeepEval overview and RAGAS overview
Guardrails and governanceBlocking bad input and output, and gating an agent's tool callsNeMo Guardrails overview
A model gatewayOne endpoint in front of every provider, with routing, fallbacks and cachingLiteLLM overview
Fine-tuning for realRunning the training job this course only showsFine-tuning LLMs
Try it yourself
  • List three inputs the shop assistant might see this month that its launch evaluation set would miss.
  • Write the cost-per-request check you would watch and the threshold that would prompt a look.
  • Decide, for a provider retiring your model, the order of steps from the new model to a re-deploy.

This is what real progress feels like.