On this page

What is LLMOps and how is it different from MLOps?
MLOps is the practice of building, deploying and monitoring machine learning models reliably. LLMOps applies the same discipline to systems built on large language models, adding new concerns: evaluating free-text outputs, tracing multi-step agent behaviour, versioning prompts, guardrails against harmful or injected content and controlling per-request costs. In 2027 most production AI needs both.
Key takeaways
- Evaluation is the foundation: build a test set of real examples before you change a prompt, model or retrieval setting.
- Trace every request end to end so you can see which step of an agent went wrong.
- Version prompts, models, data and configuration together, so any answer can be reproduced.
- Logs are no longer optional: the EU AI Act requires automatic logging for high-risk systems.
There is a moment in most AI projects that I have come to recognise. The demo works. Everyone is pleased. The system goes live. And three weeks later someone forwards a screenshot of an answer that is confidently, embarrassingly wrong, and nobody can say why it happened or whether it will happen again.
MLOps and LLMOps exist to make that moment rarer and much less mysterious. In 2027, as more AI systems take real actions, the discipline of running AI in production matters more than any choice of model. This is how we approach it.
Two kinds of AI, one discipline
Most businesses now run two kinds of AI. The first is classic machine learning: forecasting demand, scoring fraud risk, predicting churn, recommending products. These models produce numbers or categories, and the MLOps practices for them are well established: version the data and model, test before deploying, monitor accuracy and data drift, retrain when needed.
The second is built on large language models: assistants, document processors, agents. Their outputs are free text, their behaviour depends on prompts and retrieved context as much as on the model, and a single request may involve several model calls and tool uses. LLMOps adds the practices needed for that. The underlying principles are the same: you cannot manage what you cannot measure or reproduce.
Evaluation comes first
The single most useful thing you can build for any AI system is an evaluation set: a collection of real inputs with known good outputs or clear quality criteria. For a document extraction system that might be 200 invoices with the correct fields. For a support assistant, 100 real questions with the answers your best agent would give.
With that set, every change becomes a measurable experiment. Swap the model, rewrite the prompt, change the retrieval settings, then run the evaluation and compare. Without it, you are guessing. We combine several scoring methods: exact checks where there is a right answer, comparison against reference answers, LLM-as-judge scoring with a written rubric (checked regularly against human judgement), and a weekly human review of a random sample.
Tracing: seeing inside the black box
A modern AI request might involve a retrieval step, two model calls, a tool call to the CRM and a final formatting step. When the answer is wrong, you need to know which step failed. Tracing records each step: inputs, outputs, timings, costs and errors, linked together for each request.
OpenTelemetry now has semantic conventions for generative AI, so traces can flow into the same observability tools you use for the rest of your software. MLflow added tracing for generative AI, and dedicated tools such as Langfuse and Arize Phoenix are popular. Choose one, but make sure every production request is traced from day one. Adding it later is always harder.
Version everything together
To reproduce an answer from last month, you need to know exactly what produced it: the model version, the prompt template, the retrieval index, the configuration and the code. Model providers retire versions regularly, so "the same model" can quietly change underneath you.
We treat prompts and configuration as code: stored in version control, reviewed before changes, and deployed through the same pipeline as the application. Model versions are pinned explicitly rather than using aliases that point to "latest". It is unexciting, and it is the difference between a two-hour investigation and a two-week one.
Guardrails and safety monitoring
Guardrails check inputs and outputs for problems: personal data that should not be there, harmful or off-topic content, answers that are not supported by the retrieved documents, and attempts to manipulate the system. Prompt injection, where content the AI reads contains instructions from an attacker, is the top risk in the OWASP Top 10 for LLM applications and the hardest to fully prevent.
In production we monitor how often guardrails fire and why. A sudden rise in blocked inputs can mean an attack, a change in user behaviour or a bug. A guardrail that never fires may not be working. Our AI and cybersecurity in 2027 article covers the security side in more depth.
Cost is an operational metric
Classic ML models are usually cheap to run once trained. LLM systems are not: each request costs money, and agents can make many requests per task. In 2027 cost belongs on the same dashboard as quality and latency.
Track cost per request and, more importantly, cost per completed task. Set budgets and alerts. Use caching for repeated questions and route simple steps to smaller models. Our article on small language models in 2027 explains the routing approach.
Drift has new forms
Classic models drift when the world changes: customer behaviour shifts, new products launch, a pandemic happens. Monitoring the distribution of input data and model accuracy against actual outcomes catches this.
LLM systems drift too, in different ways. The documents in your knowledge base change. Users start asking different questions. The provider updates the model. Each can quietly degrade quality. Running your evaluation set on a schedule, not just when you make changes, catches these shifts before customers do.
Logs, audits and regulation
For high-risk AI systems, the EU AI Act requires automatic recording of events over the system's lifetime, and deployers must keep those logs. Even outside the EU, auditors, customers and courts increasingly ask how an AI decision was made. A well-designed tracing and logging setup answers that question as a by-product.
Plan retention carefully. Logs of AI interactions often contain personal data, so they fall under UK GDPR and US state privacy laws. Keep what you need for quality, safety and compliance, protect it properly and delete it on schedule.
A minimum viable LLMOps setup
If you are running, or about to run, an AI system in production, this is the minimum we would want in place:
- An evaluation set of at least 50 to 200 real examples, run before every change.
- End-to-end tracing of every request, with cost and latency.
- Prompts, configuration and pinned model versions in version control.
- Input and output guardrails, with their triggers monitored.
- A weekly human review of a sample of real outputs.
- A dashboard showing quality, safety, cost and latency together.
None of this needs a huge platform. It needs the decision to treat AI like any other production software. Our MLOps and AI platforms service sets this up for clients, and our machine learning development work builds it in from the start.
Frequently asked questions
What should we monitor for an LLM application?
Quality (evaluation scores, user feedback, escalation rate), safety (guardrail triggers, prompt injection attempts), latency, cost per request and per task, and error rates from tools and APIs the system calls.
How do you evaluate LLM outputs?
With a combination of methods: automated checks where there is a right answer (classification, extraction), comparisons against reference answers, LLM-as-judge scoring with a carefully written rubric, and regular human review of a sample. Always start from real examples, not invented ones.
Do traditional ML models still need MLOps in 2027?
Yes. Forecasting, fraud detection, churn prediction and recommendation models still rely on classic machine learning, and they still drift as the world changes. Monitoring data drift and retraining on a schedule remain essential.
What tools are used for LLMOps?
Common choices include MLflow, which added generative AI tracing and evaluation, open-source observability tools such as Langfuse and Arize Phoenix, cloud-native options in Azure, AWS and Google Cloud, and OpenTelemetry for standard traces. The practices matter more than the specific tool.
How often should models be retrained or prompts updated?
When monitoring shows a drop in quality, when the underlying data changes significantly, or when a provider retires a model version. Many teams review on a monthly cycle and run the evaluation suite before every change.
Sources and further reading
- MLflow documentation (MLflow / Linux Foundation)
- OpenTelemetry semantic conventions for generative AI (OpenTelemetry)
- OWASP Top 10 for LLM Applications (OWASP)
- NIST AI Risk Management Framework (NIST)
- Regulation (EU) 2024/1689 (AI Act), Article 12 record-keeping (EUR-Lex)


