24 GB VRAM: What Local LLMs Actually Fit

24 GB is the 32B tier. A 32B model at 4-bit needs about 20 GB, which leaves roughly 4 GB for context and runtime on a 24 GB card. The same card runs 14B at 8-bit (about 15 GB) or 24B at 4-bit (about 15 GB). It does not fit 32B at 8-bit (about 35 GB) or 70B at 4-bit (about 43 GB). The RTX 4090 and RTX 3090 are the common 24 GB cards; the RTX 5090 moves to 32 GB, and two 24 GB cards give 48 GB for 70B at 4-bit. This guide is for a single 24 GB GPU or a two-card 48 GB machine. Model sizes come from Ollama; the budget is an illustrative example, not a measurement.

24 GB 属于 32B 模型档位。一个 4-bit 量化的 32B 模型大约需要 20 GB 显存,这在 24 GB 显卡上留下了约 4 GB 的空间用于上下文和运行时。同一张显卡可以运行 8-bit 的 14B 模型(约 15 GB)或 4-bit 的 24B 模型(约 15 GB)。它无法容纳 8-bit 的 32B 模型(约 35 GB)或 4-bit 的 70B 模型(约 43 GB)。RTX 4090 和 RTX 3090 是常见的 24 GB 显卡;RTX 5090 提升至 32 GB,而两张 24 GB 显卡可提供 48 GB 显存,足以运行 4-bit 的 70B 模型。本指南适用于单张 24 GB GPU 或双卡 48 GB 机器。模型大小参考自 Ollama;预算仅为说明性示例,而非精确测量。

The 24 GB budget:

ItemSizeNotes
32B weights at 4-bit~20 GBthe GGUF file
KV cache at 16K~2.5 GBgrows with tokens kept
Runtime + OS~0.5 GBdrivers, buffers
Headroom~1 GBtransient spikes

24 GB 预算分配:

项目大小备注
4-bit 32B 权重~20 GBGGUF 文件
16K KV 缓存~2.5 GB随保留的 token 增加
运行时 + 操作系统~0.5 GB驱动程序、缓冲区
预留空间~1 GB瞬时峰值

That is 24 GB, fully committed. At 32K context the cache can grow past the 1 GB of headroom, which is why a model that loads at 4K can slow down or fail at longer context. What fits in 24 GB of VRAM: Llama 3.1 8B, Q4 — 4.9 GB; comfortable, long context possible. Qwen2.5 14B, Q4 — 9 GB; comfortable. Qwen2.5 14B, Q8 — about 15 GB; fits with context. Mistral Small 24B, Q4 — 15 GB; fits with context. Qwen2.5 32B, Q4 — 20 GB; fits, but context budget is tight. These are file sizes, not total memory. Add the KV cache and runtime before you assume a model fits.

这 24 GB 已经完全占满。在 32K 上下文下,缓存可能会超过 1 GB 的预留空间,这就是为什么在 4K 下能加载的模型在更长上下文时会变慢或失败。24 GB 显存能容纳的内容:Llama 3.1 8B (Q4) — 4.9 GB,非常充裕,支持长上下文;Qwen2.5 14B (Q4) — 9 GB,充裕;Qwen2.5 14B (Q8) — 约 15 GB,可容纳上下文;Mistral Small 24B (Q4) — 15 GB,可容纳上下文;Qwen2.5 32B (Q4) — 20 GB,可以容纳,但上下文预算紧张。以上均为文件大小,而非总内存占用。在假设模型能装下之前,请务必加上 KV 缓存和运行时开销。

What does not fit: Qwen2.5 32B at 8-bit is about 35 GB, so it exceeds 24 GB before context. Llama 3.3 70B at 4-bit is about 43 GB, which is almost double the pool. You can squeeze a 70B into 24 GB with 2-bit or 3-bit quantization, but the quality loss is large enough that a 32B at 4-bit is usually the better use of the card. If a runtime reports a CPU/GPU split, you are already offloading and the speed will drop.

无法容纳的内容:8-bit 的 Qwen2.5 32B 大约 35 GB,在计算上下文之前就已经超过了 24 GB。4-bit 的 Llama 3.3 70B 大约 43 GB,几乎是显存池的两倍。你可以通过 2-bit 或 3-bit 量化将 70B 模型塞进 24 GB,但质量损失太大,通常使用 4-bit 的 32B 模型是更好的选择。如果运行时显示 CPU/GPU 分流,说明你已经在进行卸载(offloading),速度将会下降。

16 GB vs 24 GB vs 48 GB: 16 GB is the 14B–24B tier: it runs 14B at 8-bit or 24B at 4-bit, but 32B at 4-bit (20 GB) does not fit. 24 GB adds 32B at 4-bit, which is the main reason to buy it. 48 GB — two 24 GB cards — fits 70B at 4-bit (43 GB), but only just; 32B at 8-bit is more comfortable. The jump from 16 to 24 GB is about the 32B model; the jump from 24 to 48 GB is about 70B.

16 GB vs 24 GB vs 48 GB:16 GB 属于 14B–24B 档位:可以运行 8-bit 的 14B 或 4-bit 的 24B,但无法容纳 4-bit 的 32B(20 GB)。24 GB 的主要购买价值在于能运行 4-bit 的 32B 模型。48 GB(两张 24 GB 显卡)勉强能容纳 4-bit 的 70B 模型(43 GB);运行 8-bit 的 32B 模型则更从容。从 16 GB 升级到 24 GB 是为了 32B 模型;从 24 GB 升级到 48 GB 则是为了 70B 模型。

Which 24 GB card: The RTX 4090 and RTX 3090 both have 24 GB of GDDR6X. The 4090 is faster; the 3090 is often the cheaper used option. The RTX 5090 has 32 GB, which gives more context headroom but still does not fit 70B at 4-bit. A laptop 5090 also has 24 GB, but its power and cooling limits are lower than a desktop card. For 70B at 4-bit, two 24 GB cards are the minimum practical path. That is 48 GB total, and the model has to be split across two devices; the setup is more complex than a single card, and not every runtime handles it equally well.

选哪款 24 GB 显卡:RTX 4090 和 RTX 3090 都配备 24 GB GDDR6X 显存。4090 速度更快;3090 通常是更便宜的二手选择。RTX 5090 拥有 32 GB 显存,提供了更多的上下文空间,但仍然无法容纳 4-bit 的 70B 模型。笔记本版 5090 也有 24 GB,但其功耗和散热限制低于桌面显卡。对于 4-bit 的 70B 模型,两张 24 GB 显卡是最低的实用方案。总计 48 GB,模型必须拆分到两个设备上;这种设置比单卡更复杂,且并非所有运行时都能很好地处理。

Rent or buy at this tier: On 2026-11-29 a 24 GB card rented for $0.27/hour (RTX A5000) to $0.89/hour (RTX 4090) on RunPod. That is $27 to $89 per 100 hours of compute. A used RTX 3090 costs several hundred dollars and then keeps going. At ten hours a week — about 520 hours a year — renting at $0.27 is roughly $140 for the year, which is less than the card; at forty hours a week the arithmetic flips. The storage line matters as much as the rate: a 200 GB network volume at $0.10/GB/month is $20/month, which is 74 hours of A5000 compute. If the model library sits idle most of the month, the fixed line can outweigh the hourly one.

该档位的租赁与购买:截至 2026 年 11 月 29 日,在 RunPod 上租赁 24 GB 显卡的价格从每小时 0.27 美元(RTX A5000)到 0.89 美元(RTX 4090)不等。即每 100 小时计算费用为 27 至 89 美元。一张二手 RTX 3090 售价几百美元,且可以长期使用。如果每周使用 10 小时(一年约 520 小时),以 0.27 美元的价格租赁,一年费用约为 140 美元,低于购买显卡的成本;但如果每周使用 40 小时,计算结果就会反转。存储费用与费率同样重要:200 GB 的网络存储空间按每月每 GB 0.10 美元计算,即每月 20 美元,相当于 74 小时的 A5000 计算时间。如果模型库大部分时间处于闲置状态,固定存储费用可能会超过按小时计算的费用。

How to check instead of guessing: ollama ps shows whether the model is 100% GPU, 100% CPU, or split — the fastest way to see whether you are offloading. nvidia-smi shows actual VRAM use on discrete cards. Measure at the context length you actually use. A 4K test tells you almost nothing about a 32K workflow, and the difference between “it loaded” and “it ran the job” is usually the cache.

如何检查而非猜测:ollama ps 可以显示模型是 100% 在 GPU 上、100% 在 CPU 上还是分流运行——这是查看是否正在进行卸载的最快方法。nvidia-smi 可以显示独立显卡的实际显存占用。请在你实际使用的上下文长度下进行测量。4K 的测试对于 32K 的工作流几乎没有参考价值,而“加载成功”与“成功运行任务”之间的区别通常就在于缓存。

Bottom line: 24 GB is the smallest pool that runs a 32B model at 4-bit with usable context. It is a meaningful step up from 16 GB, which stops at 14B–24B. It is not a 70B card: 70B at 4-bit needs about 43 GB, so 48 GB (two cards) or a 64 GB unified-memory machine is the practical entry. Buy 24 GB for 32B, not for 70B. Model sizes were checked against the Ollama library in November 2026. The budget table is an illustrative example, not a measurement; real memory use depends on runtime, quantization, context and concurrency. Prices are US list prices per GPU-hour captured on 2026-11-29, before tax.

总结:24 GB 是能够以 4-bit 运行 32B 模型并具备可用上下文的最小显存池。相比止步于 14B–24B 的 16 GB 显存,这是一个有意义的提升。它不是运行 70B 模型的显卡:4-bit 的 70B 模型需要约 43 GB,因此 48 GB(双卡)或 64 GB 统一内存的机器才是实用的入门选择。购买 24 GB 是为了 32B 模型,而不是为了 70B 模型。模型大小已于 2026 年 11 月在 Ollama 库中核对。预算表仅为说明性示例,而非精确测量;实际内存占用取决于运行时、量化方式、上下文和并发情况。价格为 2026 年 11 月 29 日记录的美国 GPU 每小时标价,未含税。