A GeForce RTX 4090 has 24GB of VRAM. Checked against 225 models from the Ollama library, 193 have good/excellent reference fits on the GPU at 4K context and 15 more run with part of the model in system RAM.
The 24 GB desktop RTX 4090 has the same nominal capacity as the desktop RTX 3090. Larger context and higher-bit quantization can use the headroom; this page does not measure a speed advantage.
Architecture
Ada Lovelace
Memory
24 GB GDDR6X
Interface
384-bit
Memory bandwidth
Not verified here
Ollama acceleration by operating system
Windows: vulkan, cuda when the corresponding driver/backend is installed.
Linux: vulkan, cuda when the corresponding driver/backend is installed.
Ollama’s GPU overview specifies driver 550 or newer; its Windows guide specifies 551.61 or newer. New cards can require a later driver/runtime. The reference has no measured driver version.
Confirm the loaded model's processor allocation with ollama ps. Intel Macs use the Ollama CPU path; Apple Silicon uses its integrated Metal GPU.
Editorial examples chosen for their documented tasks, all Q4_K_M at 4,096 tokens. Check the verdict before downloading. These are estimates, not benchmark rankings.
After opening Ollama's prompt, enter /set parameter num_ctx 4096 to match this calculation, within the model's supported maximum. Install a current Ollama release that supports the build. Setup and troubleshooting.
Models that fit — largest memory first — for a GeForce RTX 4090
Largest first — these have good/excellent reference fits with 24GB of VRAM at 4K context. A good fit can include a small estimated CPU offload. These are technical defaults, not a quality ranking.
Showing the 25 largest of 193 models that run well.
How these results were calculated
Each model is evaluated at 4K context against 24GB of VRAM, counting model weights, KV cache, compute buffers and runtime overhead, minus a reserve for the display and operating system. Download sizes come from the official Ollama registry.
Reference scenario: Windows 11, 32GB of system RAM, an illustrative 8-core/16-thread CPU and 500GB free disk. Available RAM, driver version and free VRAM are unknown; the engine applies reserves. Supported GPU drivers/backends are assumed installed. Your own machine may differ — RAM, free disk space and whether an acceleration backend is actually installed all change the answer, which is what the PC scan measures directly.
GeForce RTX 4090 local AI — frequently asked questions
How many AI models can a GeForce RTX 4090 run?
Out of 225 models in the Ollama library, 193 have good/excellent reference fits on a GeForce RTX 4090's 24GB of VRAM at 4K context, and a further 15 run with part of the model offloaded to system RAM, more slowly.
What is the largest AI model a GeForce RTX 4090 can run?
The heaviest build that has a good/excellent reference fit is codebooga:34b-v0.1-q4_K_M (34B parameters), needing about 21.5 GB of memory from a 18.8 GB download.
Is 24GB of VRAM enough for local AI?
24GB is enough for 193 of the 225 builds evaluated here, under the stated reference assumptions. Fit alone does not tell you whether a build is suitable for chat, coding or embeddings. Very large models still need either partial CPU offload or a card with more memory.