October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk9 min

How to Choose the Right GPU Instance for an AI Workload

Pick a cloud GPU instance by workload, not by name: check GPU memory first, then GPU count and interconnect, host and data path, software, availability, and total cost, and benchmark your real job before committing.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no single best cloud GPU instance. The right one is the smallest, cheapest configuration that fits your model in GPU memory, meets your latency or completion-time target on a real benchmark, and is actually available in your region under a purchasing model your job can tolerate. Provider pages from AWS, Google Cloud and Microsoft Azure describe different workload targets and publish specifications, but none of them gives a comparable speed or cost result for your model, software stack, region and service objective. So the practical method is: define the workload, check GPU memory, match GPU count and interconnect, check the host and data path, confirm software support, check availability and purchasing model, then benchmark and compare total cost.

Step 1: Define the workload before you look at instance names

Instance catalogs are organised by hardware. Your decision should start from the job. Write down:

As an Amazon Associate I earn from qualifying purchases.

  • Type of work: training from scratch, fine-tuning, batch inference, real-time inference, graphics, or scientific computing.
  • Model and data size: parameter count, numeric precision, dataset size, sequence length or image resolution.
  • Target metric: time to finish training, tokens or requests per second, or p95 latency.
  • Runtime and utilization: a 24/7 endpoint and a 10-hour weekly job lead to different purchasing choices.
  • Interruption tolerance: can the job checkpoint and resume, or does a lost node mean lost work?

Provider documentation itself separates these cases. AWS, Google Cloud and Azure each distinguish inference-oriented, single-node training and large distributed training configurations, which is why this first step narrows the field faster than any spec sheet.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step 2: Check GPU memory first

GPU memory is a feasibility limit. If the model, its working state and its runtime overhead do not fit, no amount of extra CPU or host RAM fixes it. Google’s GPU documentation defines GPU memory separately from instance (host) memory, and AWS’s Deep Learning AMI guide advises that “The size of your model should be a factor in choosing an instance.”

#1 Best Overall
ASUS Dual Radeon RX 9060 XT 16GB GDDR6 Gaming Graphics Card
  • Axial-tech fans now feature a smaller fan hub that facilitates longer blades and a barrier ring that increases downward air pressure
  • 2.5-slot design allows for greater build compatibility while maintaining cooling performance
  • 0dB technology lets you enjoy light gaming in relative silence
  • Dual BIOS switch lets you toggle between Quiet and Performance BIOS profiles
  • Dual ball fan bearings last up to twice as long as sleeve bearing designs

What to count

  • Weights: parameters multiplied by bytes per parameter.
  • Training state: gradients and optimizer state, plus activations that grow with batch size and sequence length.
  • Inference state: the key-value cache for LLMs, which grows with context length and concurrent requests, plus any batching buffers.
  • Runtime overhead: framework allocators, CUDA context and fragmentation. Leave headroom rather than planning to fill the card.

Illustrative arithmetic (rules of thumb, not provider figures)

These are common back-of-envelope estimates. Verify them with a short test run on your framework.

Scenario (7-billion-parameter model) Rough estimate What it implies
Inference weights in 16-bit precision (2 bytes per parameter) about 14 GB Weights alone rule out any GPU with 16 GB or less once cache and overhead are added.
Inference weights quantized to 4-bit (about 0.5 byte per parameter) about 3.5 GB Fits small or fractional GPUs, at some accuracy and software-support trade-off.
KV cache for a typical 32-layer, 32-head, 128-dimension attention design in 16-bit, 4,096-token context about 0.5 MB per token, roughly 2 GB per sequence Concurrency multiplies this. Ten simultaneous long sequences can cost as much memory as the weights.
Full fine-tuning with Adam in mixed precision (often cited as about 16 bytes per parameter for weights, gradients and optimizer state) about 112 GB before activations Needs multiple GPUs or memory-saving techniques such as sharding, offloading or parameter-efficient methods.

Models using grouped-query attention have a much smaller KV cache than the example above, so read your model’s configuration rather than copying the number.

Step 3: Match GPU count and interconnect to the workload

A single GPU is the simplest thing to operate. Add GPUs only for a reason: the model does not fit, or a single GPU cannot meet the time or throughput target.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Inference or standard training on one node: a one- to four-GPU shape is often enough. Google positions its A3 High configurations with one, two or four H100 GPUs for inference or standard training that does not need a full eight-GPU synchronized cluster.
  • Tightly coupled large-scale training: the links between GPUs matter as much as the GPUs. Azure’s ND H100 v5 page describes eight H100 GPUs per VM connected by NVLink, with an InfiniBand connection for each GPU for scale-out. Google describes A3 Mega for large-scale training and serving.
  • Independent parallel jobs (for example, many separate inference replicas) do not need fast GPU-to-GPU links. Several smaller instances may be cheaper and more resilient than one large one.

Do not assume doubling the GPUs doubles the useful throughput. AWS states that multi-GPU and distributed training can scale sub-linearly. Communication overhead, topology, collective-library behavior and input-pipeline limits all eat into the gain. Measure scaling at 1, 2, 4 and 8 GPUs on your own job before paying for the large shape.

Rank #2
GIGABYTE GeForce RTX 5070 Ti Gaming OC 16G Graphics Card, 16GB 256-bit GDDR7, PCIe 5.0, WINDFORCE Cooling System, GV-N507TGAMING OC-16GD Video Card
  • Powered by the NVIDIA Blackwell architecture and DLSS 4
  • Powered by GeForce RTX 5070 Ti
  • Integrated with 16GB GDDR7 256bit memory interface
  • PCIe 5.0
  • WINDFORCE cooling system

Step 4: Check host resources and data movement

A fast GPU waiting on a slow data loader is wasted money. Compare the instance’s CPU count, host RAM, storage and network against how your job reads data:

  • Does the input pipeline (decoding, tokenization, augmentation) need many CPU cores per GPU?
  • Is the dataset on local disk, a network file system or object storage, and is it in the same region as the instance?
  • Is local instance storage part of the shape? Treat it as scratch unless you have confirmed its persistence behavior, and write checkpoints to durable storage.
  • For distributed training, is network bandwidth between nodes specified and sufficient?

The provider pages list local storage and network configurations for each family, but none prescribes a universal size for an arbitrary workload. Your pipeline determines the requirement.

Step 5: Confirm software fit

Verify the operating system image, GPU driver, CUDA or equivalent runtime, framework version, any architecture requirements, and the distributed communication libraries for the exact instance type you plan to use. AWS points users to preconfigured Deep Learning AMIs, and its documentation includes a specific compatibility note for EFA and NCCL on P5.4xlarge. That kind of per-instance caveat is why you should read the current setup guide for the shape you pick rather than assuming a working image on one instance works on another.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step 6: Check availability and purchasing model

The instance you want may not exist where your data lives. Google states that GPU devices are offered only in specific zones within some regions. Its guide also says the A3 High 1-, 2- and 4-GPU types require Spot or Flex-start provisioning, so a “small” high-end option may come with an interruption or scheduling model attached.

Rank #3
Sale
GIGABYTE GeForce RTX 5060 WINDFORCE OC 8G Graphics Card, Cooling System, 8GB 128-bit GDDR7, PCIe 5.0, Manufactured by NVIDIA, DisplayPort & HDMI - Video Output Interface, GV-N5060WF2OC-8GD Video Card
  • Powered by the NVIDIA Blackwell architecture and DLSS 4
  • Powered by GeForce RTX 5060
  • Integrated with 8GB GDDR7 128bit memory interface
  • PCIe 5.0
  • WINDFORCE cooling system
Question Why it matters
Is the shape offered in my region and zone? Moving compute away from data adds latency and transfer cost.
Do I need a reservation or a provisioning request? High-end GPU capacity may not be available on demand when you need it.
Can the job survive preemption? Spot or similar interruptible capacity only suits work with checkpoints and automatic restart.
Is the workload steady enough for a commitment? Discounts and commitments pay off only at sustained utilization.

Google’s GPU guide says Spot VMs for fault-tolerant research can save up to 90% versus standard on-demand rates. That is a vendor-published maximum for a specific kind of workload, not a guaranteed discount, and the page does not state a publication year. Do not apply it to latency-sensitive production serving or assume it holds for every GPU and region.

Step 7: Compare total cost, then benchmark

Cost is more than the GPU rate

Google’s pricing page lists GPU prices by region and explains that accelerator-optimized machine pricing includes the GPU cost; it directs users to its pricing calculator for the full instance configuration. Build your estimate from all of these:

  • Compute for the full machine, not only the GPU line item.
  • Persistent storage and snapshots.
  • Network and data transfer, especially across regions or out of the cloud.
  • Idle time between jobs, including time spent loading models and datasets.
  • Discounts, commitments or interruptible pricing, applied only where the workload qualifies.

Prices change often. Re-check rates, region and consumption model on the live provider page when you plan the deployment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Benchmark the real workload

The cheapest hourly rate rarely means the cheapest result. A pricier GPU that finishes in a third of the time can cost less per job. To compare candidates fairly:

Rank #4
Sale
GIGABYTE Radeon RX 9070 XT Gaming OC 16G Graphics Card, PCIe 5.0, 16GB GDDR6, GV-R9070XTGAMING OC-16GD Video Card
  • Powered by Radeon RX 9070 XT
  • WINDFORCE Cooling System
  • Hawk Fan
  • Server-grade Thermal Conductive Gel
  • RGB Lighting
  1. Pick two or three instances that pass the memory check, including one smaller than you first expected.
  2. Use the same model, input data, batch size or context length, framework version and region on each.
  3. Warm up first, then record the metric that matters: training time to a fixed step count or quality target, throughput, or latency at your expected concurrency.
  4. Divide the full hourly cost of the machine by throughput, or multiply by completion time, to get cost per job, per million tokens or per thousand requests.
  5. Watch GPU utilization. Low utilization points to a CPU, storage or network bottleneck, which may mean a different instance family, not a bigger GPU.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choosing for common AI workloads

LLM inference

Memory decides first: weights at your chosen precision plus KV cache for your context length and concurrency. If that fits one GPU, stay on one and scale out with replicas. Move to multi-GPU only when the model or cache does not fit, or when a single GPU cannot hit latency. Quantization can cut memory sharply but should be validated for output quality on your tasks. Because the metric is usually latency or tokens per second at a target concurrency, benchmark with realistic prompts and output lengths, not a single short request.

Small-model and low-volume inference

You may not need a whole GPU. AWS documents fractional G6 configurations based on the L4 GPU, as small as one-eighth of a GPU with 3 GB of GPU memory. AWS describes G6 for graphics-intensive work and machine-learning inference. Fractional shapes only make sense when the model and its cache fit comfortably in that slice.

Fine-tuning

Memory is the usual constraint, since gradients and optimizer state multiply the footprint. Parameter-efficient methods reduce it substantially, which can let a single mid-range GPU do work that would otherwise need a multi-GPU node. Fine-tuning is typically checkpointable, so interruptible capacity is worth evaluating.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Large-scale training

Here GPU count, intra-node links and inter-node network dominate. Look for shapes built for scale-up and scale-out, such as Azure’s ND H100 v5 or Google’s A3 Mega, then verify that your communication library and framework support the instance’s networking. Confirm sub-linear scaling costs before committing to many nodes.

Best Value
Sale
ASUS Prime Radeon RX 9070 XT 16GB GDDR6 OC Edition Gaming Graphics Card
  • Axial-tech fans now feature a smaller fan hub that facilitates longer blades and a barrier ring that increases downward air pressure
  • Phase-change GPU thermal pad helps ensure optimal heat transfer, lowering GPU temperatures for enhanced performance and reliability
  • 2.5-slot design allows for greater build compatibility while maintaining cooling performance
  • Dual-ball fan bearings last up to twice as long as standard conventional sleeve bearings designs
  • 0dB technology lets you enjoy light gaming in relative silence

Graphics, scientific and spatial computing

Some families target more than machine learning. AWS describes G7e for inference, scientific computing and spatial computing. If your job is not pure deep learning, check that the GPU class and drivers support your application.

Representative provider examples

These are positioning examples, not endorsements or performance rankings. Shapes, regional availability and prices change, so confirm current details on each provider’s page.

Provider and family Documented positioning Specification or constraint noted
AWS EC2 G6 (L4) Graphics-intensive work and machine-learning inference Fractional options down to one-eighth of a GPU with 3 GB GPU memory; larger single- and multi-GPU sizes also exist
AWS EC2 G7e Inference, scientific computing and spatial computing Details vary by size; check the live EC2 page
Google Cloud A3 High Inference or standard training not needing a full eight-GPU synchronized cluster One, two or four H100 GPUs; the cited guide requires Spot or Flex-start provisioning for the 1-, 2- and 4-GPU types
Google Cloud A3 Mega Large-scale training and serving Check the guide for current shape details
Azure ND H100 v5 High-end deep-learning training; tightly coupled scale-up and scale-out generative AI and HPC Eight H100 GPUs, NVLink within the VM, InfiniBand connection for each GPU

The sources reviewed publish specifications and positioning, but no independent benchmark of these shapes for any particular model, so the table should not be read as a speed or value comparison.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A scorecard when several instances fit

If more than one option clears the memory check, score each on these axes, which are inferred from the specification and setup details in the providers’ documentation:

  1. Available GPU memory and model fit
  2. Measured performance on your workload
  3. GPU count and interconnect
  4. CPU and host RAM
  5. Local and persistent storage
  6. Network and data movement
  7. Region and capacity
  8. Framework and driver support
  9. Interruption tolerance
  10. Total cost at your expected utilization

Weight the axes by your workload. For single-GPU inference, axes 1, 2 and 10 usually decide it. For distributed training, axes 3, 6 and 8 often matter most.

Quick Recap

Bestseller No. 1
ASUS Dual Radeon RX 9060 XT 16GB GDDR6 Gaming Graphics Card
ASUS Dual Radeon RX 9060 XT 16GB GDDR6 Gaming Graphics Card
0dB technology lets you enjoy light gaming in relative silence; Dual BIOS switch lets you toggle between Quiet and Performance BIOS profiles
$529.00
Bestseller No. 2
GIGABYTE GeForce RTX 5070 Ti Gaming OC 16G Graphics Card, 16GB 256-bit GDDR7, PCIe 5.0, WINDFORCE Cooling System, GV-N507TGAMING OC-16GD Video Card
GIGABYTE GeForce RTX 5070 Ti Gaming OC 16G Graphics Card, 16GB 256-bit GDDR7, PCIe 5.0, WINDFORCE Cooling System, GV-N507TGAMING OC-16GD Video Card
Powered by the NVIDIA Blackwell architecture and DLSS 4; Powered by GeForce RTX 5070 Ti; Integrated with 16GB GDDR7 256bit memory interface
$1,249.99
SaleBestseller No. 3
GIGABYTE GeForce RTX 5060 WINDFORCE OC 8G Graphics Card, Cooling System, 8GB 128-bit GDDR7, PCIe 5.0, Manufactured by NVIDIA, DisplayPort & HDMI - Video Output Interface, GV-N5060WF2OC-8GD Video Card
GIGABYTE GeForce RTX 5060 WINDFORCE OC 8G Graphics Card, Cooling System, 8GB 128-bit GDDR7, PCIe 5.0, Manufactured by NVIDIA, DisplayPort & HDMI - Video Output Interface, GV-N5060WF2OC-8GD Video Card
Powered by the NVIDIA Blackwell architecture and DLSS 4; Powered by GeForce RTX 5060; Integrated with 8GB GDDR7 128bit memory interface
$459.99
SaleBestseller No. 4
GIGABYTE Radeon RX 9070 XT Gaming OC 16G Graphics Card, PCIe 5.0, 16GB GDDR6, GV-R9070XTGAMING OC-16GD Video Card
GIGABYTE Radeon RX 9070 XT Gaming OC 16G Graphics Card, PCIe 5.0, 16GB GDDR6, GV-R9070XTGAMING OC-16GD Video Card
Powered by Radeon RX 9070 XT; WINDFORCE Cooling System; Hawk Fan; Server-grade Thermal Conductive Gel
$814.99
SaleBestseller No. 5
ASUS Prime Radeon RX 9070 XT 16GB GDDR6 OC Edition Gaming Graphics Card
ASUS Prime Radeon RX 9070 XT 16GB GDDR6 OC Edition Gaming Graphics Card
0dB technology lets you enjoy light gaming in relative silence; Dual BIOS switch lets you toggle between Quiet and Performance BIOS profiles
$831.99

Common mistakes

  • Counting host RAM as GPU memory. They are separate pools.
  • Sizing for weights only. Training state, activations and KV cache are what push jobs out of memory.
  • Buying eight GPUs for a job that scales poorly. Test scaling first.
  • Quoting a GPU-only rate as the bill. Add the rest of the machine, storage, network and idle time.
  • Choosing a region by price alone. Data location, zone availability and transfer costs can reverse the saving.
  • Using interruptible capacity without checkpoints. A discount does not help if each preemption restarts the job from zero.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.