An inference engineer keeps a model fast, available and affordable once it is serving real traffic. Anyone who has carried a pager for a web service will recognise the job.

I have spent about ten years in infrastructure, cloud and platform engineering. Systems thinking led me to inference naturally. I wanted to see how a large language model works under the hood, so I kept peeling back layers until I reached the transformer. At Scaletific we now run our own benchmarks on rented GPUs. We have begun publishing the results as a growing research archive on Compare AI Cost, starting with a vLLM field test on an NVIDIA A40.

The further I go, the more familiar the landscape looks. The vocabulary is new, and the discipline underneath is site reliability and platform engineering, applied to a workload with unusual physics. I believe that strangeness is temporary. With time the field will settle into something far more ubiquitous. Where inference engineering stands today is comparable to the early days of Kubernetes.

This piece maps one onto the other, covers the metrics that matter, touches on where Kubernetes fits, and illustrates the financial stakes. It closes with why we believe the field will grow.

The same job with a new workload

Almost every SRE practice has a direct counterpart in inference. An engineer who knows the left-hand column already has the instincts for the right-hand one.

How familiar reliability practices apply to model serving.
SRE practiceInference counterpart
Service level objectives on request latencyTargets on time to first token and inter-token latency, including p95 or p99 thresholds.
Error budgetsError budgets for inference latency and availability SLOs. Goodput complements them by measuring requests per second that meet the chosen latency targets.
Capacity planning for CPU and memoryCapacity planning for VRAM, where model weights and the KV cache compete for space.
Load balancingCache-aware routing, which can send a request to a replica already holding its prefix.
Queueing and back pressureAdmission control and queue limits around continuous batching, where requests join and leave a running batch at token steps.
AutoscalingGPU autoscaling, planned around cold starts that can take minutes.
ObservabilityToken-level metrics exported by the serving engine and scraped by Prometheus, alongside hardware telemetry.
Progressive deliveryCanary rollouts of a new model, adapter or quantisation level.
Cost per requestCost per million tokens, with the input/output basis and included costs stated.

Goodput and an error budget answer different questions. Goodput measures how much traffic meets the serving targets each second. An error budget defines the permitted proportion of SLO misses over a window. The vLLM benchmark documentation supports goodput targets for first-token, per-output-token and end-to-end latency; Google's SRE guidance explains how an SLO determines its error budget.

What changes

The practices carry over. The workload has four properties that reshape how they are applied.

  • Cost varies per request. Web requests can vary in cost too, but token generation makes that variation central to capacity planning. A model request's compute demand depends on prompt length, answer length, model architecture and serving configuration.
  • Every generation request has two phases. Prefill processes the prompt, often in parallel or in chunks, and contributes to the wait for the first token. Decode then produces tokens sequentially and sets the streaming speed. Each phase stresses the GPU differently.
  • State lives in GPU memory. The model stores attention keys and values for active requests in the KV cache. With prefix caching enabled, a replica that has already processed a prompt's opening may reuse that work. Cache-aware routing can help preserve that benefit.
  • Cold starts can be long and idle time is expensive. Provisioning a GPU, downloading weights and initialising the engine can take minutes, depending on the model, storage and warm caches. Under hourly GPU rental, an idle allocated GPU usually bills at the same rate as a busy one. Scale-up has to account for readiness time, and scale-down has to account for the latency cost of starting again.

The vLLM optimisation guide shows how chunked prefill and batching settings affect the throughput and latency trade-off.

The metrics that matter

Seven measurements form a useful starting dashboard for an inference service. The first two are what a user feels, and the last one connects serving performance to the bill.

Read latency, useful throughput, hardware activity and cost together.
MetricWhat it tells you
Time to first token (TTFT)How long a user waits before anything appears. Queueing, prompt processing and cache reuse all contribute.
Inter-token latency (ITL)How smoothly the answer streams. It depends on decode speed and the other work sharing the GPU.
ThroughputTokens per second across the system. State whether this counts output tokens alone or input and output tokens.
GoodputRequests per second that meet the defined latency targets. State the targets alongside the result.
p95 and p99 latencyThe latency thresholds within which 95% and 99% of measured requests or token intervals fall. Name the latency metric and measurement window.
GPU utilisationA hardware activity signal. Read it alongside throughput and latency; a busy GPU does not by itself prove useful work.
Cost per million tokensCost attributed to a stated token basis and measurement window. Specify which costs are included.

Our first published field test records throughput, TTFT, time per output token and ITL, with derived GPU rental cost. It does not establish every metric in this dashboard: goodput needs explicit SLO thresholds, and hardware utilisation needs its own telemetry.

These metrics pull against each other. Larger batches can raise throughput and lower the cost per token while increasing latency. Choosing the right point on that curve for each workload is the core judgement of the role, and it is the same judgement an SRE makes when trading latency against capacity.

Where Kubernetes fits

Serving engines such as vLLM and SGLang ship as containers, so they can run on Kubernetes. Each exposes an OpenAI-compatible API, as documented by vLLM, and a platform team can deploy, scale and roll them out with tools it already knows. GPU scheduling, memory requirements and model readiness still need explicit configuration. The AWS SGLang deployment guide for EKS provides a concrete example, including GPU resource requests and health-probe delays for model loading.

KServe, a CNCF incubating project, adds a model-serving layer on top. It lists vLLM among its runtimes and accepts custom containers for other engines. Its serving resources support endpoints, autoscaling and rollout strategies, with the exact capabilities depending on the deployment mode and configuration.

The model internals are new ground for a platform engineer, and the control loop around them is the one Kubernetes has always run: declare the desired state, watch the metrics, reconcile.

The bill

In an illustrative scenario, the same model serving the same traffic could have an annual GPU rental bill of $2 million or about $330,000. The gap is roughly sixfold, and the example shows how operational choices can compound. It is a modelled scenario, not a measured client saving or a forecast for a particular deployment.

Here is the worked example. The factors are illustrative assumptions of ours. Real ones come from benchmarking your own workload. It assumes the improvements preserve the required output quality, latency and availability, and that each step delivers an additional benefit rather than double-counting the previous one.

Illustrative GPU-only scenario in USD, rounded to the nearest $1,000.
StepWhat the engineer doesAnnual GPU rental bill
Starting pointA fleet sized for peak traffic runs around the clock at 20% average utilisation.$2,000,000
Raise utilisation to 60%Batching and autoscaling on queue depth, with scale-to-zero only where cold-start latency is acceptable. Assume the same work needs one third of the fleet.$667,000
35% more tokens from each GPUQuantisation and prefix caching, where supported by the model, quality requirements and repeated-prefix traffic. Divide the remaining bill by 1.35.$494,000
A third off the hourly rateCommitted capacity, or a cheaper region or provider for work that can move. Multiply the remaining bill by two thirds.$329,000

The calculation is $2,000,000 ÷ 3 ÷ 1.35 × 2/3, or about $329,218 before rounding. This is GPU rental only. Storage, networking, CPU capacity, orchestration, observability, engineering, support, migration and any commitment risk sit outside it. Those costs belong in a total operating-cost comparison.

None of these steps requires a more capable model, although quantisation changes its numerical representation and needs quality evaluation. The benefits are workload-dependent. Because the assumed improvements multiply, they produce a roughly sixfold difference in this example.

We learned a small version of this ourselves. Our video studio renders on rented GPUs, and the agents that provision them were free to fall back to any available machine in any region. Jobs intended for a GPU at $0.71 an hour sometimes landed on one costing about $2 an hour, and some videos cost $5 to $6 each. We wrote a script that restricted the GPU type, the price ceiling and the order of regions. The cost fell to about $2 a video. The model and the output stayed the same, and the saving came from placement policy.

Those are our reported observations from video rendering, rather than a controlled LLM-serving benchmark. The workload was different, and the discipline is the one this piece describes. Somebody has to own the gap between what the hardware could deliver and what the bill says it did.

Why we believe inference engineering will grow

Frontier models keep improving, and paying frontier prices for every employee and every customer interaction can be hard to justify. Much of the work inside a business is narrow: classifying documents, answering questions about one product, extracting fields from one kind of form. A smaller open-weight model, sometimes fine-tuned for a single domain, can be a lower-cost option if it meets the task's quality requirements. Whether it actually costs less depends on traffic, hardware utilisation and the cost of operating and evaluating it.

Those models have to run somewhere. Some will sit on bare metal, some on a hyperscaler's managed service, and some with a neocloud provider. Wherever they run, somebody has to operate them, measure them and keep the bill in check.

We see the demand in the questions teams face when launching AI applications: latency, capacity and cost become practical concerns as soon as real users arrive. The discipline that answers those questions is still developing. Its tooling changes quickly, and its practices are still settling.

Kubernetes looked like this in its early years. The engineers who learned it then became the people companies turned to once it was everywhere. We believe inference engineering stands at a similar point, and that the need for people who can serve models well will grow with every AI application that reaches production.

Put the approach to work

If you are moving a model into production or trying to understand an existing serving bill, explore our inference engineering services. We can help connect workload measurements, latency targets and GPU capacity to a practical operating plan.

Discuss your inference workload.

Sources