VynarisEarly beta
Get my API key

LLM Operations (LLMOps): Definition, Stack and Cost Math

LLM operations (LLMOps) is the work of running LLM apps in production: evals, prompt versions, routing, observability and cost control, with open-source tools and a worked cost example.

TL;DR: LLM operations (LLMOps) is the set of practices for running large language model applications in production: evaluating outputs, versioning prompts, routing and falling back between models, tracing every call, and controlling API cost. Vynaris covers the routing and cost-control jobs with one OpenAI-compatible endpoint and a cost on every response; open-source tools such as promptfoo and Langfuse cover evals, prompts and tracing. In the worked example below, the five jobs cut a 300,000-request monthly bill from $1,500 to $236.40.

Try it: point your OpenAI client at https://api.vynaris.com/v1 and every response tells you which model served it and what it cost. Get a Vynaris API key.

LLMOps is a subset of MLOps focused on applications built on large language models, usually called through an API rather than trained in-house. AWS describes MLOps, FMOps and LLMOps as three branches of DevOps with the same goal of automating quality and efficiency (AWS). In practice, for a team calling gpt-6-luna or Claude, the job is less about training and more about five questions: is the output good, which prompt produced it, which model should serve it, what happened on this call, and what did it cost.

What is LLMOps and how is it different from MLOps?

LLMOps is MLOps adapted to models you mostly do not train. MLOps centres on training pipelines, feature stores and a model registry. LLMOps centres on prompts, evaluation of free-text output, provider choice and per-token cost.

AreaMLOpsLLMOps
Main artifactTrained model weightsPrompt + model ID + parameters
Unit of changeRetrain and redeployEdit a prompt or switch a model string
TestingAccuracy on a labelled test setEvals on free-text output, often with an LLM judge
Cost driverGPU hours for trainingInput and output tokens per request
Vendor riskLow, you own the modelModel deprecations and price changes
MonitoringData drift, accuracyLatency, refusals, hallucinations, cost per task

Vendor risk is concrete: OpenAI's deprecations page lists GPT-4.1 and GPT-4.1 mini as shutting down on 2027-01-14. An LLMOps team needs a tested replacement before that date.

The five LLMOps jobs in the order a request meets them
Each job maps to one tool or one practice.

Why does LLMOps matter? A concrete scenario

A support team ships a ticket classifier on gpt-6.1-terra. In month one it handles 300,000 tickets. Nobody versioned the prompt, nobody has evals, and the bill is $1,500. Someone edits the prompt to fix one category, and accuracy on another category drops; there is no test to catch it. The same team with LLMOps in place would have caught the regression in CI and paid less than a sixth of that bill for the same traffic.

What are the core components of an LLMOps stack?

An LLMOps stack has five components. Each one answers one production question.

  1. Evaluation. Test prompts against a fixed set of inputs before every change. Use when any prompt or model changes.
  2. Prompt versioning. Store prompts with versions so every response can be traced to the exact text that produced it.
  3. Routing and fallback. Send each request to the cheapest model that passes its eval, and to another provider when one fails.
  4. Observability. Trace every call: input, output, latency, tokens, model, errors.
  5. Cost control. Know the cost of every call and every feature, and stop spend before it surprises you.

Google Cloud's guide groups similar work under data management, deployment and monitoring (Google Cloud). The five jobs above are the subset that matters when you call hosted models.

Which open-source tools cover each LLMOps job?

JobVynarisOpen-source optionWhat it does
RoutingOpenAI-compatible endpoint, full model pool and automatic routingLiteLLMCalls 100+ LLM APIs in OpenAI format
Cost controlProvider cost, fee and final charge in headers and CSV ledgerLiteLLM, LangfuseCost tracking per call
ObservabilityPer-request receiptsLangfuse, Arize PhoenixTraces, built on OpenTelemetry (Langfuse)
EvaluationNot offeredpromptfoo, PhoenixDeclarative test configs in CI
Prompt versioningNot offeredLangfusePrompt management with versions

Sources, read 2026-11-24: promptfoo (MIT, about 27.6K GitHub stars), Langfuse (about 37.8K stars), Arize Phoenix (about 12.4K stars), LiteLLM (about 63.8K stars). LiteLLM is self-hosted: you run and patch the proxy. For traces in a standard format, the OpenTelemetry GenAI semantic conventions now live in their own repository (OpenTelemetry).

A minimal promptfoo eval that runs in CI:

# promptfooconfig.yaml
prompts:
  - "Classify this support ticket as billing, bug or other: {{ticket}}"
providers:
  - openai:gpt-6-luna
  - openai:gpt-6.1-terra
tests:
  - vars: { ticket: "I was charged twice this month" }
    assert:
      - type: contains
        value: billing
  - vars: { ticket: "The export button crashes the app" }
    assert:
      - type: contains
        value: bug

What are the benefits and phases of LLMOps?

The benefits of LLMOps are fewer silent regressions, lower cost per task and faster model swaps. AWS lists versioning, observability and control as the main benefits, and Google Cloud adds performance, scalability, risk reduction and efficiency. In our five-job frame they map like this:

BenefitJob that delivers itMeasurable result
Fewer regressionsEvaluation in CIPrompt edits fail the build before users see them
Lower costRouting, caching, cost tracking$1,500 to $236.40 in the example below
Faster model swapsRouting through one endpointA deprecation becomes a model-string change plus an eval run
Faster debuggingObservabilityEvery bad answer links to its prompt version and trace

The phases follow the life of a feature: pick a model (discovery), adapt it with prompts, retrieval or fine-tuning (customization), then ship and watch it (deployment and monitoring). AWS uses the same three stages (AWS). The loop restarts each time a provider ships a cheaper model: GPT-6 Luna, released 2026-09-22, costs half of GPT-5.6 Luna on input, which only pays off for teams whose evals can approve the switch.

What does Vynaris do for LLM operations?

Vynaris handles two of the five jobs: routing and cost control. From the Vynaris pricing page:

What it does not do: evals and prompt versioning. Pair it with promptfoo for evals and Langfuse for prompts and traces.

from openai import OpenAI

client = OpenAI(base_url="https://api.vynaris.com/v1", api_key="VYNARIS_KEY")
r = client.chat.completions.with_raw_response.create(
    model="gpt-6-luna",  # check exact IDs on https://vynaris.com/models
    messages=[{"role": "user", "content": "Classify: I was charged twice"}],
)
print(r.headers)  # model, provider cost, fee and final charge

How do you control LLM API cost in production? A worked example

Cost control is routing plus caching plus measurement. Here is the classifier from the scenario, 300,000 requests a month, 3,000 input and 400 output tokens each. Prices from the gpt-6-luna and gpt-6.1-terra model pages, read 2026-11-24.

StepSetupMonthly cost
1All traffic on gpt-6.1-terra ($1.00 / $5.00)$1,500.00
2All traffic on gpt-6-luna ($0.10 / $0.50)$150.00
390% Luna, 10% escalated to Terra$285.00
4Step 3, with a 2,000-token cached prefix on Luna ($0.01)$236.40
5Step 4 through Vynaris (3% fee on first $500)$243.49

The arithmetic for step 4: a Luna call costs 1,000 × $0.10/1M + 2,000 × $0.01/1M + 400 × $0.50/1M = $0.00032; 270,000 calls cost $86.40. A Terra call costs $0.005; 30,000 calls cost $150.00. Total $236.40.

Monthly cost of 300,000 classifier requests under four setups
List prices read 2026-11-24.

Step 2 is cheapest, but only if Luna passes the eval on every category. Step 3 is the realistic answer: evals decide which tickets escalate. Put your own token counts into the LLM cost calculator, and see the prompt caching examples for prompt layouts that keep the prefix cached.

LLMOps vs AIOps vs FMOps

AIOps means using AI to run IT operations, such as alert triage; it is not about running LLMs. FMOps, in AWS's usage, covers all foundation models, including image generation. LLMOps is the text-model slice of FMOps.

Pitfalls

FAQ

What is LLMOps?

LLMOps (large language model operations) is the practice of running LLM applications in production: evaluation, prompt versioning, routing, observability and cost control.

What is the difference between LLMOps and MLOps?

MLOps manages models you train; LLMOps manages prompts, providers and per-token cost for models you mostly call through an API.

Which open-source tools are used for LLMOps?

promptfoo for evals, Langfuse for prompt management and tracing, Arize Phoenix for observability and evals, and LiteLLM as a self-hosted gateway.

How do you reduce LLM API cost?

Route easy requests to a cheaper model that passes your evals, cache repeated prompt prefixes, use batch processing for offline work, and measure cost per call. Our OpenAI API pricing guide lists current rates.

Do I need an LLMOps platform?

Not at first. A gateway with per-call cost, a prompt file in git and a promptfoo config in CI cover the five jobs for a small team.

Route and price every LLM call from one endpoint: Get a Vynaris API key.