GPUSCloudHQ Guide index
An isometric rack of stacked compute modules with copper and mint signal traces.

Workloads / Field notes

LLM GPU Rental

Sizing LLM GPU rentals with clear weights and KV cache arithmetic.

Workloads / Reference

GPU Rental for LLM: What the Rental Actually Needs to Deliver

Large language model workloads split into two jobs with opposite personalities. Training is compute-bound: it maximizes tensor-core utilization for hours or weeks and benefits from fast interconnects between cards. Inference is bandwidth-bound: each generated token requires streaming the full model through memory once, so memory bandwidth — not raw FLOPS — sets tokens-per-second. A sensible LLM GPU rental decision starts by naming which job runs, because the ideal machine differs.

Serving also carries a state that training does not: the KV cache. Every concurrent request accumulates keys and values for every layer, and that cache competes with weights for the same VRAM. Sizing an inference server without the KV cache is the most common provisioning error in the field.

Weights First: Model Size to VRAM at Common Precisions

Weights alone follow a simple rule: parameters × bytes per parameter. FP16/BF16 uses 2 bytes, INT8 uses 1, and 4-bit quantization uses roughly 0.5–0.6 bytes per parameter once scaling factors are counted. The table below is weights only — KV cache and runtime overhead add on top.

Weight memory by parameter count and precision (KV cache excluded)
ParametersFP16 / BF16INT84-bit
7B~14 GB~7 GB~4 GB
13B~26 GB~13 GB~8 GB
70B~140 GB~70 GB~40 GB

The 70B row explains why 4-bit quantization reshaped the rental market: a model that once demanded an 8-way 80 GB node now fits on one or two 48 GB cards, with a quality cost that is small for chat and summarization but real for demanding reasoning and code generation. Choosing precision is choosing the rental tier.

LLM Inference Server Rental: KV Cache Math, Kept Separate from Weights

The KV cache stores the attention keys and values of every past token for every layer of every concurrent sequence. Per token, per layer, it costs:

2 × (KV heads × head dimension) × bytes per element

One multiplier of 2 covers key and value; the KV-head count reflects grouped-query attention, where modern architectures use far fewer KV heads than attention heads. Multiply by the number of layers and by context length to get per-sequence cost, then by concurrency for the whole server.

A worked example with widely cited public architecture figures: a 7B-class model with 32 layers, 8 KV heads and a 128-dimensional head, served in FP16, spends 2 × 8 × 128 × 2 bytes = 4 KB per token per layer, or 128 KB per token across layers. A 4,096-token context therefore accumulates about 0.5 GB per sequence. Eight concurrent full-length sequences hold roughly 4 GB of cache — modest next to 14 GB of weights, but the same arithmetic on long-context models with 32 K or 128 K token windows multiplies it into tens of gigabytes that no sizing table mentions.

Three practical consequences follow:

  • Context length is a VRAM purchase. Doubling the served context roughly doubles per-sequence cache; short-input workloads should not rent long-context capacity.
  • Concurrency competes with context. Fixed VRAM can hold many short sequences or few long ones; throughput planning means choosing the operating point.
  • Quantized cache variants (8-bit KV cache and paged attention techniques) reduce footprint substantially and are supported by mainstream serving frameworks.

Turning the Math into a Server Specification

A simple sizing worksheet: start with weight memory from the table above, add per-sequence cache × target concurrency × average context, add 10–20% for activations and framework overhead, then select the smallest rental tier that clears the total with headroom. A 13B FP16 deployment serving 16 concurrent 8 K-token sequences lands near 26 GB of weights plus several GB of cache, pointing to a 48 GB card; the same model 4-bit quantized points two tiers lower. Doing this arithmetic before booking prevents both overflow crashes and idle capacity.

LLM Training Server Rental: Compute Becomes the Bottleneck

Training flips the calculus back to compute and interconnect. Full fine tuning, as covered in the memory tables, demands multi-card tiers; continued pretraining demands clusters. Two features matter disproportionately in an LLM training server rental:

  • Interconnect: tensor and pipeline parallelism shuffle activations between cards every layer. NVLink-class links keep that traffic off the network; PCIe-only boxes slow down sharply beyond two cards for dense training.
  • Memory bandwidth: optimizer steps and gradient all-reduce are bandwidth-heavy, so HBM-class memory (H100/H200/B200 generations) sustains utilization that GDDR cards cannot for large dense models.

LoRA-style fine tuning relaxes both requirements dramatically, which is why single-card and dual-card rentals dominate the fine tuning segment.

Dedicated Inference Server versus Bursted Cloud Instances

A dedicated inference server on a monthly term suits predictable traffic: the machine stays warm, models stay resident in VRAM (avoiding multi-minute cold-load times for 70B-class weights), and per-hour economics beat burst rates at steady utilization. Bursted cloud instances suit spiky or experimental traffic, where paying for idle hours would exceed the burst premium. The crossover sits where utilization becomes steady and model load times start to dominate user-perceived latency — typically once a service runs most of the day, every day.

Latency budgets belong in this decision too. Dedicated servers allow tuning of batch windows; a batch size of 1 minimizes per-token latency while larger batches raise throughput at the cost of queueing. Batch size is a dial between latency and throughput, and owning the machine makes the dial easy to experiment with.

Questions People Ask Before Renting LLM Compute

How much VRAM does serving a 7B model need?

About 14 GB for FP16 weights, plus KV cache at roughly 128 KB per token for typical 7B-class architecture (32 layers, 8 KV heads, FP16). A 4,096-token sequence holds about 0.5 GB of cache, so a single 24 GB card serves a handful of concurrent full-context sequences comfortably. Quantizing weights to 4-bit drops weight memory near 4 GB and makes the same card a capable small-scale inference node.

Should an inference server and a training server be the same rental?

Usually not. Training favors compute, interconnect and multi-card topologies; serving favors memory bandwidth and per-token cost, often on smaller cards running quantized weights. Teams that separate the two rent the right shape for each job instead of compromising one machine toward both, and the inference fleet can scale independently of experiment demand.

What is the fastest way to cut LLM serving costs?

Quantize the weights first — 4-bit halves-to-quarters weight memory and lets a smaller rental tier serve the same model. Then right-size context windows to the application's real needs, since KV cache grows linearly with context. Together those two levers routinely move a deployment down two hardware tiers, which is a larger saving than any billing negotiation.

Summary: Matching the Rental to the Model

LLM GPU rental decisions reduce to two computations. Weights: parameters × bytes per precision. Cache: 2 × KV heads × head dim × bytes × layers × context × concurrency. Adding the two, plus modest overhead, names the tier; the workload's personality — compute-hungry training or bandwidth-bound serving — names the machine class. Run the numbers before booking and the rental bill follows the model instead of the other way around.

Diagram showing the connections between compute nodes.
Diagram showing the connections between compute nodes.

Device preferences

Cookie settings

Essential storage remembers this choice. Neither optional category loads tracking software.

Essential storageAlways on