How to choose a GPU for AI: work from the job, not the chip
If you are working out how to choose a GPU for AI, write down the job before you look at a GPU list. Name the model and its revision, the precision you plan to run, the context length or image resolution, the concurrency or batch size, and the deadline. Those five facts decide almost every hardware question that follows.
Then apply the filters in order: memory, memory bandwidth, compute and precision, interconnect, and price per completed job. Each filter removes candidates, so you only compare prices among GPUs that can actually do the work. Skipping straight to the hourly rate is how teams rent a card that fits the model but not the traffic.
Inference and training stress different parts of the card. Serving a chat model is usually limited by memory capacity and bandwidth, while training spends more time in matrix math and, at scale, in communication between GPUs. Keep that split in mind as you read each step.
Step 1: size VRAM before anything else
VRAM is a hard limit. If the weights, cache and temporary buffers do not fit, the job fails or falls back to slower paths, and no amount of compute fixes that. A quick floor is parameter count multiplied by bytes per parameter: about 16 GB of weights for an 8-billion-parameter model at 16-bit precision, and about 140 GB for a 70-billion-parameter model.
Inference adds the KV cache, which grows with context length and the number of simultaneous requests. Training adds activations, gradients and optimizer state, which is why full fine-tuning needs far more memory than serving the same model. Our LLM VRAM budget guide walks through the parts in detail.
Quantization shrinks the weight floor, but it changes quality and runtime support, so test it rather than assume it. See LLM quantization for inference before you plan around 4-bit weights. Aim to leave meaningful headroom after loading; a card that is full at startup will run out under real traffic.

Step 2: check memory bandwidth for inference speed
Once the model fits, memory bandwidth usually sets how fast an LLM generates tokens. Each new token reads a large share of the weights from memory, so a card with more bandwidth can produce tokens faster at low batch sizes. Bandwidth matters less for compute-heavy work such as large-batch training or image diffusion.
The table lists figures from NVIDIA’s official product pages. NVIDIA’s GeForce product pages for the RTX 4090 and RTX 5090 give memory size, type and bus width; their bandwidth figures come from NVIDIA’s RTX Blackwell architecture whitepaper. The H100 memory type comes from NVIDIA’s Hopper architecture article; the H200 page lists preliminary specifications.
Check the exact SKU in any quote. H100 NVL, H200 NVL and A100 PCIe have different memory, bandwidth and power from the SXM rows here.
| GPU | Memory | Memory bandwidth | Max power |
|---|---|---|---|
| RTX 4090 | 24 GB GDDR6X, 384-bit | 1,008 GB/s | 450 W total graphics power |
| RTX 5090 | 32 GB GDDR7, 512-bit | 1,792 GB/s | 575 W total graphics power |
| L40S | 48 GB GDDR6 with ECC | 864 GB/s | 350 W |
| A100 80GB SXM | 80 GB HBM2e | 2,039 GB/s | 400 W |
| H100 SXM | 80 GB HBM3 | 3.35 TB/s | Up to 700 W |
| H200 SXM | 141 GB HBM3e | 4.8 TB/s | Up to 700 W |
References: NVIDIA L40S specifications · NVIDIA A100 specifications · NVIDIA H100 specifications · NVIDIA Hopper architecture in depth · NVIDIA H200 specifications · NVIDIA GeForce RTX 4090 specifications · NVIDIA GeForce RTX 5090 · NVIDIA RTX Blackwell GPU architecture whitepaper
Step 3: match compute and precision to the workload
Precision support decides which fast paths your software can use. NVIDIA lists FP8 Tensor Core support for the L40S, H100 and H200, and the RTX 5090 page describes FP4 support in its fifth-generation Tensor Cores. A100 does not list FP8, so an FP8 serving recipe will not carry over to it unchanged.
Treat peak TFLOPS as a ceiling, not a forecast. NVIDIA often quotes Tensor Core figures with sparsity, which roughly doubles the dense number, and your kernels may not reach either. Compare GPUs by measured throughput on your model, using the method in benchmark LLM inference.
This is where the GPU for inference vs training question gets concrete. Training a model from scratch or running full fine-tunes rewards high dense compute and BF16 support. Serving rewards bandwidth, memory and efficient low-precision formats your runtime actually supports.
References: NVIDIA L40S specifications · NVIDIA H100 specifications · NVIDIA H200 specifications · NVIDIA GeForce RTX 5090 · NVIDIA A100 specifications
Step 4: decide whether you need multiple GPUs and a fast link
Use one GPU whenever the job fits on one. Splitting a model across cards adds communication, more failure points and more configuration. When you must split, the link between GPUs starts to matter as much as the GPUs themselves.
NVIDIA lists 900 GB/s NVLink for H100 SXM and H200 SXM and 600 GB/s NVLink for A100 80GB SXM. The L40S page states PCIe Gen4 x16 at 64 GB/s bidirectional and no NVLink. For consumer cards, ask how the GPUs in a multi-GPU server are connected rather than assuming a fast link exists.
A 70-billion-parameter model at 16-bit precision needs more than one 80 GB card, so tensor-parallel serving on linked GPUs is common. Our single GPU vs multi-GPU comparison covers when splitting pays off.
References: NVIDIA H100 specifications · NVIDIA H200 specifications · NVIDIA A100 specifications · NVIDIA L40S specifications
A worked sizing example for four common jobs
The table maps four common GPU for AI workloads to candidate GPUs, using the weight arithmetic from Step 1 and the memory sizes above. Treat it as an illustrative starting shortlist, not a measured result. Your context length, batch size and runtime can move a job up or down a row.
The 70B row shows why memory comes first. At 16-bit precision the weights alone are about 140 GB, which already fills a 141 GB H200 before any KV cache, so you either split across two linked GPUs or quantize to 8-bit (about 70 GB of weights) and accept a tight fit. Image generation follows different rules; see GPU for image generation for resolution and batch sizing.
| Job | Rough memory need | Candidate GPUs | Watch for |
|---|---|---|---|
| Serve an 8B LLM | ~16 GB weights at 16-bit, plus KV cache | L40S, RTX 4090 or RTX 5090; A100 for long context or high concurrency | Cache growth with many long prompts |
| Serve a 70B LLM | ~140 GB weights at 16-bit; ~70 GB at 8-bit | 2× H100 or 2× H200 with NVLink; one H200 at 8-bit | Interconnect and quality after quantization |
| LoRA fine-tune on 8B | ~16 GB frozen weights plus activations and adapter state | L40S or A100 80GB; RTX 4090 or 5090 with a quantized base | Sequence length and batch size drive activations |
| SDXL or Flux image generation | Model weights plus resolution- and batch-dependent buffers | RTX 4090, RTX 5090 or L40S | Resolution, batch size and compute rather than bandwidth |
Data center vs consumer GPU: what changes beyond speed
The data center vs consumer GPU choice is about more than benchmark numbers. Data center parts such as the L40S list ECC memory, and the A100, H100 and H200 add NVLink and much larger HBM pools. Those features matter for long training runs, large models and production services where silent errors are costly.
Consumer cards like the RTX 4090 and RTX 5090 can be strong value for single-GPU inference, image generation and experiments that fit in 24 or 32 GB. The limits show up when a job needs more memory, a fast multi-GPU link or a sustained production run. Compare the two generations in RTX 5090 vs RTX 4090.
References: NVIDIA L40S specifications · NVIDIA H100 specifications · NVIDIA GeForce RTX 4090 specifications · NVIDIA GeForce RTX 5090
Step 5: compare price per completed job, then test before you commit
Only now compare prices. Divide the total cost of a run, including setup, data loading and retries, by the number of usable results: accepted images, served tokens within your latency target, or a finished checkpoint. A card that costs twice as much per hour but finishes in a third of the time is cheaper per job.
Before you commit, run a short test on the exact SKU. Load the real model, push realistic concurrency or batch size, and record peak memory with nvidia-smi, throughput and error rate. Current NeuraMesh rates are on GPU prices, and the compute advisor on the home page gives a sized recommendation from a short description of your job.
When you rent through NeuraMesh, you choose the GPU, a Data center plan for production or long runs or a Value plan for experiments and batch work, the GPU count, hours and region. You receive a confirmed quotation, typically within one business day, and nothing is charged until you approve it.
References: NVIDIA System Management Interface
Checklist: how to choose a GPU for AI in ten minutes
This is how to choose a GPU for AI when you only have a few minutes. Name the model, precision, context or resolution, concurrency and deadline. Compute the weight floor and add cache or training state, then keep headroom.
Prefer the GPU with more memory bandwidth for LLM serving once memory fits. Confirm your runtime supports the precision you plan to use on that card. Use one GPU if you can; if not, confirm the interconnect. Price the completed job, not the hour, and run a short test on the exact SKU before a long commitment.
NeuraMesh prices for these GPUs
| GPU | Memory | Data center | Value |
|---|---|---|---|
| RTX 4090 | 24 GB | $0.46 | $0.40 |
| L40S | 48 GB | $1.26 | $0.54 |
| A100 | 80 GB | $1.56 | $0.98 |
| H100 | 80 GB | $2.88 | $2.00 |
| H200 | 141 GB | $4.60 | $2.73 |
Every order is confirmed in a quotation before you pay. See all GPU prices.
Questions readers ask
How much VRAM do I need for AI?
It depends on model size and precision. A rough floor is parameters times bytes per parameter: about 16 GB for an 8B model at 16-bit. Add KV cache for inference or activations and optimizer state for training, then leave headroom. Validate by loading the real model under realistic load.
Is a consumer GPU good enough for AI workloads?
Often, for single-GPU inference, image generation and experiments that fit in 24 or 32 GB. Consumer cards fall short when jobs need more memory, fast multi-GPU links or long production runs. In those cases data center GPUs with larger HBM and NVLink are the safer choice.
What matters more for LLM inference, compute or memory bandwidth?
Once the model fits, memory bandwidth usually limits token generation at small batch sizes, because each token reads most of the weights. Compute matters more at large batch sizes and for training. Measure throughput at your real concurrency instead of choosing from a spec sheet alone.
Should I pick a different GPU for inference vs training?
Frequently, yes. Training needs room for gradients and optimizer state and benefits from high dense compute and fast interconnect. Inference needs room for weights and KV cache and benefits from bandwidth and low-precision support. Many teams train on larger linked GPUs and serve on smaller cards.
How do I know which GPU is cheapest for my job?
Calculate price per completed job: total cost including setup and retries divided by usable results. Run the same short test on each candidate, record throughput and errors, and compare. The lowest hourly rate is cheapest only when the work finishes in comparable time.
Sources and editorial notes
- NVIDIA L40S specifications
- NVIDIA A100 specifications
- NVIDIA H100 specifications
- NVIDIA Hopper architecture in depth
- NVIDIA H200 specifications
- NVIDIA GeForce RTX 4090 specifications
- NVIDIA GeForce RTX 5090
- NVIDIA RTX Blackwell GPU architecture whitepaper
- NVIDIA System Management Interface
Primary documentation reviewed November 18, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.
Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.



