From compute provisioning to model serving, networking and observability, here's what goes into making AI models work reliably at scale.
You train a model, or pick one from a model hub. It scores well on your test set and gives sensible answers in a notebook. But once in production, an application wants to call it a thousand times a minute and expects an answer before the user loses interest.
You can have a working inference setup in a matter of minutes, but running that model in production is a different challenge. Whether you're deploying an image recognition model, a recommendation engine, a speech recognition system or a large language model (LLM), you need an infrastructure environment that can execute the model efficiently and keep the service available even as workloads grow.
That involves considerably more than making compute available. It requires a combination of hardware, serving software, networking, orchestration and monitoring. Each of these components plays a role in the performance and reliability of the overall service.
Production adds pressures that model testing during training runs never applies. Many users or applications are calling at once. Workloads are competing for the same hardware. Then there are response-time targets, unpredictable demands, and rules about availability, security and data handling.
Different types of inference workloads create different pressures:
So, before you choose the hardware, you need to understand the workload you are trying to support.

Choosing a GPU starts with understanding how much memory the model needs, not just how much processing power it requires. A model's weights must fit into GPU memory alongside the data and intermediate calculations required during inference.
The memory footprint of the weights depends on the model's parameter count and the precision used to represent each value. A 7-billion-parameter model stored at 16-bit precision requires approximately 14 GB for its weights. At 4-bit precision, the same model will need around 3.5 GB for weights. A 70-billion-parameter model at 16-bit precision, by comparison, requires about 140 GB, which is more than the capacity offered by a single 80 GB GPU. Such a model needs to be distributed across multiple GPUs, using techniques such as tensor parallelism to split its calculations between them.
Now these are estimates for the weights themselves. Actual memory requirements are higher because the serving runtime, intermediate calculations and incoming requests also need space. It becomes particularly important with generative models. As an LLM processes a conversation, it maintains a key-value cache (KV cache) containing information from previous tokens.
KV cache requirements grow with both context length and the number of concurrent requests. For Llama 3 8B, using its standard configuration and 16-bit cache values, each token requires approximately 128 KB of cache memory. An 8,000-token conversation therefore occupies around 1 GB. 30 such conversations running simultaneously would require roughly 30 GB of cache, in addition to the memory needed for the model weights and serving runtime.
The number of simultaneous conversations is not necessarily the same as the number of incoming requests per second. This is where teams can underestimate concurrency.
Consider a service that receives 200 requests per second. If each request spends an average of 250 milliseconds in the system, from arrival to response, around 50 requests will be in progress at any moment. This relationship is described by Little's Law:
Requests in progress = arrival rate × average time in the system
Time in the system includes any wait in a queue, not just processing time. Once requests start queuing, that additional time increases the number of requests in progress.
Traffic also rarely arrives evenly. Sizing for the average arrival rate can leave infrastructure under-provisioned during busy periods. If the busiest second brings 600 requests, for example, you need to plan for around 150 requests in progress, plus additional headroom.
The infrastructure must have enough memory and processing capacity to handle that concurrent load without allowing response times to climb.
The practical implication is that GPU sizing cannot be based on model size alone. A configuration that accommodates the weights may still run out of memory under concurrent traffic. Teams need to account for the model, its serving configuration and the number of requests they expect to handle at once.
Having enough GPU memory to accommodate the model and its active requests does not necessarily mean inference will be fast. The GPU must also be able to process calculations and move data quickly enough to keep up with demand. This is where memory bandwidth comes into play.
However, different workloads have different performance bottlenecks, and not all of them benefit equally from higher memory bandwidth. Compute-bound workloads spend more time performing calculations than moving data. So, more processing power can help increase throughput. Memory-bound workloads spend more time moving data to and from memory. Generating tokens with an LLM is a common example. The model repeatedly reads its weights to calculate each next token. For these workloads, memory bandwidth is a major factor in how quickly the GPU can generate output.
The distinction helps explain why different workloads benefit from different hardware:

These are just starting points, not hardware-sizing rules. The right configuration depends on the model, request volume, latency target and serving setup.
Precision provides another way to manage memory. Using FP8 or INT8 instead of FP16 can reduce the memory required for weights and data movement. It can also improve performance on hardware that supports these formats. However, the trade-off is that lower precision can affect model quality. The impact varies by model and workload, so you need to evaluate it against your own accuracy and quality requirements before deploying it.
A model file cannot serve application requests on its own. It needs software that loads the model, often stored in object storage or a model registry, executes its calculations and makes the model available to other systems. Some tools provide only the runtime, others provide a serving layer that connects to different runtimes, and some combine both.
The runtime executes the model. It loads the weights onto the GPU or CPU and runs the model's calculations as efficiently as the hardware allows. The serving layer wraps the runtime and exposes it to other applications. It provides the API endpoint, accepts incoming requests, manages request scheduling and batching, and returns the results
However, loading the model can take longer than expected. Pulling a 16 GB model at a sustained transfer rate of 1 GB/s takes at least 16 seconds. The system may also need to download a container image, initialize the GPU environment and run warm-up operations before it is ready to accept traffic. Together, these steps can push a cold start beyond a minute. That delay becomes noticeable when a service needs to add capacity quickly. Once the model is ready, the serving runtime manages how incoming requests are processed, how GPU resources are allocated and how inference is executed.
The choice of runtime and serving layer affects both inference performance and resource utilization. Different tools are designed for different models and workloads. Some common options include:
Teams don't always choose the most suitable combination. They may default to tools they already know, prioritize ease of deployment or carry a configuration from an initial proof of concept into production. A setup that works for a small number of requests may struggle under higher concurrency. Teams may also optimize for throughput without accounting for response latency, GPU memory consumption or cost per request.
Once a model is deployed, the serving system needs to decide where each incoming request goes. In deployments with multiple replicas, this means distributing requests across available capacity. Because a fleet of replicas only helps if requests reach the right one.
Inference needs more careful load balancing than a typical web service because requests can vary significantly in their processing time, input length and memory requirements. Sending requests to an already-busy GPU increases latency and wastes unused capacity.
All requests must also pass through access control first. Every endpoint needs authentication, using API keys or tokens tied to an identity, and authorization rules that define which teams can call which models. Without these controls, an exposed GPU endpoint is an open tab that anyone can run up.
Rate limits help prevent one application from consuming all available capacity. For LLMs, you need to limit tokens per minute as well as requests per minute, because one request can cost a hundred times another.
Finally, teams need a plan for overload. If requests arrive faster than replicas can handle them, a bounded queue with a timeout and a clear 429 or 503 response is better than an unbounded queue that lets delays build unlimited. Otherwise, users will be waiting long after the service's latency target has been missed.
A deployed model can become slower or less efficient without actually crashing. Monitoring can help pinpoint subtle issues before they become a major problem. Infrastructure metrics show what is happening on the hardware. Application metrics show what users experience. You need to track both to get the full picture.

You can collect Infrastructure metrics from the GPU and the platform running it. emma, for example, shows GPU utilization and memory from the moment an endpoint starts, along with who owns it and what it costs. Application metrics come from the serving layer: vLLM and Triton both publish them in a format tools like Prometheus and Grafana can collect and chart.
Latency deserves particular attention. An average response time of 200 milliseconds may look healthy, but it can hide a situation where 5% of users are waiting two seconds or longer. p95 and p99 latency reveal how slow it can be for users experiencing the worst delays.
GPU utilization also needs careful interpretation. The utilization figure commonly reported by nvidia-smi measures the share of time during which at least one kernel was executing. So, a high GPU utilization percentage doesn't necessarily mean the GPU is using all its processing power. There could still be significant compute capacity available.
In fact, no single utilization number tells the whole story. Teams can combine their utilization metric with measurements such as streaming multiprocessor (SM) activity from NVIDIA DCGM, along with memory usage and throughput to get a complete picture.
Different workloads also need their own performance indicators:
However, infrastructure monitoring does not tell the whole story, either. A model can remain available and respond quickly while the quality of its predictions deteriorates. This can happen when the data changes. An image recognition model trained mostly on daylight photographs, for example, may perform less reliably when it starts receiving nighttime images.
You can monitor model quality by evaluating outputs against known examples and tracking changes in input data. Logging a carefully selected sample of inputs and outputs can also help identify unexpected changes. However, any logging strategy needs to account for privacy, data retention and access requirements, particularly when requests contain sensitive information.
Inference traffic is rarely constant. A recommendation engine may receive more requests in the evening. A speech service may experience a surge when a contact centre opens. A new generative AI feature can attract thousands of unexpected users after one viral post.
Orchestration platforms such as Kubernetes help respond to these changes. They place model-serving replicas on available GPU nodes, restart failed instances and adjust the number of running replicas as demand changes. However this autoscaling is only as effective as the signals it uses.
GPU utilization, for example, is a common scaling metric for web services. But as we discussed earlier, it’s an unreliable metric since it could just be a measure of time during which at least one kernel was executing. More useful signals could be queue depth, the number of requests in progress on each replica and KV cache usage. These metrics give teams a clearer picture of whether the service is approaching its capacity or falling behind its response-time target.
Next, you also need to account for cold starts. A new instance may need to download a container image, retrieve model weights, initialize its runtime and complete a warm-up request. If that process takes 90 seconds, an autoscaler reacting to a sudden traffic spike cannot provide additional capacity immediately.
You can use several techniques to reduce this delay:
GPU availability adds another constraint. The GPU model a team needs may not be available in its preferred region when demand increases. Having the ability to deploy across multiple regions or cloud providers can give teams more options, although moving workloads between environments also introduces networking, data-transfer, security and operational considerations.
The fleet also needs a safe way to change over time. Model versions, serving runtimes and configurations all require updates, and sometimes, a change works in testing but still causes problems in production. You can limit the risk through readiness checks, canary releases and safe rollback options. Production inference is not a one-time deployment. It is an environment that teams need to monitor, adjust and maintain.

In production, all these individual parts that we’ve looked at work as one connected system. The infrastructure can be understood as seven layers:
The important part is how these layers affect one another. Increasing the batch size in the serving layer changes the memory required from the compute layer. The autoscaling policy depends on the metrics exposed by observability. A data residency requirement may restrict which regions the orchestration layer can use.
Managing these dependencies for one model on one cloud is relatively straightforward. The challenge grows when organizations distribute their workloads across hyperscalers and neoclouds. Each additional environment can bring its own console, configuration, metrics and billing view. Teams then have to maintain consistency across them while still making use of the capacity available in each location.
Getting from weights to a live endpoint takes compute that fits the model, a runtime and serving layer that make it reachable, routing that turns capacity into speed, monitoring that catches problems early, and scaling that keeps pace with demand. The work continues long after the launch. Traffic grows, models change, and better GPUs appear in places you aren't running yet. The teams that run inference must treat it as infrastructure to operate, rather than a deployment to complete.
Running inference starts with getting the right GPUs. emma gives you access to GPU capacity across AWS, Azure, GCP, Nebius and emma's own cloud, so you can deploy where the GPUs are available, in the regions you need, at the price that fits the workload.
Once your models are running, you can see them. GPU utilization and memory are tracked from the moment an endpoint starts, and every GPU-hour is tied to the team and project behind it.