Choosing a GPU

Best GPU for computer vision: train and infer

The best GPU for computer vision depends on the job. For inference and video analytics, a T4 or L4 is usually enough: both draw about 70 W and have hardware video decoders. For training YOLO or ViT models on a single node, an RTX 4090, RTX 5090 or L40S works well. For large ViT pretraining or very large datasets, use A100 or H100 nodes.

Security cameras feeding video streams into a compact low-profile GPU card
For inference and video analytics, small efficient GPUs with hardware decoders usually win on cost per camera. AI-generated illustration.

Short answer: the best GPU for computer vision by tier

Most computer vision models are small next to language models. YOLO11 detection models run from 2.6M to 56.9M parameters, so weights rarely decide the GPU. Batch size, image resolution, the data pipeline and, for video, hardware decode decide it instead.

That splits the choice in two. Inference and video analytics reward efficient cards with video engines. Training rewards memory for large batches and enough CPU and storage to feed the GPU.

Short answer: the best GPU for computer vision by tier
Workload tierExampleCandidate GPUsWhy
Image inference APIYOLO or ViT classifier behind an endpointT4, L4Low power, TensorRT support, 16 to 24 GB
Multi-camera video analyticsDetection and tracking on RTSP streamsL4, T4, L40S for dense sitesHardware NVDEC plus inference on one card
Training YOLO or fine-tuning ViTCustom detector on 10K to 1M imagesRTX 4090, RTX 5090, L40S, A1024 to 48 GB for large batches
Large-scale trainingViT pretraining, segmentation on big datasetsA100 80GB, H100, multi-GPUHBM bandwidth, NVLink, MIG for sharing

References: Ultralytics YOLO11 documentation · NVIDIA T4 Tensor Core GPU · NVIDIA L4 Tensor Core GPU

Candidate GPUs for computer vision

These specifications come from NVIDIA product pages. For video, count the decoders: the L4 lists 4 NVDEC and 4 JPEG decoders at 72 W, and NVIDIA says a T4 can decode up to 38 full-HD streams at 70 W. The H100 lists 7 NVDEC and 7 JPEG decoders, useful for very dense pipelines.

For training, bandwidth and memory set the pace. The RTX 5090 offers 32 GB at 1,792 GB/s, the L40S 48 GB at 864 GB/s, and the A100 and H100 add HBM plus MIG, which splits one GPU into up to seven isolated instances for many small inference services.

Candidate GPUs for computer vision
GPUMemoryBandwidthRelevant featuresBest for
T416 GB GDDR6320+ GB/s70 W, INT8, up to 38 full-HD decode streamsLow-cost inference
L424 GB300 GB/s72 W, FP8, 2 NVENC, 4 NVDEC, 4 JPEG, AV1Video analytics, inference
A1024 GB GDDR6600 GB/s150 W, 1 encoder, 2 decodersInference and light training
RTX 409024 GB GDDR6X1,008 GB/sConsumer cardYOLO training on a budget
RTX 509032 GB GDDR71,792 GB/sFP4 Tensor CoresFaster single-GPU training
L40S48 GB GDDR6 ECC864 GB/s3 NVENC, 3 NVDEC, AV1Large batches, dense video sites
A100 80GB80 GB HBM2e2,039 GB/sMIG up to 7, NVLinkMulti-GPU training, shared inference
H100 SXM80 GB HBM33.35 TB/s7 NVDEC, 7 JPEG, MIG up to 7ViT pretraining, large datasets

References: NVIDIA T4 Tensor Core GPU · NVIDIA L4 Tensor Core GPU · NVIDIA A10 Tensor Core GPU · NVIDIA GeForce RTX 4090 specifications · NVIDIA GeForce RTX 5090 · NVIDIA L40S specifications · NVIDIA A100 specifications · NVIDIA H100 specifications

Size a YOLO or ViT training job

Ultralytics publishes model sizes for YOLO11 at 640 pixels, its default training image size. Even YOLO11x has 56.9M parameters, so memory goes to activations, which grow with batch size and image size. Ultralytics can pick the batch for you: batch=-1 targets 60% of GPU memory, and a fraction such as batch=0.70 targets that share. Mixed precision (AMP) is on by default.

For Vision Transformers, the ViT paper splits an image into fixed-size patches and runs a standard Transformer over them. A 224-pixel image with 16-pixel patches makes 196 tokens; doubling the side to 448 makes 784 tokens, and attention cost grows faster than the token count. Resolution is the main sizing lever for ViT.

Feed the GPU. Ultralytics defaults to 8 data loader workers per GPU rank and can cache images in RAM or on disk. JPEG decoding and augmentation often bound CV training, so a fast GPU with a slow CPU sits idle. Check for that with low GPU utilization.

Size a YOLO or ViT training job
YOLO11 modelParams (M)FLOPs (B)COCO mAP 50-95T4 TensorRT10 latency
YOLO11n2.66.539.51.5 ms
YOLO11s9.421.647.02.5 ms
YOLO11m20.168.151.54.7 ms
YOLO11l25.387.253.46.2 ms
YOLO11x56.9195.354.711.3 ms

References: Ultralytics YOLO11 documentation · Ultralytics training mode documentation · Dosovitskiy et al., An Image is Worth 16x16 Words (ViT)

Trays of photo tiles loading into a workstation GPU while a data pipe feeds it
In vision training the data pipeline and batch size, not model weights, usually set GPU memory and speed. AI-generated illustration.

Size inference and video analytics

The latency column above comes from Ultralytics’ own table for an NVIDIA T4 with TensorRT 10 at 640 pixels. It shows why the T4 and L4 remain common for inference: a small detector runs in a few milliseconds. Ultralytics now lists YOLO26 as its latest model, so check the current table before you choose.

Video adds decode, resize and tracking around the model. NVIDIA DeepStream builds that pipeline on the GPU: frames are decoded by NVDEC, batched across streams by nvstreammux, and run through TensorRT. DeepStream’s overview gives no per-GPU stream count, so measure stream density on your own cameras, codec and model.

A rough ceiling helps. At 2.5 ms per frame, YOLO11s could in theory process 400 frames per second, or about 13 cameras at 30 fps. Decode, preprocessing and tracking cut that in practice, which is why the measured number, not the latency table, should set your camera count. Compare the two inference cards in L4 vs T4.

References: Ultralytics YOLO11 documentation · NVIDIA DeepStream SDK overview · NVIDIA T4 Tensor Core GPU · NVIDIA L4 Tensor Core GPU

Cost per result: illustrative numbers

For video analytics, price per camera-hour: the hourly GPU price divided by cameras per GPU. For batch image inference, price per million images: the hourly price divided by measured images per hour, times one million. For training, price per training run: hours to reach your target mAP times the hourly price.

The rows below use assumed prices and assumed densities, not benchmarks. A card with more decoders and memory can cost more per hour and still cost less per camera if it holds more streams. Current NeuraMesh rates are on GPU prices.

Cost per result: illustrative numbers
ScenarioAssumed price per GPU-hourAssumed measured capacityCost per result
Video analytics, small card$0.408 cameras$0.05 per camera-hour
Video analytics, larger card$1.0030 camerasAbout $0.033 per camera-hour
Batch image inference$0.50500 images per secondAbout $0.28 per million images
YOLO training run$0.806 hours to target mAP$4.80 per run

Decision rules

If you serve images or video and the model is under about 60M parameters, start with an L4 or T4 and move up only when measured stream density falls short. If you train detectors, pick the cheapest card where batch size and data loading keep the GPU busy; that is often a 24 to 32 GB consumer card. If you pretrain ViTs or train on millions of high-resolution images, move to A100 or H100 nodes, and read single GPU vs multi-GPU before scaling out.

Decision rules
IfThen
Many low-resolution camera streamsL4 for decoders per watt; T4 for lowest cost
AV1 cameras or AV1 outputL4 or L40S, which list AV1 support
Custom YOLO detector trainingRTX 4090 or RTX 5090; L40S for bigger batches
High-resolution ViT or segmentationL40S, A100 80GB or H100
Many small models on one GPUA100 or H100 with MIG

References: Ultralytics YOLO11 documentation · NVIDIA L4 Tensor Core GPU · NVIDIA T4 Tensor Core GPU

What to test first

For inference, export the model to TensorRT, then run a 30-minute load test with your real cameras or images. Record frames per second per stream, end-to-end latency and GPU memory, and raise the stream count until latency breaks your target. That count, not peak throughput, sets cost per camera-hour.

For training, run one epoch with batch=-1 and note images per second and GPU utilization. If utilization is low, raise workers or cache images before you rent a faster GPU. Then train to your target mAP once on two candidate GPUs and compare cost per run.

References: Ultralytics training mode documentation · NVIDIA DeepStream SDK overview · NVIDIA System Management Interface

Checklist and next step

Split the job into training and inference. For inference, count streams, codecs and resolution, and test on an L4 or T4 first. For training, fix image size and model size, let autobatch pick a batch, and confirm the data loader keeps up. Price every option per camera-hour, per million images or per training run.

Then rent the card that wins. NeuraMesh rents cloud GPUs by the hour, including the L4: choose a GPU, a plan, GPU count, hours and region on rent GPUs, and you receive a confirmed quotation, typically within one business day, with nothing charged until you approve. Unsure which tier fits? Ask the compute advisor.

NeuraMesh prices for these GPUs

NeuraMesh prices per GPU-hour in USD, excluding taxes, as of 2026-11-27. Live prices are on the rental pages.
GPUMemoryData centerValue
RTX 409024 GB$0.46$0.40
L40S48 GB$1.26$0.54
A10080 GB$1.56$0.98
H10080 GB$2.88$2.00

Every order is confirmed in a quotation before you pay. See all GPU prices.

Questions readers ask

What is the best GPU for computer vision inference?

For most models, an L4 or T4. Both draw about 70 W, run TensorRT and include hardware video decoders. The L4 adds 24 GB, FP8 and AV1 support. Measure stream density on your own pipeline before you choose.

How much VRAM do I need to train YOLO?

Less than you might think for the weights: YOLO11x has 56.9M parameters. Memory goes to activations, so it scales with batch size and image size. Set batch=-1 and Ultralytics sizes the batch to 60% of your card’s memory; a smaller card simply trains with a smaller batch.

Is the RTX 4090 good for computer vision training?

Yes for single-GPU detector and classifier training. It has 24 GB at 1,008 GB/s. It lacks NVLink, so multi-GPU scaling is limited to PCIe; for large distributed runs, use A100 or H100 nodes.

How many camera streams can one GPU handle?

It depends on codec, resolution, frame rate and model. NVIDIA says a T4 can decode up to 38 full-HD streams, but inference and tracking add work. Run a load test and raise streams until latency breaks your target.

Do I need an H100 for computer vision?

Rarely for inference. It pays off for ViT pretraining, high-resolution segmentation on large datasets, or packing many small models with MIG. For most detection work, smaller cards cost less per result.

Sources and editorial notes

Primary documentation reviewed November 24, 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.

Read the editorial policy.

Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.