LabHub

Blog

The Complete LLMOps Guide: Three-Axis Versioning of Model, Prompt, and Eval Set, Canary, Cost Control, and the Platform Team (2025)

한국어English日本語中文

Season 4 Ep 11 — If Ep 10 was "the axis that protects," Ep 11 is the axis that keeps things running sustainably. How to avoid "one week to the first release, then a year of hell."

Prologue — "Is LLMOps MLOps or DevOps?"

Both, and neither.

The core questions of LLMOps in 2025:

  1. Three-axis versioning (model, prompt, eval set) — how do you keep it consistent?
  2. Cost: how do you find and reduce token waste?
  3. Organization: where is the boundary between the AI platform team and the product teams?
  4. Regulation and audit: how do you leave a trace of every deployment and change?

Chapter 1 · Three-Axis Versioning

1.1 The Axes

1.2 Release Metadata

release: v1.4.2
model: anthropic/claude-3.5-sonnet-2025-02
prompt_version: sales_copilot@v23
eval_set: v12 (scored 91.3/100)
adapters:
  - korean_tone_lora@v3
guardrails:
  - llama_guard@v1
  - custom_policy@v8
rollout:
  canary: 5%

Every release has to pin this metadata as immutable.

1.3 Linking to Logs


Chapter 2 · Deployment Strategy

2.1 Shadow

2.2 Canary

2.3 Blue-Green

2.4 A/B Experiments

2.5 Percentage Router


Chapter 3 · Cost Control

3.1 Token Audit

3.2 Caching

3.3 Model Routing

3.4 Token Diet

3.5 Storage and Network

3.6 Realistic Savings Targets


Chapter 4 · Building the Platform Team

4.1 Three Layers

4.2 Interfaces

4.3 By Size

4.4 Political Traps


Chapter 5 · The Eval Harness — The Heart of LLMOps

5.1 Versioning the Eval Set

5.2 CI Integration

5.3 On-demand Experiments

5.4 Production Feedback Loop


Chapter 6 · Observability and Operations

6.1 Extending Ep 6

6.2 The Core Dashboards

6.3 On-call

6.4 Preparing for Vendor Outages


Chapter 7 · Data Governance

7.1 Data Classification

7.3 Handling PII

7.4 Licensing


Chapter 8 · Ten Failure Cases

8.1 Token Blowout

Costs spiked after the system prompt was updated from 3000 to 8000 tokens.

8.2 Prompt Rollback Impossible

Inline strings rather than Git, so the previous version could not be found.

8.3 Model Deprecation

The vendor announced end-of-life for a model, and a regression showed up on the replacement.

8.4 One Region Down, Everything Down

Dependence on a single region. No multi-region or multi-vendor fallback.

8.5 RAG Index Drift

Document updates did not trigger an index rebuild, producing stale answers.

8.6 Over-retention of User Logs

Flagged in a regulatory audit, resulting in a fine.

8.7 Prompt Injection

Internal documents leaked through indirect injection.

8.8 False Refusal Surge

The refusal rate on legitimate requests rose after guardrails were tightened.

8.9 Vector DB Cost Blowout

More chunks were generated than expected, doubling the monthly cost.

8.10 Misreading A/B Results

Too few samples and ignored variance, promoting the wrong version.


Chapter 9 · KPIs and OKRs

9.1 Product KPIs

9.2 Engineering KPIs

9.3 AI Quality KPIs

9.4 Operations KPIs


Chapter 10 · The Korean and Asian Environment

10.1 Cloud

10.2 Vendor Diversification

10.3 Employee Training and Culture


Chapter 11 · Tooling Roundup (2025)

11.1 Gateway and Routing

11.2 Observability

11.3 Evaluation

11.4 Prompt Registry

11.5 Data and Features

11.6 Serving

11.7 Guardrails and Security

11.8 Cost and Resources


Chapter 12 · Ten Anti-patterns

12.1 Swapping the Model and Shipping

Rolling out without rechecking the eval set and the prompt.

12.2 Single-vendor Dependence

The risk of outages, price increases, and changes to the terms.

12.3 Prompts Living Outside Git

Config files, inline code, SaaS-only → versioning disappears.

12.4 Not Using Shadow or Canary

Discovering problems in production.

12.5 No Cost Dashboard

A shock when the month-end invoice arrives.

12.6 Eval Set Mixed with Training Data

Inflated evaluation.

12.7 No Plan for Vendor Outages

Downtime users feel keenly.

12.8 An Over-powerful AI Platform Team

The autonomy of Product AI gets suppressed.

12.9 No Regard for Regulation and Audit

Fines or a forced shutdown after launch.

12.10 No Postmortem Written

The same incident repeats.


Chapter 13 · Checklist — 12 Things Before an LLMOps Launch


Chapter 14 · Next Up — Season 4 Ep 12: "AI Product Design"

Once the engineering is stable, what remains is the user experience.

It is not "a good AI product = a good model + good UX" but "a good AI product = UX design that builds trust within constraints."

See you in the next post.


Summary: LLMOps comes down to three-axis versioning, Shadow/Canary, cost control, the platform team, and audit. It absorbs the lessons of MLOps and DevOps, but it needs additional practices that account for the probabilistic nature and vendor dependence unique to LLMs. Building one has become easy, but to build "an LLM product that keeps improving for a year without stopping" the 12-item checklist in this post is the minimum starting point. "AI is not something you deploy, it is something you run" is the lesson of 2025.

Comments

No comments yet.

Sign in to leave a comment