An LLM in production cannot be managed with a successful demonstration.
Instrument its responses, its costs, its risks and its excesses before they become invisible.
1. Key figures
| Number | Source, date and scope | Operational interpretation |
|---|---|---|
| 581,7 $bn | Stanford HAI, AI Index 2026, global AI corporate investment data 2025: https://hai.stanford.edu/news/inside-the-ai-index-12-takeaways-from-the-2026-report | Generative AI is no longer a fringe driver. The more the investment increases, the more management expects proof of reliability, cost and control. |
| 170,9 $bn | Stanford HAI, chapitre economy AI Index 2026, global private investment GenAI 2025: https://hai.stanford.edu/ai-index/2026-ai-index-report/economy | The teams move from a logic of experimentation to a logic of exploitation. Monitoring becomes a production subject, not a laboratory one. |
| 53 % | Stanford HAI, AI Index 2026, population adoption of GenAI in three years: https://hai.stanford.edu/ai-index/2026-ai-index-report | The use is quickly becoming commonplace. Response errors, poorly tracked costs and data leaks therefore change in scale. |
| 12 risks | NIST AI 600-1, GenAI profile released 26 July 2024: https://www.nist.gov/itl/ai-risk-management-framework | Monitoring must cover quality, security, confidentiality, information integrity, component chain and human-AI interactions. |
| 10 risks LLM | OWASP Top 10 for LLM Applications 2025: https://genai.owasp.org/llm-top-10/ | A serious MLOps LLM stack monitors prompt injections, information leakage, supply chain, uncontrolled outputs and unbounded consumption. |
| 1 GenAI telemetry scheme | OpenTelemetry defines attributes to describe requests, responses, model, provider, tokens and GenAI events: https://opentelemetry.io/docs/specs/semconv/registry/attributes/gen-ai/ | Monitoring data must remain portable. Otherwise, the team becomes dependent on the tool before understanding its own system. |
2. Introduction
A prototype LLM can impress with ten well-chosen questions. Production asks other questions: what happens when a customer formulates an ambiguous request, when the documentary base ages, when the model changes version, when the cost per conversation doubles, when an agent calls an internal tool with too much freedom, when a plausible response becomes legally dangerous?
Here is the diagnosis. Many organizations have industrialized the call API before industrializing the proof.
The symptom quickly appears: incomplete logs, scattered prompts, undocumented versions, manual evaluations, absence of business test sets, token costs discovered at the end of the month, inability to reproduce a problematic response, silence on hallucinations. The system works. Then he escapes.
An LLM is not a classic predictive model. It produces language, manipulates context, consumes tokens, sometimes relies on documents, sometimes executes tools, and sometimes changes behavior after a small change to the prompt, template, retrieval, or routing. Applied to LLMs, MLOps is therefore not limited to monitoring average precision. It must observe a living flow: user input, system prompt, retrieved context, model call, output, evaluation, action, human feedback.
We defend a simple position: in production, an LLM must be treated as an observable decision chain. Not like a black box decorated with a conversational interface.
3. Players
Managing an LLM system involves a broader ecosystem than historical data teams. The channel croise AI, security, product, data engineering, compliance, infrastructure and customer experience.
3.1. A chain of actors, not a single supplier
An internal assistant sometimes depends on several bricks: OpenAI model, Qdrant index, LangChain orchestrator, Notion document database, security proxy, then ticketing tool. Each of these components risks degrading the response. Observability must therefore follow the full path.
| Actor | Role in LLM monitoring | Implication for you |
|---|---|---|
| OpenAI, Anthropic, Google, Mistral AI, Meta | Model providers or publishers, APIs, open models, evaluation tools and multimodal capabilities. | Version models, track changes in behavior and avoid confusing supplier performance and business performance. |
| LangChain, LlamaIndex, Haystack, Semantic Kernel | RAG orchestration frameworks, agents, toolchains and connectors. | Instrument the intermediate steps: retrieval, tool calls, reranking, memory, prompts and exits. |
| Arize Phoenix, LangSmith, Langfuse, Helicone, Humanloop, Weights & Biases, MLflow | Observability, traces, evaluation datasets, experimentation, human feedback, cost monitoring and tests. | Choose based on trace depth, data sovereignty, integrations and the ability to replay incidents. |
| OpenTelemetry and OpenInference | Telemetry standards and conventions for GenAI traces, metrics and attributes. | Build portable observability, linked to existing application tools. |
| NIST, OWASP, ISO, CNIL, sectoral authorities | Risk frameworks, application security, governance, privacy and compliance. | Translate risks into concrete controls: red teaming, filtrage, logging, minimization, auditability. |
| Product, support, legal, business teams | Users of results, risk arbiters, owners of business vocabulary. | Define what a bad answer is in the real customer context, not just in a general benchmark. |
3.2. Responsibilities to be clarified
The difficulty comes from this plurality. A data scientist looks at the quality of response. An SRE tracks latency and error rate. An RSSI monitors data leakage and prompt injection. A support manager observes the customer experience. The instrumentation must orchestrate these looks.
It is no longer a technical table. It is a shared reading of risk.
4. Definition
Applied to LLMs, MLOps refers to the set of practices that make it possible to deploy, observe, evaluate, version, secure and improve applications based on large language models in real conditions.
LLM monitoring is the continuous visibility layer. It collects the traces, metrics, costs, versions, prompts, contexts, outputs, evaluations and human feedback necessary to answer five questions: does the system respond correctly, at what cost, with what latency, according to which version, and with what level of risk?
This definition deliberately goes beyond the simple supervision of API. An LLM application sometimes contains a model, a system prompt, a vector base, a reranker, security rules, a classifier, an agent, tool calls, internal documents and a feedback interface. Monitoring only the model is like monitoring the temperature of a room without knowing that the door is open.
The correct unit of observation is therefore not only completion. This is the complete generative transaction.
5. Background 2026
The year 2026 marks a turning point. Stanford HAI estimates that global corporate investment in AI has reached $581,7 billion in 2025, with 170,9 billion of private investment in generative AI alone. These volumes do not guarantee maturity. They create an expectation: AI systems must be managed with the same seriousness as critical software.
On the business side, three forces meet. First, adoption is moving quickly: internal assistants, document research, customer support, content generation, workflow agents, contract analysis, data extraction, developer co-pilots. Then, the risk surface increases: prompt injection, data leak, hallucination, overconfidence, sensitive content, costs limited too late, supplier dependence, corpus drift. Finally, the professions want proof: why this answer? with what source? from which version? who validated? what do we do if the quality drops?
The NIST AI 600-1 makes for useful reading, as it does not reduce generative AI to a performance issue. It documents privacy, information integrity, intellectual property, security, value chain, and human-AI configuration risks. The OWASP Top 10 LLM 2025 reinforces this point on the application security side: risks lie in prompts, outputs, dependencies, embeddings, tools and consumption limits.
Supervision therefore responds to a specific tension. Teams want to move quickly, but generative systems produce errors that are difficult to classify. A rare, convincing and costly error easily disappears in an average. A good dashboard is not enough. Fine instrumentation and regular evaluation practice become necessary.
LLM production becomes workshop work: we observe, we compare, we adjust, we document.
6. Recommended method
The recommended method is based on nine blocks. She is not the owner; it synthesizes best practices in application observability, ML evaluation, generative AI security and product governance.
6.1. Framing scenarios before metrics
1. Define critical scenarios. Before choosing a tool, we list the paths likely to create a loss: false response to a customer, incorrect contractual extraction, non-compliant recommendation, disclosure of sensitive data, unauthorized tool call, abnormal cost. Each scenario is assigned a severity level, an owner, and a detection strategy. Concrete example: a support agent who promises an out-of-policy reimbursement must be detected other than a simple timeout API.
2. Version anything that influences the answer. The model is just one component. System prompt, templates, parameters, corpus, vector index, filtrage rules, connectors, callable tools and test sets deserve their version. Without this memory, the team notices the incident without being able to replay it.
3. Trace the complete generative transaction. A useful trace connects user, intent, final prompt, retrieved documents, retrieval scores, model, parameters, output, tokens, latency, tool calls, and evaluation. The OpenTelemetry conventions dedicated to generative uses provide a basis to avoid being locked into a proprietary format.
6.2. Measuring quality as a business practice
4. Separate technical metrics from business metrics. Latency, API errors, token cost, timeout rate and consumption per provider remain necessary. They don't say if the answer really helps. Add accuracy, citation of sources, appropriate denial, tonal compliance, request resolution, escalation to human and user satisfaction.
5. Create a living evaluation game. A useful dataset contains common cases, edge cases, adversarial examples, business questions, anonymized real conversations and expected answers. It evolves with incidents. Automatic assessments speed up sorting; human validations remain necessary for sensitive subjects.
6. Monitor the retrieval, not just the generation. In a RAG architecture, many errors come from a bad document, a chunk that is too short, an obsolete source or a misleading vector score. We monitor the sourced response rate, documentary freshness, corpus coverage, most cited documents, documents never used and queries without results. As with a poorly indexed library, the problem is not always the reader; sometimes it's the catalog.
6.3. Linking security, costs and continuous improvement
7. Install safety guardrails. Controls cover prompt injection, minimization of data sent to the model, secrets, executable output, tool calls, token limits, quotas, permissions and audit logs. An agentic application without an access policy looks like a productivity gain; above all, it risks becoming too broad an authorization.
8. Create an incident-to-improvement loop. Each anomaly becomes a candidate for the test: wrong answer, hallucination, missing document, latency, abnormal expenditure, excessive refusal, information leak. The incident becomes an example, the example becomes a test, the test becomes a threshold, then the threshold joins the gate before deployment.
9. Formalize retraining or adjustment decisions. Not all problems deserve fine-tuning. Some are corrected by prompt, retrieval, document cleanup, reranking, model routing, tool policy or user interface. Retraining happens when the expected behavior is stable, repeatable and poorly covered by other levers.
This method gives discipline. It avoids treating generative AI as a permanent spectacle.
7. Logik tips
We recommend starting with the business risk, not the observability tool. A very rich dashboard sometimes hides a simple question: what wrong answer would really cost your business? On a support assistant, this will be an impossible commercial promise. With a legal tool, a misinterpreted clause. In an internal agent, an action triggered without sufficient authorization.
The first useful deliverable is therefore a matrix "dangerous questions / signals to follow / expected action". We build it with the business, support, security and the product team. Only then do we choose the technical stack.
We also recommend limiting the number of metrics displayed to the steering committee. Technical teams can maintain detailed instrumentation, but management must see five families: quality, risk, cost, use, incidents. If everything goes back, nothing decides. Good governance filters.
Architecturally, we favor portable observability: OpenTelemetry when possible, controlled storage of traces, anonymization of sensitive conversations, export of evaluation datasets, and ability to compare two versions of prompts or models. Specialized solutions are useful, but they should not become the only place where the company understands its own system.
Finally, we avoid the reflex of premature fine-tuning. Many production problems come from a poorly prepared corpus, weak chunking, contradictory instructions or a lack of human escalation. Fine-tuning can become formidable when it responds to clearly measured behavior. Before that, it adds complexity.
Recommended internal networking: link this article to the contents Logiks on sovereign AI, advanced RAG, AI governance, security of AI uses, startup technical audit and data engineering.
8. Decision grid
8.1. Read the risk level before choosing the tools
| Location | Signal to monitor | Recommended answer | Emergency level |
|---|---|---|---|
| Customer assistant with factual answers | Rate of sourced responses, satisfaction, human escalation, confirmed hallucinations | Conversational traces, business dataset, source control, feedback button | High |
| RAG internal documentary | Relevance of chunks, obsolete documents, queries without results, missing citations | Corpus audit, index versioning, retrieval tests, documentary freshness | High |
| Agent with call tools | Tool calls, permissions, refused actions, execution errors, quotas | Access policy, sandbox, human approval, audit logs | Review |
| Non-critical internal co-pilot | Usage, cost per session, latency, qualitative feedback | Light monitoring, sampling, monthly review | Medium |
| Marketing Generation | Consistency of tone, brand compliance, rights, human validation | Editorial workflow, prompt templates, legal control if necessary | Medium |
| Sensitive data analysis | Data sent, accuracy, source, hallucinations of metrics | Minimization, controlled queries, analytical validation, encrypted traces | Review |
8.2. Arbitrage practice
The rule can be summed up in a few words: the more the system acts, the deeper the observability must be. A suggestion engine sometimes tolerates late human correction. An agent capable of writing to a CRM, sending an email or triggering a reimbursement requires a higher level of auditing.
9. Frequent errors
The first mistake is to only measure the availability of API. An endpoint that responds to 99,9 % may produce poor responses, wrong sources, or excessive billing. Availability is only a condition of entry.
The second mistake is not preserving the final prompts. Many teams record the user question but not the prompt actually sent after system injection, context, history and documents. The incident then becomes impossible to replay.
The third mistake is to mix automatic assessment and business truth. An LLM judge can speed up sorting, but it does not replace a validation grid built with users. For a regulatory, medical, financial, HR or contractual case, the threshold of proof must be higher.
The fourth mistake is ignoring cost. Tokens are not a neutral technical line. They influence margin, experience, model strategy and the choice between long prompt, summary, cache, retrieval or smaller model.
The fifth mistake is treating security as a final filter. Prompt injection, secret leakage, unbounded consumption and tool calls must be considered in the architecture. The varnish applied at the outlet is not enough.
The sixth mistake is not assigning an owner. A quality incident does not belong only to data, nor only to product, nor only to security. He needs someone responsible, a deadline, a decision and proof of correction.
10. Action Plan 30 / 60 / 90 days
10.1. days: make the system visible
Within 30 days, we establish the inventory of use cases in production or pre-production. For each route, the sheet specifies supplier, model, prompts, data sent, tools called, users, expenses, risks and owners. A first corpus of 30 to 80 real or representative examples serves as a basis for evaluation.
10.2. days: transforming traces into decisions
Within 60 days, the team instruments the traces. The minimum covers final prompt, model, parameters, retrieved context, output, tokens, latency, cost, anonymized user or segment, feedback, application version and security status. The dashboard remains simple: quality, cost, latency, incidents, uses. The first three defects observed become automatable tests.
10.3. days: install a release discipline
Within 90 days, a release loop frames each change of model, prompt, index or tool. Critical cases require human validation. Sensitive traces are minimized or anonymized. Fine-tuning, model change or redesign decisions RAG are based on measured deviations, not impressions.
This plan is nothing spectacular. This is his strength. It makes generative AI governable.
11. FAQ
What is the difference between classic MLOps and MLOps for LLMs?
The classic version mainly follows predictive models with stable metrics, test sets and statistical drift. On LLM, the discipline adds prompts, context, retrieval, hallucinations, conversational security, cost tokens, tool calls and qualitative evaluation.
Should all conversations be stored?
No. We must store what allows us to audit and improve, while respecting minimization, anonymization, confidentiality and retention period. Sensitive conversations can be sampled, hidden or separated depending on the risks.
Is an LLM judge enough to assess quality?
No. It helps filter and compare, but it must be calibrated with human examples, explicit criteria and borderline cases. For critical responses, human validation remains necessary.
When should you consider fine tuning?
When the expected behavior is stable, repeated, measured and difficult to obtain by prompt, retrieval, routing or rules. Fine-tuning should not compensate for a weak corpus or fuzzy architecture.
Which tools to choose to start?
Start with your needs: detailed traces, sovereignty, OpenTelemetry integration, evaluation datasets, costs, human feedback. Arize Phoenix, LangSmith, Langfuse, Helicone, MLflow or Weights & Biases may be appropriate depending on the context. The important thing is to keep your data exportable.
Is LLM monitoring the responsibility of the CISO or the data team?
Both, with the product at the center. The data observes the quality, the CISO supervises the risks, the product arbitrates the experience, and the business defines the truly costly errors.
12. Main sources
- Stanford HAI, The 2026 AI Index Report: https://hai.stanford.edu/ai-index/2026-ai-index-report
- Stanford HAI, Economy chapter, AI Index 2026: https://hai.stanford.edu/ai-index/2026-ai-index-report/economy
- Stanford HAI, Inside the AI Index 2026: https://hai.stanford.edu/news/inside-the-ai-index-12-takeaways-from-the-2026-report
- NIST AI Risk Management Framework and NIST AI 600-1 Generative AI Profile: https://www.nist.gov/itl/ai-risk-management-framework
- NIST AI 600-1 publication page: https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence
- OWASP Top 10 for LLM Applications 2025: https://genai.owasp.org/llm-top-10/
- OpenTelemetry GenAI attributes registry: https://opentelemetry.io/docs/specs/semconv/registry/attributes/gen-ai/
- Arize Phoenix LLM tracing documentation: https://arize.com/docs/phoenix/tracing/llm-traces
- Arize Phoenix evaluation documentation: https://arize.com/docs/phoenix/evaluation/llm-evals
