What is MLOps? MLOps and LLMOps Explained
Published Updated
MLOps, short for machine learning operations, is the practice of taking a model from development into production and keeping it reliable after launch. LLMOps applies the same discipline to systems built around large language models (LLMs). For an assistant using a provider’s model, releases often change the prompt or the documents it searches while the underlying model stays the same.
What MLOps Means
MLOps makes each model release repeatable and gives the team a way to tell when a live model needs attention. For example, a team that forecasts demand can reproduce a previous forecast if it knows which model ran and which sales data fed it.
- Prepare and validate the data. Record the dataset version, then check for missing records and changes to fields the model uses.
- Train candidate models. Keep the training settings and compare results on data held back from training.
- Release an approved model. Record its version and deploy it to the service that makes predictions.
- Monitor production results. Check failures and response times, then compare forecasts with actual sales once the figures arrive.
- Retrain when the evidence warrants it. If forecast errors persist after a change in demand, train on newer data and test the replacement before switching.
MLOps vs LLMOps
LLMOps is the part of MLOps concerned with language model applications. Both use versioning, release tests and monitoring. A team that trains its own forecasting model spends time on training data and retraining. With a pretrained model from a provider, much of that work shifts to prompts and the index the assistant searches. As new failures appear, the team adds them to the test set.
| Decision | MLOps for a trained prediction model | LLMOps for a provider-hosted assistant |
|---|---|---|
| What is versioned | Training data and code, settings and the trained model. | The provider’s model ID, prompt, retrieval index and test set. For an agent, also record tool settings and permissions. |
| What is tested | Prediction error, performance on relevant groups and response time. | Whether answers match the source material and the assistant handles requests it must decline. For agents, test tool actions too. |
| What drives cost | Data preparation and compute for training and serving predictions. | Model usage, often billed by input and output tokens. Retrieval infrastructure and repeated evaluation also cost money to run. |
Use MLOps for a system that trains and serves a prediction model. Use LLMOps for an assistant that needs changes to its prompts or retrieval. If you fine-tune a language model yourself, keep the MLOps training controls as well as the LLMOps checks for the application.
MLOps Platforms and Tools
MLOps tools record experiments, automate releases and show how models behave in production. A platform can bundle several jobs, and a team can add individual tools where its existing platform leaves a gap.
- Experiment tracking records each run’s settings and results so you can compare candidates.
- A model registry records versions and identifies which one passed review.
- Pipelines run repeatable jobs, such as preparing data and training a candidate before running its tests.
- Deployment tools make a selected version available to applications through an endpoint or run it on a batch of records.
- Monitoring tools show failures and slow requests. They can also track changes in input data and measure prediction quality as outcomes arrive.
Use open-source MLflow to track experiments and register model versions. For managed deployment alongside training pipelines and a registry, two platform examples are Azure Machine Learning and Amazon SageMaker AI.
Databricks combines MLflow experiment tracking with a hosted model registry in Unity Catalog and managed Model Serving. Google Cloud’s Gemini Enterprise Agent Platform includes pipelines, a model registry and monitoring. Those tools were previously branded Vertex AI.
What an MLOps Practice Needs
Assign data maintenance and model testing before deciding who will operate the production service. The business owner decides what performance is acceptable for the work. A mid-sized organisation can share data engineering across projects and use its existing platform team for releases and on-call support. It can bring in a specialist for an initial setup or a model migration. Keep a named internal owner who can approve changes and decide when to revert one.
Keep each deployed model version in a registry and tie it to the code and data that produced it. For a language model application, record the version of the prompt and retrieval index that went live with the model. Put those references together in the release record so the operator can restore a known working combination.
A release gate is a check that must pass before a change goes live. For a policy assistant, run questions with known answers against the new version and confirm it cites the right policy. Run questions about restricted documents as a user who lacks access. Stop the rollout if the new version discloses restricted information or misses its agreed quality threshold.
If the fault appears after release, send requests back to the last approved version and rerun the failed checks. When an agent has already changed a record, the business owner must review and correct that action separately.
Running LLMOps for Assistants and Agents
For a live assistant, an LLMOps routine pairs a test after each change with a weekly review of cost and quality. Assign owners before launch so that a higher bill or a wrong answer reaches someone who can act.
- After each change, the application engineer reruns the agreed tests on the new prompt, model or document index. The business owner reviews failures that would change an answer staff rely on. For an agent, check that the tools it calls still take only the actions it is authorised to take.
- Each week, the operator reviews spend per completed task, response times and errors. If requests pass through an AI gateway, use its usage records to see which model calls drove a cost increase. The business owner samples answers and adds recurring failures to the test set. Use AI observability traces when it is unclear which step caused the failure.
- Before a model upgrade, the operator tracks provider changes and prepares a replacement while the old version is available. The application engineer compares both models on the same tests and trials the new one on a small share of traffic. If the provider is retiring the old model, test a supported backup as part of the plan for AI vendor lock-in.
Related reading
AI Observability: Tracing, Evaluation and Costs
How do you know your AI assistant or agent works once it is live? Learn what AI observability tracks, from traces and quality scores to cost and drift.
AI Gateways and LLM Routers Explained
An AI gateway sits between your apps and AI models to route requests, cap spend and log every call. Compare LLM gateways and see when you need one.
How to Avoid AI Vendor Lock-In
AI providers change prices, terms and models with little notice. Learn how to avoid AI vendor lock-in, plan for model retirements and switch safely.
Vertex AI Explained: Gemini, Agents and Regions
When your data already lives in Google Cloud, Vertex AI is where you build with Gemini and other models. See what it includes and where data is processed.
embeddings
Embeddings is an Australian AI consultancy. We design, build and run AI systems inside the software, documents and data organisations already use, from offices in Perth and Melbourne.
About Embeddings