<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Peter Gedeon</title>
    <description>The latest articles on DEV Community by Peter Gedeon (@peter_gedeon).</description>
    <link>https://dev.to/peter_gedeon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4138786%2F4421d396-ca39-4189-ac6f-860ba117379a.png</url>
      <title>DEV Community: Peter Gedeon</title>
      <link>https://dev.to/peter_gedeon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/peter_gedeon"/>
    <language>en</language>
    <item>
      <title>How Much VRAM Do You Really Need to Run a 70B LLM?</title>
      <dc:creator>Peter Gedeon</dc:creator>
      <pubDate>Wed, 23 Sep 2026 06:20:26 +0000</pubDate>
      <link>https://dev.to/peter_gedeon/how-much-vram-do-you-really-need-to-run-a-70b-llm-3jn8</link>
      <guid>https://dev.to/peter_gedeon/how-much-vram-do-you-really-need-to-run-a-70b-llm-3jn8</guid>
      <description>&lt;h1&gt;
  
  
  How Much VRAM Do You Really Need for a 70B LLM?
&lt;/h1&gt;

&lt;p&gt;Running a large language model locally sounds simple until you start looking at GPU memory.&lt;/p&gt;

&lt;p&gt;A model has 70 billion parameters. Your GPU has 24 GB, 32 GB, 48 GB, or maybe 80 GB of VRAM.&lt;/p&gt;

&lt;p&gt;So will it fit?&lt;/p&gt;

&lt;p&gt;Unfortunately, &lt;strong&gt;parameter count alone does not answer that question&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;To estimate how much VRAM an LLM actually needs, you need to consider at least four things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Model weights&lt;/li&gt;
&lt;li&gt;Quantization&lt;/li&gt;
&lt;li&gt;KV cache&lt;/li&gt;
&lt;li&gt;Runtime overhead&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And if the model does not fit entirely in VRAM, you also need to think about &lt;strong&gt;CPU offloading and multi-GPU inference&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Let's break it down.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Simple VRAM Calculation
&lt;/h2&gt;

&lt;p&gt;At the most basic level, the memory required for model weights can be estimated with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Model memory ≈ parameters × bits per parameter ÷ 8
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a 70-billion-parameter model:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Precision&lt;/th&gt;
&lt;th&gt;Approx. raw weight memory&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;FP16 / BF16&lt;/td&gt;
&lt;td&gt;140 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;INT8&lt;/td&gt;
&lt;td&gt;70 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6-bit&lt;/td&gt;
&lt;td&gt;52.5 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5-bit&lt;/td&gt;
&lt;td&gt;43.75 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4-bit&lt;/td&gt;
&lt;td&gt;35 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3-bit&lt;/td&gt;
&lt;td&gt;26.25 GB&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These numbers are only a starting point.&lt;/p&gt;

&lt;p&gt;A "4-bit" model does &lt;strong&gt;not necessarily occupy exactly 35 GB in VRAM&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Quantization formats often include scales, metadata, higher-precision tensors, and other overhead. Different quantization methods can therefore produce noticeably different memory requirements even when both are described as "4-bit."&lt;/p&gt;

&lt;p&gt;This is why looking only at the advertised quantization level can be misleading.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Quantization Changes Everything
&lt;/h2&gt;

&lt;p&gt;Without quantization, a 70B model is far beyond the memory capacity of normal consumer GPUs.&lt;/p&gt;

&lt;p&gt;At FP16:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;70 billion × 2 bytes ≈ 140 GB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That means even an 80 GB accelerator cannot hold the raw weights entirely in memory.&lt;/p&gt;

&lt;p&gt;At INT8:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;70 billion × 1 byte ≈ 70 GB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the model becomes feasible on very large accelerator cards, although there still needs to be room for runtime overhead and KV cache.&lt;/p&gt;

&lt;p&gt;At approximately 4-bit:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;70 billion × 0.5 bytes ≈ 35 GB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Suddenly the model becomes practical on configurations with around 48 GB of GPU memory.&lt;/p&gt;

&lt;p&gt;This is why quantization has been so important for local LLM inference.&lt;/p&gt;

&lt;p&gt;Instead of needing several enterprise accelerators, heavily quantized models can sometimes run on workstation GPUs or multiple consumer cards.&lt;/p&gt;

&lt;p&gt;The tradeoff is that increasingly aggressive quantization can affect model quality.&lt;/p&gt;

&lt;p&gt;So the goal should not simply be:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Use the smallest model possible.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A better goal is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Use the highest-quality quantization that fits comfortably within the hardware you have.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  A 24 GB GPU Is Not Enough for a Typical 70B 4-Bit Model
&lt;/h2&gt;

&lt;p&gt;Cards with 24 GB of VRAM are extremely useful for local AI.&lt;/p&gt;

&lt;p&gt;But 24 GB is still substantially below the roughly 35 GB theoretical weight requirement of a 70B model at exactly 4 bits per parameter.&lt;/p&gt;

&lt;p&gt;That means something has to change.&lt;/p&gt;

&lt;p&gt;You can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;use a more aggressive quantization&lt;/li&gt;
&lt;li&gt;move part of the model into system RAM&lt;/li&gt;
&lt;li&gt;split the model across multiple GPUs&lt;/li&gt;
&lt;li&gt;use a smaller model&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CPU offloading is particularly interesting because it allows models much larger than GPU memory to run.&lt;/p&gt;

&lt;p&gt;But capacity and performance are two different problems.&lt;/p&gt;




&lt;h2&gt;
  
  
  CPU Offloading: More Capacity, Less Speed
&lt;/h2&gt;

&lt;p&gt;Suppose you have:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GPU VRAM: 24 GB
System RAM: 64 GB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You potentially have enough total memory to store a quantized 70B model.&lt;/p&gt;

&lt;p&gt;The runtime can keep some layers in GPU memory while storing the remaining layers in normal system RAM.&lt;/p&gt;

&lt;p&gt;That works.&lt;/p&gt;

&lt;p&gt;But system RAM bandwidth is dramatically lower than modern GPU VRAM bandwidth.&lt;/p&gt;

&lt;p&gt;For autoregressive LLM inference, weights may need to be accessed repeatedly as each token is generated.&lt;/p&gt;

&lt;p&gt;If part of those weights must travel between CPU memory and the GPU, token generation can slow considerably.&lt;/p&gt;

&lt;p&gt;So when evaluating hardware for local AI, I separate two questions:&lt;/p&gt;

&lt;h3&gt;
  
  
  Can it run?
&lt;/h3&gt;

&lt;p&gt;and&lt;/p&gt;

&lt;h3&gt;
  
  
  Can it run fast enough to be useful?
&lt;/h3&gt;

&lt;p&gt;Those are not the same thing.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why 32 GB of VRAM Is an Interesting Middle Ground
&lt;/h2&gt;

&lt;p&gt;A 32 GB GPU gets much closer.&lt;/p&gt;

&lt;p&gt;The theoretical size of a 4-bit 70B model is still around:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;35 GB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So a straightforward 4-bit model will generally still exceed 32 GB before accounting for additional memory requirements.&lt;/p&gt;

&lt;p&gt;However, more aggressive quantizations can bring some 70B-class models within range.&lt;/p&gt;

&lt;p&gt;That makes 32 GB cards interesting for users willing to trade some model fidelity for the ability to stay mostly—or entirely—on the GPU.&lt;/p&gt;

&lt;p&gt;But fitting the weights is only part of the problem.&lt;/p&gt;

&lt;p&gt;There is another large consumer of GPU memory:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;context.&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  The Forgotten Part of LLM Memory: KV Cache
&lt;/h1&gt;

&lt;p&gt;When an LLM processes a conversation, it stores information associated with previous tokens in a structure called the &lt;strong&gt;KV cache&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The longer the conversation becomes, the larger that cache becomes.&lt;/p&gt;

&lt;p&gt;So a model that fits comfortably at:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;4,096 tokens
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;may consume considerably more memory at:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;32,768 tokens
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;131,072 tokens
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This creates one of the most common mistakes when estimating GPU requirements.&lt;/p&gt;

&lt;p&gt;Someone downloads a model that appears to require 22 GB of memory and assumes it will fit comfortably on a 24 GB GPU.&lt;/p&gt;

&lt;p&gt;Then the runtime loads:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;model weights&lt;/li&gt;
&lt;li&gt;KV cache&lt;/li&gt;
&lt;li&gt;CUDA buffers&lt;/li&gt;
&lt;li&gt;temporary tensors&lt;/li&gt;
&lt;li&gt;kernels&lt;/li&gt;
&lt;li&gt;graph allocations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;and suddenly there isn't enough memory.&lt;/p&gt;




&lt;h2&gt;
  
  
  Context Length Can Change the Hardware Requirement
&lt;/h2&gt;

&lt;p&gt;Consider two people running the exact same model.&lt;/p&gt;

&lt;h3&gt;
  
  
  User A
&lt;/h3&gt;

&lt;p&gt;Runs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;4K context
1 concurrent request
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  User B
&lt;/h3&gt;

&lt;p&gt;Runs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;128K context
4 concurrent requests
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;They may have dramatically different memory requirements even though they're using the same model.&lt;/p&gt;

&lt;p&gt;This is especially important for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;coding agents&lt;/li&gt;
&lt;li&gt;document analysis&lt;/li&gt;
&lt;li&gt;RAG systems&lt;/li&gt;
&lt;li&gt;long conversations&lt;/li&gt;
&lt;li&gt;autonomous agents&lt;/li&gt;
&lt;li&gt;multi-user inference servers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're buying hardware for AI, &lt;strong&gt;model size should never be considered separately from intended context length&lt;/strong&gt;.&lt;/p&gt;




&lt;h1&gt;
  
  
  Runtime Overhead Matters Too
&lt;/h1&gt;

&lt;p&gt;Even after accounting for weights and KV cache, you should avoid planning a system that uses exactly 100% of available VRAM.&lt;/p&gt;

&lt;p&gt;Inference frameworks need working memory.&lt;/p&gt;

&lt;p&gt;Depending on the runtime, that can include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;temporary tensors&lt;/li&gt;
&lt;li&gt;CUDA kernels&lt;/li&gt;
&lt;li&gt;attention workspace&lt;/li&gt;
&lt;li&gt;graph capture&lt;/li&gt;
&lt;li&gt;memory fragmentation&lt;/li&gt;
&lt;li&gt;quantization buffers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A machine that technically fits a model with 200 MB of VRAM remaining may be much less useful than one with several gigabytes of headroom.&lt;/p&gt;

&lt;p&gt;For that reason, I generally think of GPU memory as a &lt;strong&gt;budget&lt;/strong&gt;, not a hard model-size limit.&lt;/p&gt;




&lt;h1&gt;
  
  
  What About 48 GB?
&lt;/h1&gt;

&lt;p&gt;Around 48 GB of VRAM is where 70B-class local inference becomes significantly easier.&lt;/p&gt;

&lt;p&gt;A 4-bit 70B model with a theoretical weight size around 35 GB leaves substantially more room for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;quantization overhead&lt;/li&gt;
&lt;li&gt;KV cache&lt;/li&gt;
&lt;li&gt;runtime allocations&lt;/li&gt;
&lt;li&gt;longer context&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That does not mean every 70B model and every context configuration will fit.&lt;/p&gt;

&lt;p&gt;But compared with 24 GB or 32 GB, you have far more flexibility.&lt;/p&gt;

&lt;p&gt;This is one reason older professional GPUs with large VRAM capacities can remain interesting for AI even when newer gaming GPUs have considerably more raw compute.&lt;/p&gt;

&lt;p&gt;For LLM inference, sometimes:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;the slower GPU that fits the whole model is more useful than the faster GPU that doesn't.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  Two 24 GB GPUs vs One 48 GB GPU
&lt;/h1&gt;

&lt;p&gt;This is another common question.&lt;/p&gt;

&lt;p&gt;At first glance:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;24 GB + 24 GB = 48 GB
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So two 24 GB GPUs should behave exactly like one 48 GB GPU.&lt;/p&gt;

&lt;p&gt;Not quite.&lt;/p&gt;

&lt;p&gt;A runtime can distribute model layers or tensors across both GPUs, allowing the combined memory capacity to hold a larger model.&lt;/p&gt;

&lt;p&gt;But the GPUs still have physically separate memory pools.&lt;/p&gt;

&lt;p&gt;Communication must occur over:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PCI Express&lt;/li&gt;
&lt;li&gt;NVLink on hardware that supports it&lt;/li&gt;
&lt;li&gt;another interconnect&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The topology and inference framework therefore matter.&lt;/p&gt;

&lt;p&gt;Two GPUs can dramatically expand the models you are able to run, but they do not magically become a single GPU.&lt;/p&gt;

&lt;p&gt;Still, for local AI enthusiasts, used high-VRAM consumer GPUs can sometimes create very interesting price-to-memory configurations.&lt;/p&gt;




&lt;h1&gt;
  
  
  VRAM Isn't the Only GPU Specification That Matters
&lt;/h1&gt;

&lt;p&gt;Once the model fits, another specification becomes increasingly important:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;memory bandwidth.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;LLM token generation frequently involves moving large amounts of model data through memory.&lt;/p&gt;

&lt;p&gt;That means two GPUs with similar compute capability can behave very differently depending on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;memory bandwidth&lt;/li&gt;
&lt;li&gt;memory architecture&lt;/li&gt;
&lt;li&gt;quantization kernels&lt;/li&gt;
&lt;li&gt;software support&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Other important factors include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;supported data types&lt;/li&gt;
&lt;li&gt;Tensor Core capabilities&lt;/li&gt;
&lt;li&gt;PCIe generation&lt;/li&gt;
&lt;li&gt;multi-GPU topology&lt;/li&gt;
&lt;li&gt;CUDA or ROCm support&lt;/li&gt;
&lt;li&gt;inference framework compatibility&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is why comparing AI GPUs purely by TFLOPS is often misleading.&lt;/p&gt;




&lt;h1&gt;
  
  
  A Better Way to Choose a GPU for Local LLMs
&lt;/h1&gt;

&lt;p&gt;Instead of asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What is the fastest GPU?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I recommend asking these questions in order.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. What model do I want to run?
&lt;/h3&gt;

&lt;p&gt;8B?&lt;/p&gt;

&lt;p&gt;32B?&lt;/p&gt;

&lt;p&gt;70B?&lt;/p&gt;

&lt;p&gt;Mixture-of-Experts model?&lt;/p&gt;

&lt;h3&gt;
  
  
  2. What quantization am I willing to use?
&lt;/h3&gt;

&lt;p&gt;FP16?&lt;/p&gt;

&lt;p&gt;FP8?&lt;/p&gt;

&lt;p&gt;INT8?&lt;/p&gt;

&lt;p&gt;Q6?&lt;/p&gt;

&lt;p&gt;Q5?&lt;/p&gt;

&lt;p&gt;Q4?&lt;/p&gt;

&lt;h3&gt;
  
  
  3. What context length do I actually need?
&lt;/h3&gt;

&lt;p&gt;4K?&lt;/p&gt;

&lt;p&gt;32K?&lt;/p&gt;

&lt;p&gt;128K?&lt;/p&gt;

&lt;p&gt;More?&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Can the model fit entirely in VRAM?
&lt;/h3&gt;

&lt;p&gt;If not:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Can it be split across GPUs?&lt;/li&gt;
&lt;li&gt;Can some weights be offloaded to RAM?&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. What performance do I need?
&lt;/h3&gt;

&lt;p&gt;There is a huge difference between:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;2 tokens/sec
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;50 tokens/sec
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Both configurations technically "run" the model.&lt;/p&gt;

&lt;p&gt;Only one may be pleasant to use interactively.&lt;/p&gt;




&lt;h1&gt;
  
  
  Quick Rule of Thumb for a 70B Model
&lt;/h1&gt;

&lt;p&gt;Here is a deliberately simplified way to think about it.&lt;/p&gt;

&lt;h3&gt;
  
  
  24 GB VRAM
&lt;/h3&gt;

&lt;p&gt;A normal 4-bit 70B model will not fit entirely in VRAM.&lt;/p&gt;

&lt;p&gt;Expect aggressive quantization, CPU offloading, or multiple GPUs.&lt;/p&gt;

&lt;h3&gt;
  
  
  32 GB VRAM
&lt;/h3&gt;

&lt;p&gt;Closer, but still below the theoretical size of a standard 4-bit 70B model.&lt;/p&gt;

&lt;p&gt;Aggressive quantization may make some configurations possible.&lt;/p&gt;

&lt;h3&gt;
  
  
  48 GB VRAM
&lt;/h3&gt;

&lt;p&gt;A much more comfortable target for 4-bit 70B-class inference.&lt;/p&gt;

&lt;p&gt;Context length and runtime overhead still matter.&lt;/p&gt;

&lt;h3&gt;
  
  
  80 GB VRAM
&lt;/h3&gt;

&lt;p&gt;Enough for approximately 8-bit weights in theory, although KV cache and runtime overhead must still be accounted for.&lt;/p&gt;

&lt;p&gt;FP16 70B remains far above the capacity of a single 80 GB GPU.&lt;/p&gt;




&lt;h1&gt;
  
  
  Don't Buy a GPU Based on Parameter Count Alone
&lt;/h1&gt;

&lt;p&gt;The most important lesson is that:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;parameters ≠ VRAM requirement
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The real calculation is closer to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Model weights
+ KV cache
+ runtime overhead
+ safety margin
= required GPU memory
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And even after answering that question, you still need to consider memory bandwidth and software support to estimate actual performance.&lt;/p&gt;

&lt;p&gt;I built &lt;a href="https://compareaihardware.com/" rel="noopener noreferrer"&gt;CompareAIHardware&lt;/a&gt; around exactly this problem: comparing GPUs, accelerators, VRAM capacity, memory bandwidth, and model requirements from the perspective of people actually trying to run AI workloads locally.&lt;/p&gt;

&lt;p&gt;The next time you see someone ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Can I run a 70B model on my GPU?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;the correct answer probably isn't simply yes or no.&lt;/p&gt;

&lt;p&gt;The better answer is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Which 70B model, which quantization, which context length, and how much of it needs to stay in VRAM?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;If you're building a local AI machine, those four questions can save you a very expensive GPU purchase.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>gpu</category>
      <category>ram</category>
    </item>
  </channel>
</rss>
