AI Agentic Handbook

Roadmap LLMOps & AI Platform Engineer

LLMOps Engineer Roadmap 2026

Five months on the layer between product teams and their models, where the worst outages return 200 OK and the invoice is the slowest alert you own.

In brief

To become an LLMOps or AI platform engineer, learn how model inference works, then build the shared platform around it: an LLM gateway with rate limits and fallbacks, evals in CI, tracing and cost attribution, safe model rollouts, and tenant isolation. At 12 hours a week it takes about five months.

The page arrives at twenty to three on a Tuesday afternoon. Nothing is down. Every request returns 200, the error dashboard is green, and the p99 for the support assistant has gone from four seconds to nine since the morning's model swap. The new model scored better on the eval set. It also writes answers about forty per cent longer, and on a shared GPU pool a long answer keeps its seat in the batch, so everyone queued behind it waits.

That afternoon is the job in miniature. An LLMOps or AI platform engineer runs the layer every product team's model calls pass through: the serving stack or the provider accounts, the gateway that holds the keys and limits, the pipeline that decides which changes ship, the traces and the cost reports. Your users are other engineers. Your failures surface in their features, usually looking healthy: a worse answer with a 200 status, a cache hit carrying someone else's data, a bill that lands a month after the bug.

The chapters follow a request outward. You start inside the GPU, because latency, capacity and cost all trace back to how inference spends memory. Then the gateway, where policy becomes something you can enforce rather than request. Then the gate that stops bad changes, the traces that explain the ones that slip through, the rollout habits that limit the damage, and finally tenancy, where a mistake stops being an outage and becomes a breach.

Each chapter ends with a piece of platform you could hand to another team, with the measurements in its README. If you have carried a pager for web services, much of this will feel familiar, and the "already there?" test tells you what to skip. Be wary of skipping the first chapter on that basis. Instincts from stateless services mislead on GPUs in specific and expensive ways.

How long
About 5 months at 12 hours a week
Where to start from
You're comfortable with backend services, CI/CD and at least one cloud.
What you'll work with
vLLM, GPUs and batching, LLM gateway, Rate limiting, Evals in CI, OpenTelemetry, Cost attribution, Canary rollouts, Kubernetes, Multi-tenancy
What's inside
6 chapters, 37 steps (roughly 40 h of reading and practice) and 6 projects to build

Work through the chapters in order. Tick each step when you've done it; your progress stays in this browser. Use the filters to see only articles, concepts or interview practice, and skip any chapter you already know.

Chapter 1 Weeks 1–4

What happens inside the GPU

Most platform engineers arrive from web services, where requests are cheap, memory is plentiful and a busy CPU means a busy service. Inference breaks all three. A model writes one token at a time, every step rereads the weights, and the KV cache for each conversation grows until it fills the card. Throughput comes from batching many users together; latency is how long each of them waits inside that batch.

The common mistake is measuring with the wrong traffic. A load test of short, identical prompts will report that one GPU serves hundreds of users. Real traffic brings 30,000-token documents and long answers, the cache fills, the effective batch shrinks, and the capacity plan is badly wrong. Sample prompts from production, test at several concurrency levels, and only then believe a number.

By the end of this chapter You can explain and measure time-to-first-token, throughput and KV-cache memory, and serve an open-weights model.

Already there? You've served an open-weights model and tuned it for throughput.

The reading list

7 steps · about 12 h · 0 done
  1. 01Concept · 5 min

    Inference

    Start with the split between training and serving. Training is an occasional project; inference is a cost paid on every request, and it is now yours.

  2. 02Concept · 5 min

    Time to first token (TTFT)

    Users judge speed by the first word. Track it apart from total time, because the two move for different reasons.

  3. 03Concept · 5 min

    KV cache

    Work the bytes-per-token arithmetic on the page for a real model. At long context the cache, more than the weights, is what fills the GPU.

  4. 04Concept · 5 min

    Batching & throughput

    The central trade in serving: throughput bought with per-user latency. Your SLO decides how much latency you are allowed to sell.

  5. 05Concept · 5 min

    Model quantization

    Smaller weights leave room for more users. Measure the loss on your own tasks; general benchmarks barely move while maths and code suffer.

  6. 06Official docs · about 10 h

    Serve an open-weights model with vLLM ↗

    Load-test with prompts sampled from real traffic. Uniform short prompts produce a throughput figure you will never see in production.

    Run a small model on one GPU, expose its OpenAI-compatible API and load-test it at several concurrency levels.

  7. 07Question set · 10 questions · about 1 h

    ML infrastructure & serving

    Interview questions on serving and capacity. Practise turning a request rate and a latency target into a GPU count, out loud.

Build this

A model server you have load-tested

Put it in a public repository. It's finished when:

  • An open-weights model served behind an API
  • TTFT and tokens/s measured at three concurrency levels
  • KV-cache memory estimate checked against reality

0 of 3

Chapter 2 Weeks 5–8

One front door for every model call

Left alone, every team integrates the providers its own way: its own keys in its own environment variables, its own retry loop, its own idea of a sensible timeout. Then a provider has a bad hour and five retry implementations hammer it at once, or a deprecation notice arrives and nobody can say which services use that model. A gateway puts all of it in one place, where rules are enforced rather than requested.

Caching is where this chapter turns dangerous. Prompt caching is always correct, because the prefix must match exactly. A semantic cache returns a stored answer to a question that merely means something similar, and one keyed only on the question text will hand a tenant's answer, with that tenant's data inside it, to another. Scope every cache before you tune its hit rate.

By the end of this chapter You can put every team's model calls behind one gateway with keys, limits, fallbacks and caching.

Already there? You've run a gateway that routes across providers with per-team limits.

The reading list

6 steps · 35 min · 0 done
  1. 01Concept · 5 min

    LLM gateway

    Note the full list of jobs on the page: keys, routing, limits, budgets, caching, redaction, logs. Most later chapters add one of them.

  2. 02Concept · 5 min

    Rate limiting

    Count tokens as well as requests. One call carrying a 150,000-token document drains as much quota as a thousand short chats.

  3. 03Concept · 5 min

    Model fallback & routing

    A backup that never passed your evals breaks on the day it activates. Order fallbacks from the most similar model to the least.

  4. 04Concept · 5 min

    Exponential backoff

    During a provider incident, naive retries turn a slowdown into an outage and a larger bill. Add jitter and cap the attempts.

  5. 05Concept · 5 min

    Semantic cache

    Read the pitfall twice. Loosening the similarity threshold buys hit rate with wrong answers delivered at full confidence.

  6. 06Concept · 5 min

    Prompt caching

    The safe cache. Watch for a timestamp or request ID at the top of the system prompt; it busts every hit and you pay the write premium.

Build this

A multi-provider gateway

Put it in a public repository. It's finished when:

  • Per-team keys and token budgets
  • Automatic fallback when a provider errors
  • Cache hit rate and savings reported

0 of 3

Chapter 3 Weeks 9–11

Stopping bad changes before they merge

A prompt is code that can change behaviour without failing a single unit test. Someone trims the system prompt to save tokens, the overall eval score rises two points, and one slice of questions quietly collapses. The platform's part is to provide the gate that catches this, and to make it cheap and fast enough that teams have no reason to route around it.

What trips people up is noise. Hosted models are not deterministic even at temperature 0, so one run of the baseline against one run of the candidate compares two samples, not two systems. A gate built that way flaps until someone disables it, or is loosened until it catches nothing. Repeat the runs, compute an interval, fix the tolerance before anyone sees results, and check slices as well as the total.

By the end of this chapter You can stop a bad prompt or model change before it reaches users.

Already there? Your pipelines block merges on eval regressions.

The reading list

6 steps · about 6.5 h · 0 done
  1. 01Concept · 5 min

    Eval gate (CI)

    Pay attention to why temperature 0 does not make results reproducible. The whole design of the gate follows from that one fact.

  2. 02Concept · 5 min

    Prompt versioning

    When an incident starts, the first question is which config produced this output. Versioning makes the answer a query rather than an excavation.

  3. 03Concept · 5 min

    Offline vs online evaluation

    A fixed test set decides whether a change may ship; live traffic decides whether it was a good idea. Wire them to different alarms.

  4. 04Concept · 5 min

    Statistical significance

    Choose the sample size before you run. Many eval arguments in code review are two people reading noise in opposite directions.

  5. 05Official docs · about 6 h

    Make your eval suite a required check ↗

    Keep the whole check under ten minutes. A gate that holds a merge for an hour gets bypassed, politely and permanently.

    Run evals in CI on every prompt, model or config change, and fail the pull request on a regression.

  6. 06Article · 10 min

    Shipping LLM features safely

    A worked incident and the gates that would have caught it. Keep its canary-sizing arithmetic; the rollouts chapter leans on it.

Build this

An eval gate other teams can adopt

Put it in a public repository. It's finished when:

  • One config file to add a team's eval set
  • Fails on a statistically meaningful drop, not noise
  • Prompt versions tied to eval results

0 of 3

Chapter 4 Weeks 12–14

Seeing every request, and its cost

Ordinary monitoring asks whether the service is up. For LLM traffic that question tells you little, because the worst failures are successful requests: a 200 with a wrong answer, a retrieval that found nothing useful, a reasoning model that thought for 3,000 tokens before writing a word. You need traces that record what went in, what came out, how many tokens of each kind, and whom to bill for them.

Cost is the signal teams most often leave to finance, and finance sees it monthly and in aggregate. By the time an invoice spike reaches you, the prompt change that tripled reasoning tokens has been live for weeks. Count tokens by type on every call, attribute them to a team and a feature, and put cost per successful request on the same screen as latency.

By the end of this chapter You can trace any request end to end and tell each team what they spend.

Already there? You run tracing and per-team cost dashboards for LLM traffic.

The reading list

6 steps · about 8.5 h · 0 done
  1. 01Concept · 5 min

    Observability & traces

    A useful test: could you explain yesterday's slowest request without shipping new logging? For model calls that means prompts, retrieval and token counts.

  2. 02Official docs · about 8 h

    Trace model calls with OpenTelemetry ↗

    Vendor-neutral matters here. Your tracing backend will change long before a dozen teams' instrumentation can be rewritten.

    Instrument an app and the gateway so each request is one trace, using the generative AI conventions for model spans.

  3. 03Concept · 5 min

    Cost per query

    Count every term, including cache writes, reasoning tokens and retries. The figure worth watching is cost per successful request, by team.

  4. 04Article · 5 min

    The real cost of an LLM feature: latency, tokens and the bill

    It opens with a two-cent estimate that became seven on the invoice. Rerun its table with the token counts from one of your own features.

  5. 05Concept · 5 min

    Drift

    Quality can fall with nothing deployed. Note the four kinds and the detector for each; pinning the model rules out only one.

  6. 06Concept · 5 min

    SLO & SLA

    Write the target down, then alert on how fast the error budget is burning. A provider outage burns it too.

Build this

A platform dashboard

Put it in a public repository. It's finished when:

  • Traces from app to model and back
  • Cost per team and per feature
  • An SLO with an alert that has fired in a test

0 of 3

Chapter 5 Weeks 15–17

Changing models without breaking anyone

Every model change is a release, including the ones you did not make. A provider can repoint a floating alias overnight, and a deprecation notice gives you a date after which requests start to fail. The techniques for changing models safely are borrowed from web operations: mirror traffic, release to a slice, compare against a control, roll back quickly. What changes is what you compare.

A canary watching only error rate and latency will pass most bad models, because a worse answer is still a healthy response. Put quality proxies in the guardrails (malformed output, refusals, thumbs-down, escalations to a human), hold each step long enough for them to show, and time the rollback in a quiet week. The target is a few minutes from decision to zero exposure.

By the end of this chapter You can swap a model without breaking anyone and handle a provider deprecation calmly.

Already there? You've run a model migration with shadow traffic and canaries.

The reading list

6 steps · about 13 h · 0 done
  1. 01Concept · 5 min

    Shadow traffic

    The safest first look at a new model on real inputs. Stub every tool, or the shadow copy sends the second email for real.

  2. 02Concept · 5 min

    Canary & ramped rollout

    Compare against a concurrent control slice rather than yesterday's numbers. Error rate and latency alone will wave through a model that answers worse.

  3. 03Concept · 5 min

    A/B test

    Where a canary asks whether a change is safe, an A/B test asks whether it is better. Fix the metric first and resist stopping early.

  4. 04Concept · 5 min

    Model deprecation & upgrades

    Treat a retirement date as a migration with a deadline. Begin with an inventory of every route, fallback and judge on that model.

  5. 05Concept · 5 min

    Postmortem

    Blameless, with a timeline and owned actions. Ask which gate should have caught the failure, then add the cases it was missing.

  6. 06Official docs · about 12 h

    Run model serving on Kubernetes ↗

    Learn rollouts and autoscaling here, then read the first trap below before you pick the metric to scale on.

    Deployments, rolling updates and autoscaling, the substrate most self-hosted serving runs on.

Build this

A model migration playbook

Put it in a public repository. It's finished when:

  • Shadow run comparing old and new model
  • Canary with automatic rollback
  • A written postmortem from a simulated failure

0 of 3

Chapter 6 Weeks 18–20

Keeping customers apart

A shared platform sends many customers through the same gateway, GPUs, caches and logs. Each is a place where one customer can hurt another: a bulk job that drains the shared token quota, a cache that leaks an answer across accounts, a log store that keeps everyone's prompts verbatim for a year and lets every engineer read them.

Teams usually isolate the database with care and forget what surrounds it. Walk each shared pool in turn and decide who can see it, who can exhaust it, and what happens when the check that keeps tenants apart is slow. Security checks should fail closed. The chapter ends with a decision memo, because at this level the hard part is often getting a dozen teams to agree on one platform at all.

By the end of this chapter You can isolate tenants, keep PII out of logs and red-team the platform.

Already there? You've run a multi-tenant AI platform through a security review.

The reading list

6 steps · 40 min · 0 done
  1. 01Concept · 5 min

    Multi-tenancy

    Pooled, bridge or silo is decided per resource rather than once for the platform. Its pitfall is the cache incident from chapter two.

  2. 02Concept · 5 min

    Noisy neighbour

    Per-key limits leave a gap. A tenant with twenty keys stays under every one of them and still starves the shared provider quota.

  3. 03Concept · 5 min

    PII redaction

    Redact before the log store as well as before the model. Logs keep personal data longest, and far more people can read them.

  4. 04Concept · 5 min

    Red teaming

    Turn every attack that worked into a regression case. Defences drift with each model upgrade, so the attacks belong in the gate.

  5. 05Concept · 5 min

    Fail closed

    Search your own code for error handlers that log a warning and carry on. Each one disables a check whenever its dependency is slow.

  6. 06Article · 10 min

    Decision memo: one LLM platform for twelve teams

    A staff-level memo for one platform serving twelve teams. Borrow its shape, especially the reversibility notes, and write one for your capstone.

Build this

Capstone: a shared AI platform

Put it in a public repository. It's finished when:

  • One tenant's load can't starve another
  • PII redacted at the gateway
  • A one-page platform decision memo

0 of 3

Where people get stuck

  1. Autoscaling on GPU utilisation

    Utilisation reads high long before latency suffers, so it says little about when users start waiting. Scale on queue depth or tokens in flight, and check the result against p95 time to first token.

  2. One model for every team

    Hard-wiring one provider turns every deprecation into an incident. Route by capability tier through the gateway, so a model swap is one config change with an eval run attached.

  3. Evals as a dashboard, not a gate

    A score nobody is blocked by won't stop a regression. Make the eval run a required check that fails the merge.

  4. Logging prompts verbatim

    Prompts carry customer data, and logs keep it longer than anything else. Redact at the gateway before storing, and give prompt logs a short retention by default.

A last word

By the end you will have the parts of a small platform: a model server whose limits you have measured, a gateway with budgets and fallbacks, an eval gate another team can adopt with one config file, traces that end in a cost per team, a rehearsed migration and a memo that argues for the whole thing. More usefully, you will know which number to look at first when the page arrives.

The roadmaps below are written for the people who build on what you run. Reading one is a quick way to learn what your users will ask for next.

Take this roadmap with you

Copy every step as a Markdown checklist for Notion, GitHub Issues or your notes, or send someone the link.

aiagentichandbook.com/roadmaps/llmops-engineer/

Further reading

All 33 articles →

Self-host or API? A break-even memo with the maths shown

A decision memo for serving Open-weights vs closed models models yourself versus paying per token, with every price, throughput and headcount stated as an assumption, a cost-versus-volume curve, and a calculator you can rerun with your own numbers.

Reading public AI incidents as postmortems

Two well-documented failures, the Air Canada chatbot ruling and the Replit agent that deleted a production database, rewritten as postmortems: timeline, detection, root cause, and the control that would have caught each one.

Durable agents: checkpoints, idempotent tools and approvals that wait for days

An agent run is a long-lived workflow that will be interrupted. How to checkpoint each step, make every side effect safe to replay, resume at step 7 after a crash, and park a run for a human without holding a worker, with a runnable stdlib example.

LLM-as-judge without fooling yourself

A model can grade open-ended answers at scale, but only after you have measured its true-positive and true-negative rates against people and corrected the pass rate it reports.

What happens to what you type into an AI

Your words can be logged, kept, reviewed, used for training, or indexed for search, and each is a separate decision. The questions that tell you which ones apply, without needing to trust a marketing page.

A reading list by level: the papers, posts and books worth your time

Twenty-eight primary sources, grouped from first steps to staff level, with one line on why each one still matters.

Questions people ask about this roadmap

What is LLMOps?

LLMOps is the practice of running large language model applications in production: serving, routing, evaluation, monitoring, cost control, safe rollouts and security — MLOps adapted for models you prompt rather than train.

What does an AI platform engineer do?

An AI platform engineer builds the shared infrastructure every AI team uses — model gateway, serving, eval pipelines, observability and cost controls — so product teams can ship AI features quickly and safely.

Can a DevOps or SRE engineer move into LLMOps?

Yes, and it's one of the fastest transitions. Reliability, CI/CD and observability skills carry over; the new parts are inference behaviour, evals and token economics.

Do I need to know how to train models?

No. Most LLMOps work is serving and operating models. Knowing what fine-tuning is helps, but you don't need to train from scratch.

How long does this roadmap take?

About five months at 12 hours a week for someone with backend or DevOps experience.

Is this roadmap free?

Yes. It links only to free handbook pages and free official documentation.

Other roadmaps

All roadmaps →
About 6 months

AI Engineer

You want the broadest AI engineering job and aren't sure which specialism yet.

About 6 months

AI Forward Deployed Engineer

You like building and talking to customers in equal measure.

About 4 months

RAG Engineer

You care about search quality and want to be the person who makes answers correct.

More from the handbook

All free at aiagentichandbook.com