BestLLMfor Your hardware. Your LLM. Your call.
◆ The kits◆ Kits APIOpen data Find my LLM
Guide · 2026-09-20

What Is CUDA? NVIDIA's GPU Computing Platform, Explained for AI Users

◆ Local AI — Your private ChatGPT, free, on your own machine, in an hour · $24 · or all kits $49 →

CUDA is the software layer that lets programs use an NVIDIA GPU for computation. What it is, what you actually need to install, and how it compares with ROCm, Metal and Vulkan.

By Mohamed Meguedmi·Last updated 2026-09-20·8 min read·Tested on Windows, macOS, Linux

Key takeaways

  • CUDA is NVIDIA's platform for running general-purpose computation on its GPUs: a programming model, a compiler, and a stack of math libraries. It launched in 2007 and only works on NVIDIA hardware.
  • Nearly all AI software targets CUDA first, which is why NVIDIA cards are the path of least friction for local models.
  • To run local AI apps such as Ollama or LM Studio you need only a recent NVIDIA driver. The CUDA Toolkit is for compiling software.
  • The "CUDA Version" shown by nvidia-smi is the highest version your driver supports, not what is installed.
  • Each GPU generation has a compute capability number. Software drops old ones over time, which is what eventually retires a card for AI work.

CUDA in plain English

The Local AI Kit

Your private ChatGPT, free, on your own machine in an hour — LM Studio, Ollama, Open WebUI, your documents, no cloud.

  • Lifetime online access
  • PDF + files
  • 30-day refund

A GPU contains thousands of small processors built to apply the same operation to many pieces of data at once. Originally the only way to use them was through graphics APIs: you had to disguise a calculation as a picture. CUDA, short for Compute Unified Device Architecture, removed the disguise. It lets a programmer write ordinary C, C++ or Python-callable code that runs directly on those processors.

In practice "CUDA" refers to four things at once: the programming model, the nvcc compiler, the runtime built into the driver, and a set of tuned libraries such as cuBLAS for linear algebra and cuDNN for neural-network primitives. Frameworks like PyTorch sit on top of those libraries, and AI applications sit on top of the frameworks. When a tool says it "supports CUDA," it means its heavy math ends up in those NVIDIA libraries. NVIDIA's own overview is at developer.nvidia.com/cuda-toolkit.

What are CUDA cores?

"CUDA cores" is NVIDIA's name for the parallel shader processors in a GPU. An RTX 4060 has 3,072; an RTX 5090 has 21,760. More cores means more arithmetic per second, which matters for image generation, training and the prompt-reading phase of a language model.

It matters much less for the part of LLM use people feel most, token generation. There the limit is how fast weights can be read from memory, not how fast they can be multiplied. A card with fewer cores and more, faster VRAM will often generate text faster than the reverse. That argument is laid out in why VRAM matters more than TFLOPS, and the memory side in what is VRAM.

Driver, runtime, toolkit: what do you actually need?

ComponentWhat it isWho needs it
NVIDIA driverLets the OS talk to the GPU; includes the CUDA driver runtimeEveryone with an NVIDIA card
CUDA runtime librariescuBLAS, cuDNN and friendsBundled inside most apps and inside PyTorch wheels; you rarely install them yourself
CUDA ToolkitCompiler (nvcc), headers, profilersOnly people compiling CUDA software, e.g. building llama.cpp from source

So for Ollama, LM Studio, ComfyUI Desktop or a pip install torch: update the driver and you are done. Installing the multi-gigabyte Toolkit "just in case" is the most common unnecessary step in local-AI tutorials. If you do need to compile, our guides cover building llama.cpp from source and the Blackwell-specific build.

Checking your versions

nvidia-smi        # driver version, and the MAXIMUM CUDA version it supports
nvcc --version    # the Toolkit version, if one is installed

These two numbers legitimately differ, and the first one confuses almost everyone. nvidia-smi reporting "CUDA Version: 13.0" means your driver can run software built for CUDA up to 13.0. It does not mean the Toolkit is installed, and software built against an older CUDA version still runs fine on a newer driver.

Compute capability by GPU generation

Every NVIDIA GPU has a compute capability number that identifies its architecture. Software is compiled for specific capabilities, and projects periodically drop the oldest ones. This, more than raw speed, is what ends a card's useful life for AI.

GenerationExample cards (BestLLMfor hardware database)Compute capabilityStatus for local AI in 2026
PascalGTX 1060, 1070, 1080 Ti6.1Runs llama.cpp-based tools; no FP16 acceleration; dropped by some newer frameworks
TuringGTX 1660, RTX 2060–2080 Ti7.5Minimum for vLLM (needs 7.0+); broadly supported
AmpereRTX 3050–3090 Ti8.6Fully supported; adds BF16
Ada LovelaceRTX 4060–40908.9Fully supported; adds FP8
BlackwellRTX 5050–509012.0Fully supported on recent software; older builds must be updated or recompiled; adds FP4

The Blackwell row explains a wave of "my new RTX 50 card is not detected" reports: binaries compiled before that architecture existed contain no code for capability 12.0. The fix is a newer release of the tool, or a PyTorch build made for a recent CUDA version.

CUDA vs ROCm vs Metal vs Vulkan

PlatformVendorHardwareState for local LLMs
CUDANVIDIANVIDIA GPUsThe reference target; everything supports it first
ROCmAMDRecent Radeon and InstinctGood on Linux for supported cards; narrower card list; see best LLMs for Radeon with ROCm
MetalAppleApple SiliconExcellent through llama.cpp and MLX; see MLX on Apple Silicon
VulkanKhronos (open standard)Almost any GPU, including integratedWorks nearly everywhere in llama.cpp-based tools; usually slower than the vendor's native stack
SYCL / oneAPIIntelIntel Arc and integratedFunctional, smallest ecosystem

CUDA's lead is not that the alternatives cannot do the math. It is nearly two decades of libraries, tooling and tested code paths. For inference with mainstream tools that gap has narrowed a great deal: llama.cpp runs on all five. For training, fine-tuning and brand-new research code, CUDA remains the only path that works on day one.

What this means when you buy

  • If you want everything to work without troubleshooting, buy NVIDIA, and prioritize VRAM capacity over core count.
  • If you mainly run GGUF models through Ollama or LM Studio, a Mac or a recent Radeon on Linux is a legitimate choice; you give up little.
  • If you plan to fine-tune, run vLLM, or follow new research repositories, the lack of CUDA will cost you time every week.
  • Avoid cards below compute capability 7.5 for a new purchase, whatever the price.

To see which models fit a given card, use the VRAM calculator. The hardware list behind this page is available through the BestLLMfor public API (CC BY 4.0) and our open-source MCP server. For background on the platform's history, see the Wikipedia entry on CUDA, and for the per-GPU capability list, NVIDIA's CUDA GPUs page.

Frequently asked questions

What does CUDA stand for?

Compute Unified Device Architecture. NVIDIA introduced it in 2007 so that GPUs could be programmed for general computation, not only graphics.

Do I need to install CUDA to run local AI models?

Usually not. Ollama, LM Studio and similar apps bundle the CUDA libraries they need; you only need an up-to-date NVIDIA driver. The full CUDA Toolkit is required only when compiling software from source.

Does CUDA work on AMD or Intel GPUs?

No. CUDA runs only on NVIDIA hardware. AMD's equivalent is ROCm, Apple's is Metal, Intel's is oneAPI, and Vulkan is a cross-vendor option supported by llama.cpp-based tools.

Why does nvidia-smi show a different CUDA version than nvcc?

nvidia-smi reports the highest CUDA version the installed driver can support. nvcc reports the version of the Toolkit you installed, if any. They are independent, and a newer driver runs software built for older CUDA versions.

Are more CUDA cores better for LLMs?

They speed up prompt processing and image generation. Token generation is limited by memory bandwidth and capacity instead, so for language models VRAM size and speed matter more than core count.

What is CUDA compute capability?

A version number identifying a GPU's architecture, such as 8.6 for RTX 30, 8.9 for RTX 40 and 12.0 for RTX 50. Software is compiled for specific capabilities, so very old cards eventually lose support and very new cards need recent builds.

Recommended hardware

A current option for local AI: GMKtec EVO-X2 64GB / 1TB (Ryzen AI Max+ 395). Match memory to your model and software. A mini PC is a complete PC alternative; Mac/MLX and CUDA instructions require compatible hardware.

Amazon Check GMKtec EVO-X2 64GB / 1TB (Ryzen AI Max+ 395) price →

As an Amazon Associate, BestLLMfor earns from qualifying purchases, at no extra cost to you. It does not influence our independent rankings.

Did this guide help?

Found an error or have feedback? Let us know — it helps everyone who reads this guide.