How to Choose the Right GPU Hardware for Local LLM Deployment

    When deploying large language models on-premises, peak compute (TFLOPS) is rarely what makes or breaks the setup. This article explains why memory capacity and memory bandwidth—not raw compute—usually decide whether a model runs and how fast it runs. It breaks down four commonly underestimated inference bottlenecks (memory capacity, KV Cache growth, concurrent throughput, and time-to-first-token), maps the main GPU tiers (data-center, professional, and consumer flagship) to their strengths and limits, and gives scenario-based selection guidance for high-concurrency production, interactive low-latency use, cost-sensitive experimentation, and elastic demand. It closes with three practical engineering reminders on quantization, benchmarking, and inference-framework/hardware co-design.

    1. Start with the premise: the bottleneck is often not compute

    When people first try local LLM deployment, they tend to compare GPUs horizontally as “compute units,” as if higher peak compute (TFLOPS) automatically means better deployment. But in real inference scenarios—especially with Mixture-of-Experts (MoE) models whose parameter counts reach the hundreds of billions—what usually determines success is not paper compute but two things: whether memory can hold the model, and whether memory bandwidth can keep the compute units fed.

    Understanding this premise is the first lesson in hardware selection. The two underlying factors below explain why.

    1. Memory capacity: it decides “can it run”

    The first step in LLM inference is loading the weights into memory. The larger the model, the more memory its weights occupy. A rough but practical way to estimate this:

    1. Weight memory ≈ Parameter count × Bytes per parameter
    2. # Example: a model with hundreds of billions of parameters, using 4-bit quantization
    3. # Bytes per parameter ≈ 0.5 Byte
    4. # 670 billion parameters × 0.5 Byte ≈ 335 GB (weights only)

    In other words, even with a low-precision quantization scheme, the weights of a very large model often reach several hundred GB. Once you add KV Cache, activations, and runtime overhead, the real requirement is higher still. When a single card’s memory is insufficient, you have to rely on multi-card parallelism (tensor parallelism, pipeline parallelism, and so on), which introduces inter-card communication overhead and scheduling complexity. So memory capacity directly determines both “can it run” and “the minimum number of cards required.”

    2. Memory bandwidth: it decides “how fast”

    During the autoregressive decoding phase, generating each token requires reading the weights (or the currently activated portion) from memory once. This is a classic memory-bound workload: no matter how powerful the compute units are, if memory bandwidth can’t keep up, they can only wait for data to arrive and end up idling. This is also why high-bandwidth memory technology usually has a more direct and more stable impact on inference throughput than peak compute does.

    2. Four core bottlenecks in inference

    Placing the logic above into real workloads reveals four bottlenecks that are the most easily underestimated.

    Bottleneck 1: Memory capacity (can it fit)

    This is the most rigid constraint. If the model doesn’t fit, no amount of performance matters. When planning, leave enough headroom and avoid running memory at its limit—once you approach full utilization, any growth in context or any concurrent request can trigger an out-of-memory (OOM) error and interrupt the service.

    Bottleneck 2: KV Cache growth

    During inference, the model needs to cache the Key/Value tensors for every token generated so far—this is the KV Cache. Its memory footprint grows roughly in proportion to context length and the number of concurrent requests:

    1. KV Cache memory ≈ 2 × num_layers × hidden_dim × sequence_length × concurrency × bytes_per_parameter

    In long-context scenarios (such as 16K–128K) or multi-user concurrency, the KV Cache can quickly balloon to tens of GB, sometimes exceeding the weights themselves. Whether you can stably support long context and high concurrency is essentially a test of whether memory has reserved enough room for the KV Cache.

    Bottleneck 3: Concurrent throughput

    Smooth performance for a single request does not mean things stay under control under multi-user concurrency. When serving concurrently, the GPU must maintain the KV Cache for multiple requests at once within limited memory and handle batch scheduling. Hardware with insufficient memory headroom tends to see sharp throughput drops or queuing delays as concurrency rises.

    Bottleneck 4: Time-to-first-token (TTFT)

    For interactive applications (such as coding assistants or personal agents), the user’s perceived experience depends on time-to-first-token. At low concurrency, this metric is driven more by compute efficiency and scheduling overhead than by total memory capacity.

    3. Positioning and trade-offs across hardware tiers

    Given the bottlenecks above, GPUs on the market fall into three broad tiers, each with its own boundaries of suitability.

    1. Data-center class (very large single-card memory + high bandwidth)

    Represented by professional cards with more than 140GB of memory per card using high-bandwidth memory technology. Its advantage lies not in peak compute but in very large memory headroom, high bandwidth, and high stability. It is currently the most reliable choice for running super-large models under high-concurrency, long-context production workloads. The downsides are high acquisition cost and demanding power and cooling requirements.

    2. Professional class (medium single-card memory, around 100GB)

    Represented by professional cards with roughly 96GB per card, offering a more balanced mix of performance and cost. They communicate more efficiently in multi-card setups and offer good engineering stability, making them suitable for teams that need to fit very large models while keeping scale under control. Compared with consumer flagship cards, they generally perform more stably at medium-to-high concurrency and with long context.

    3. Consumer flagship (smaller single-card memory, around 24–32GB)

    These offer strong cost-performance and decent per-token generation efficiency. In scenarios where the model fits entirely in memory—small-to-medium models on the order of billions of parameters—they deliver excellent time-to-first-token, making them suitable for individuals or small-scale experiments. But when facing very large models, insufficient memory forces either high-ratio quantization or extreme multi-card stacking, and both stability and throughput suffer as a result.

    4. Scenario-based selection guidance

    Abstract parameters ultimately have to map to real scenarios. You can follow a decision path like this:

    • High-concurrency production, long context (16K and above): Prioritize memory capacity and bandwidth. Choose data-center-class or professional multi-card solutions and leave ample headroom for the KV Cache and concurrent scheduling. Never judge by single-card compute alone.
    • Interactive single-user / low-latency applications: If the model is small enough to fit entirely in memory, a consumer flagship card can deliver an excellent time-to-first-token experience; if the model is on the larger side, step up to professional-class cards to guarantee capacity.
    • Cost-sensitive experiments / validation phase: First validate the full pipeline with a smaller model on a consumer card, then reverse-engineer the production configuration from actual memory and concurrency data, avoiding “buying the wrong spec all at once.”
    • Elastic demand: If you can’t predict peak concurrency, consider general-purpose cloud compute (such as GPU instances, or container platforms combined with monitoring alerts and autoscaling) to scale on demand, reducing the sunk cost of upfront hardware investment.

    5. Three engineering reminders

    1. Quantization is not a cure-all. Quantization can significantly compress weight memory, but it also brings precision loss and some additional compute overhead, so it needs to be evaluated against your actual business needs.
    2. Take monitoring and load testing seriously. Before deployment, run baseline load tests on memory usage, KV Cache growth, TTFT, and concurrent throughput, and make decisions from real data rather than paper specs.
    3. Co-design the inference framework with the hardware. Choosing a suitable inference serving framework (for example, engines that support PagedAttention-style memory management and continuous batching) can significantly improve memory utilization and throughput, which is what truly unlocks the value of the hardware.

    In short, hardware selection for local LLM deployment is not about chasing compute. It is about matching your model’s parameter scale, context length, and concurrency characteristics against four pivots: memory capacity, memory bandwidth, KV Cache, and concurrent stability. Think the bottlenecks through clearly, and neither selection nor procurement will go off track.