# LLMOps

> LLMOps is the set of practices for running applications built on large language models in production, covering prompt versioning, evaluation, monitoring, cost control, model updates and safety checks after launch.

Also called: LLM operations, large language model operations, GenAI ops, AIOps for LLMs. Category: Delivery and quality. Source: https://aibuildindex.com/glossary/llmops

## In the index

- Custom AI agent: median $3,850, middle half $600 to $10,000, 2,831 priced briefs (https://aibuildindex.com/cost/custom-ai-agent)
- Customer support chatbot: median $2,000, middle half $300 to $5,300, 1,344 priced briefs (https://aibuildindex.com/cost/support-chatbot)
- Search over internal documents: median $2,150, middle half $300 to $8,800, 918 priced briefs (https://aibuildindex.com/cost/document-search-rag)

Building an assistant on a [large language model](https://aibuildindex.com/glossary/large-language-model) is the start, not the end. Prompts get adjusted, providers release new model versions, costs move with usage, and users find inputs nobody tested. LLMOps is the discipline of keeping such systems reliable and affordable over time. It borrows from [MLOps](https://aibuildindex.com/glossary/mlops) but focuses on what is different about language models: most teams do not train them, they prompt them, connect them to data and watch their outputs.

## How it works

LLMOps usually covers:

- **Prompt and configuration management.** Prompts are versioned like code, with a record of what changed and why, and a way to roll back.
- **Evaluation.** Every change runs against a set of [evals](https://aibuildindex.com/glossary/evals) before it reaches users.
- **Monitoring.** [Observability](https://aibuildindex.com/glossary/observability) tools track errors, latency, token use and output quality in production.
- **Model updates.** When a provider changes or retires a model, the team tests the replacement on the same evals before switching.
- **Cost control.** Tracking spend per feature and per user, and trimming requests that cost more than they return.
- **Safety.** Guardrails, content filters and checks for prompt injection, reviewed as the system and its users change.

In a small build, LLMOps may be a handful of practices run by one builder. In a large one, it becomes a pipeline with dedicated tooling.

## What it means for cost

LLMOps is where much of the cost after launch sits. A system with no evaluation or monitoring is cheaper to build, but each later change is riskier and slower, and problems surface through users. A system built with these practices costs more up front and less to change.

It also shapes [running costs](https://aibuildindex.com/glossary/running-costs). Teams that measure token use per request can usually lower it, and teams that track quality can move simple tasks to cheaper models with confidence. Over a system's life, these savings can be substantial.

Ask a builder:

- How are prompt changes tested before they go live?
- What happens when our model provider releases a new version?
- What will we see about quality and cost each month?
- Is ongoing LLMOps part of the support agreement, or separate?

## Common questions

### What is the difference between LLMOps and MLOps?

MLOps grew up around training and serving custom models, so it centres on data pipelines, training runs and model versions. LLMOps centres on prompts, retrieval, evaluation of open-ended text and the cost of calling hosted models. Teams that fine-tune language models need parts of both.

### Do I need LLMOps for a simple chatbot?

You need the basics: versioned prompts, a small eval set and monitoring of errors and cost. A full platform is unnecessary for a small system, but skipping the basics makes every later change a gamble.

### Who handles LLMOps after the build is finished?

That depends on the contract. Some buyers take it in-house after handover; others keep the builder on a support agreement. Agree this before launch, because model updates and cost changes will arrive whether or not someone is watching.

## Related terms

- [MLOps](https://aibuildindex.com/glossary/mlops): MLOps is the set of practices for building, deploying and maintaining machine learning models in production, covering data pipelines, training, versioning, deployment, monitoring and retraining when performance declines.
- [Evals (AI evaluation)](https://aibuildindex.com/glossary/evals): Evals are structured tests that measure how well an AI system performs on a fixed set of realistic inputs, scoring its outputs so that changes to prompts, models or data can be judged by evidence rather than impression.
- [Observability](https://aibuildindex.com/glossary/observability): Observability is the ability to see what a live system is doing and why, through logs, traces and metrics, so that errors, slow responses, rising costs and poor AI outputs can be found and explained.
- [Model drift](https://aibuildindex.com/glossary/model-drift): Model drift is the gradual decline in an AI system's accuracy after launch, caused by real-world data, user behaviour or the underlying model changing away from the conditions the system was built and tested on.
- [Prompt engineering](https://aibuildindex.com/glossary/prompt-engineering): Prompt engineering is the practice of designing, testing and refining the instructions, context and examples given to an AI model so that it produces accurate, consistent and correctly formatted output for a specific task.
- [Running costs](https://aibuildindex.com/glossary/running-costs): Running costs are the ongoing charges of keeping an AI or automation system working after launch, such as model usage, platform subscriptions, hosting, telephony or messaging fees, monitoring and routine support.
