How to choose a GPU model: a memory-budget method
By nimblegpu ·
The GPU model that fits a workload is decided by three things: the memory the workload actually loads, the precision format your software stack runs at, and how many devices you can hold at once. The generation printed on the card is not one of them. This guide gives the method, the fields to record, and a worked example with its assumptions stated, so that two proposals can be compared on measurements instead of on labels.
It contains no rates, no availability figures and no performance results, because none of those can be established before the workload is measured. For our own service the configuration, the hosting country, the allocation date and the commercial terms are confirmed in the written proposal, and the NVIDIA GPU rental catalogue sets out the model range we rent.
The five measurements that decide the allocation
These are the fields we ask for, and the same fields a buyer should record before comparing two proposals. They are measurement tasks, not opinions.
The five measurements that decide a GPU allocation, with what to record and why it decides the device count
| Measurement | What to record | Why it decides the allocation |
|---|---|---|
| Loaded memory | The model, the precision or quantisation you serve at, and the memory the loader actually puts on the device | The weight size sets the floor, and everything else has to fit above it |
| Runtime workspace | The observed peak during warm-up and one representative request | Activations and runtime buffers are the part that grows with the batch size and the input and output sizes |
| KV cache | The context length, the number of concurrent sequences and the cache policy | The cache scales with concurrency and context rather than with the model, and it is often what forces a second device |
| Communication pattern | The framework, the parallelism and the pattern of the communication between devices | For training it decides whether the job needs one node or a pool, and a pool is quoted differently from a node |
| Acceptance evidence | A small representative segment or request set, and the restart behaviour | It is the evidence that the allocation does the work, rather than the argument that it should |
On a narrow screen the table scrolls sideways rather than shrinking, so each row stays readable next to the measurement it belongs to.
Worked example: one inference workload, two allocations
The example below is illustrative. The numbers are assumptions chosen to make the method visible, they describe no provider and no product, and no result below is a performance or cost claim. Substitute your own measurements into the same structure.
The assumptions
- A model with 70 billion parameters, served at 8-bit weights.
- A context length of 4,096 tokens and 32 concurrent sequences.
- Each device exposes 96 GB of usable memory for the workload. This is an assumption for the arithmetic and not a specification of any configuration we quote; the usable figure for a specific allocation is stated in the proposal.
- The serving path is validated at 8-bit weights, and no reduced-precision weight format is part of the validated path.
Step 1: the weight floor
At one byte per weight, 70 billion parameters is about 70 GB of weights before any runtime overhead. Add the workspace measured during warm-up and the cache for 32 sequences at 4,096 tokens, and the workload needs more memory than a single device exposes.
Step 2: the cache is usually the deciding term
The cache grows with concurrency and context length, so doubling the concurrency or the context length changes the answer while the weights do not move. This is why the context length and the concurrency belong in the brief: they decide the device count, and they also decide whether the right shape is a burst allocation for a defined run or a reserved allocation for a steady workload.
Step 3: the device count is an output
Divide the required memory by the usable memory per device and round up. If the total sits just above one device, the comparison worth making is between one device of a newer generation and two devices of an older one, because the device count and the shape of the allocation change together. If it sits well above one device, the communication pattern then decides whether those devices have to sit in one node. Either way the number of devices comes out of the measurements rather than going into them.
Step 4: the precision question
Precision changes the weight floor, and the format has to be one the stack supports in the validated path. A reduced-precision format that the path supports can change the device count; one that it does not support cannot be counted at all. That is a property of the software path rather than of the model name, so it belongs in the brief and in the acceptance run.
What the generation does not decide
A newer generation is not automatically the better choice for a small or communication-light job, and a device class does not tell you the device count. The NVIDIA B300 GPU rental page makes the same point from the other side: a workload that does not fit on one older allocation may fit on one newer device, which moves the device count and the shape of the allocation together. What the generation does tell you is the node design, the interconnect and the host resources that come with the allocation, which is why the quote comparison framework asks for the node and the host resources before it asks for the headline figure.
What to send, and what to ask for in return
- Send the measurements rather than the model: the loaded memory, the runtime peak, the context length and concurrency, the framework and its versions, and for training the parallelism and the communication pattern.
- Ask for the usable memory per device, the node topology, the interconnect, the storage and transfer terms and the acceptance evidence, in writing and in the proposal.
- Record them with the GPU rental enquiry checklist, and decide the shape of the allocation with the capacity planning worksheet before you commit to a period.
- When a second proposal arrives, line the two up on the same fields with the quote comparison framework before you compare the figures.
- If the real question is whether to own the hardware instead, the rent-versus-buy analysis works through those inputs.
Limits of this method
It needs your own measurements: without a measured peak and a stated concurrency, the device count is a guess dressed as a calculation. It says nothing about rates, availability, the allocation date or the commercial terms, and the hardware specifications published by a manufacturer describe reference hardware rather than a reserved configuration. For our own service the exact GPU variant, CPU, RAM, storage, network, start date, price and service terms are specified in the written proposal, and the GPU compute rental overview sets out how that proposal is assembled. The commercial team responds within 24 hours, and the rental terms and commitment answers explain what the proposal then has to state.
Sources
- Manufacturer reference material for the accelerator classes we rent: the NVIDIA HGX reference architecture components, the NVIDIA H200 page and the NVIDIA RTX 4090 page.
- Our own pages: the catalogue, the NVIDIA B300 and NVIDIA H200 model pages, and the process answers.
