LLMOps

LLMOps as the LLM-shaped subset of MLOps — prompt versioning, evaluation harnesses, RAG observability, cost/token tracking, output guardrails. 2026 tooling: LangSmith, Promptfoo, Helicone, Patronus, OpenAI Evals, Guardrails AI, NeMo Guardrails.

Overview

What changes compared to classical MLOps

LLMOps is what MLOps becomes when the artifact you ship is not a set of learned weights but a system built on foundation models: prompts, retrieval pipelines, tool definitions and orchestration logic. You orchestrate a model instead of training one, so quality comes from prompt design and retrieval quality, not weight optimization.

The contrast with classical MLOps runs through every stage. Classical MLOps ships trained model weights that you get by training; LLMOps ships prompts, retrieval config and tools that you get by orchestrating a foundation model. Classical quality is set by weight optimization and checked on a holdout set with deterministic metrics; LLM quality is set by prompt design and retrieval quality, and the output is open-ended text that has to be judged at scale. Classical cost is mostly training compute; in LLMOps every call has a meaningful cost, and so does every tenant.

The request path below is the reference LLMOps pipeline. Each stage is something you version, trace or guard.

The work rests on three pillars, and the rest of this chapter takes them in turn.

  • Prompt versioning: prompts as code, versioned and tested in CI.
  • Evaluation: subjective quality measured at scale.
  • Observability: full-chain tracing from query through retrieval to generation.

Interview questions

  • How would you set up a CI/CD pipeline for an LLM application with prompt versioning and eval gates?
  • Explain evaluation methodology for LLMs. What are the tradeoffs of each approach?
  • How do you monitor a RAG pipeline in production? What metrics matter and what tools do you use?
  • What are guardrails for LLMs and how would you implement an input/output validation layer?
  • How do you manage cost and token spend for a multi-tenant LLM application at scale?
  • If we want to update the system prompt for our core agent, how do you mathematically prove to me that the new prompt is better than the old one before we merge the PR?

Sign up free to read the full topic

More MLOps & LLMOps topics

Start free on Cariara · Coding problems · System design studio