<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LibreAI]]></title><description><![CDATA[Open-source AI, beautifully explained. Self-hosted AI you can run yourself: local LLMs, Ollama + Open WebUI setups, RAG pipelines, AI agents, and open-weight mo]]></description><link>https://libreaihub.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6af7852d754f226e6dde5f2e/f7546f8b-9a87-44b4-84c5-3abb0a9fc11e.png</url><title>LibreAI</title><link>https://libreaihub.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sun, 29 Nov 2026 20:25:37 GMT</lastBuildDate><atom:link href="https://libreaihub.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Which Open-Source AI App Runs on Android? OpenDroid vs Local Dream]]></title><description><![CDATA[If you have ever typed "which AI app runs on Android" into a search box, you have probably landed on two names that sound like they do the same thing. They…]]></description><link>https://libreaihub.hashnode.dev/which-open-source-ai-app-runs-on-android-opendroid-vs-local-dream</link><guid isPermaLink="true">https://libreaihub.hashnode.dev/which-open-source-ai-app-runs-on-android-opendroid-vs-local-dream</guid><category><![CDATA[opensourceai]]></category><category><![CDATA[open source]]></category><category><![CDATA[self-hosted]]></category><category><![CDATA[llm]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[Android]]></category><dc:creator><![CDATA[LibreAI]]></dc:creator><pubDate>Sun, 29 Nov 2026 14:12:05 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af7852d754f226e6dde5f2e/fc80acbf-06f6-41d8-871d-007301848ffd.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you have ever typed "which AI app runs on Android" into a search box, you have probably landed on two names that sound like they do the same thing. They don't. OpenDroid and Local Dream are both open-source, both run on Android, and both are free — and after that, they barely overlap.</p>
<p>Here is the short answer, up front: <strong>OpenDroid is an agent — it does jobs on your phone for you. Local Dream is an image studio — it makes pictures on your phone.</strong> If you want your phone to carry out multi-step tasks, you want OpenDroid. If you want to generate images without a cloud subscription, you want Local Dream. If you want a chatbot to talk to, you want neither — that is a different kind of app entirely, and this comparison will save you from installing the wrong one.</p>
<p>I compared the two the way I compare everything in the LibreAI catalogue: what the project actually says it does, what its numbers look like, and what job it does for a real person holding a real phone. No benchmarks I did not run, no specs I could not verify.</p>
<h2>OpenDroid: your phone, doing the jobs itself</h2>
<p><a href="https://github.com/JMAN730/opendroid">OpenDroid</a> (JMAN730/opendroid) is an autonomous Android agent. That word — agent — is doing a lot of work, so let me say what it means here: you give it a goal in plain words, and it breaks the goal into steps, works through them on your phone's screen, checks whether each step worked, and re-plans when something goes wrong. It is not a chat window that answers questions. It is a pair of hands.</p>
<p>It works the way a careful human works, because it uses the same inputs a human uses: it reads the screen (its vision engine analyses screenshots through Android's Accessibility API, Android 11 and up) and it taps, scrolls, and types through accessibility automation. That is also why it does not need root. The listing on LibreAI puts it plainly: grant accessibility, let it see and control the screen, choose your model, give it jobs.</p>
<p>The setup has four steps, and the project's own guide lists them in this order:</p>
<ol>
<li><strong>Install OpenDroid</strong> on your Android device.</li>
<li><strong>Grant accessibility</strong> so it can see and control the screen.</li>
<li><strong>Choose your LLM</strong> — a local model or a remote one.</li>
<li><strong>Give it jobs</strong> — it plans and executes phone tasks.</li>
</ol>
<p>Step 3 is where the privacy decision lives, and it is worth pausing on. A local model keeps everything on the device; a cloud model sends screen context out to the provider. Same app, two very different privacy postures, and the choice is yours at setup. If you go local, check the model size against your phone first — I worked the sizing arithmetic out in detail in the VRAM guide on this publication, and the rule is simple: the weights have to fit in the memory your phone actually has free, after the operating system and the conversation cache take theirs.</p>
<p>To build it from source, the starting point is the repo itself:</p>
<pre><code class="language-bash">git clone https://github.com/JMAN730/opendroid.git
cd opendroid
</code></pre>
<p>Then read the README before anything else — the project documents its own build requirements there (Java and the Android SDK), and those are the project's words, not mine.</p>
<h3>A worked example: the 7 a.m. alarm</h3>
<p>Let me make this concrete with one job, using only capabilities the project itself documents: system actions including scheduling alarms and timers, plus messaging and maps.</p>
<p>Say it is 10 p.m. and you want a 7 a.m. alarm. You tell OpenDroid: "Set an alarm for 7 a.m." Here is what happens underneath, in the project's own terms:</p>
<ol>
<li><strong>Plan.</strong> OpenDroid breaks the job into steps: open the clock app, find the alarm screen, add an alarm, set 07:00, save it.</li>
<li><strong>See.</strong> It reads the screen to find the clock app and the alarm controls — it does not need a special integration with the clock app, because it navigates the same interface you would.</li>
<li><strong>Act.</strong> It taps through the steps: opens the app, adds the alarm, sets the time.</li>
<li><strong>Verify.</strong> It checks the result on screen — is there now a 7 a.m. alarm listed? If a step failed (a dialog popped up, a button was somewhere unexpected), it re-plans instead of silently giving up.</li>
</ol>
<p>One job, four moves, and the important part is step 4: a script would have failed quietly at the unexpected dialog. An agent that verifies its own work is the difference between automation you trust and automation you have to babysit. That same shape — plan, see, act, verify — is what carries over to the bigger jobs the project lists, like sending a WhatsApp message or finding a location in maps. The alarm is the small version; the mechanism is the same.</p>
<h2>Local Dream: a photo studio that lives on your phone</h2>
<p><a href="https://github.com/xororz/local-dream">Local Dream</a> (xororz/local-dream) is a different animal. It runs Stable Diffusion on Android devices — image generation, on the phone, with Snapdragon NPU acceleration, and CPU/GPU inference as well. You type a prompt, the picture is made on your device. No monthly subscription, no credits, no upload queue.</p>
<p>That last part matters more than it sounds. Every cloud image generator is a subscription wearing a friendly interface. Local Dream's whole pitch is that the generation happens where you are. The trade-off is the one that applies to all on-device AI: the model has to fit on your phone, and image models are big. The project does not hide that — its own listing is upfront that generation benefits hugely from capable hardware, while lighter jobs like upscaling are far less demanding.</p>
<p>Getting started follows the same honest shape as any open-source project:</p>
<pre><code class="language-bash">git clone https://github.com/xororz/local-dream.git
cd local-dream
</code></pre>
<p>Then read the README — the exact launch step depends on the build you choose, and the README is the authority.</p>
<h3>A worked example: a poster without a subscription</h3>
<p>Say you need a poster image for a small event and you refuse, on principle, to pay a monthly fee for one picture. The job with Local Dream looks like this:</p>
<ol>
<li><strong>Install the app</strong> from the repo, following the README for your device.</li>
<li><strong>Get a model.</strong> Generation tools need checkpoint files — the model is the part that actually knows what a cat or a concert poster looks like. Pick one, download it to the phone.</li>
<li><strong>Generate.</strong> Describe the image, generate it on-device, and iterate on the prompt until it looks right.</li>
<li><strong>Export.</strong> Save the image and use it — it is your file, made on your hardware.</li>
</ol>
<p>There is no step 5 where a service bills you. There is also no step where your prompt and your image sit on somebody else's server. That is the deal, stated plainly: you pay with storage space and hardware instead of with a subscription and your data. For one poster a month, that is a good deal. For a hundred images a day, you will feel the phone's limits — and at that point a desktop GPU or a cloud service is the honest answer, not a bigger phone.</p>
<h2>The numbers, with their sources</h2>
<p>Here is the comparison table. Every number comes from the projects' GitHub repos, checked 27 November 2026. Star counts are GitHub stars; "updated" is the last code push on GitHub.</p>
<table>
<thead>
<tr>
<th></th>
<th>OpenDroid</th>
<th>Local Dream</th>
</tr>
</thead>
<tbody><tr>
<td>What it is</td>
<td>Autonomous Android agent</td>
<td>Stable Diffusion on Android</td>
</tr>
<tr>
<td>GitHub repo</td>
<td>JMAN730/opendroid</td>
<td>xororz/local-dream</td>
</tr>
<tr>
<td>GitHub stars</td>
<td>1,307</td>
<td>4,171</td>
</tr>
<tr>
<td>Forks</td>
<td>203</td>
<td>309</td>
</tr>
<tr>
<td>Licence</td>
<td>Apache 2.0</td>
<td>CC BY-NC 4.0 (non-commercial)</td>
</tr>
<tr>
<td>Last updated on GitHub</td>
<td>25 November 2026</td>
<td>22 November 2026</td>
</tr>
<tr>
<td>Hardware trick</td>
<td>Accessibility + on-device/remote LLMs</td>
<td>Snapdragon NPU acceleration</td>
</tr>
<tr>
<td>Costs money?</td>
<td>No — open source</td>
<td>No — open source</td>
</tr>
</tbody></table>
<p>Two things are worth saying about these numbers, because star counts get misread constantly.</p>
<p>First, Local Dream has 4,171 stars against OpenDroid's 1,307 — that is 3.19 times as many, a gap of 2,864 stars. That tells you Local Dream is better known. It tells you nothing about which one you need, because they do different jobs. Comparing their stars is like comparing a taxi's rating with a camera's rating: the numbers are real, the comparison is meaningless. Pick by the job, not by the count.</p>
<p>Second, both projects were updated within the last week — OpenDroid on 25 November 2026, Local Dream on 22 November 2026. For small open-source projects, recent updates are a better health signal than the star count: they mean somebody is still answering to the code. And the fork counts (203 and 309) say the same thing in a quieter way — people are not just starring these, they are copying the code to work with it.</p>
<p>One honest note on the licence row: OpenDroid ships under Apache 2.0, stated in its own LICENSE file and README — a permissive licence, but read it before any commercial use all the same. Local Dream ships under CC BY-NC 4.0, stated in its LICENSE file — non-commercial only, so do not use it commercially without the author's permission, and give attribution when you share it. Both licences are in the repos themselves; do not trust a directory listing that says otherwise — LibreAI's own pages still show the old numbers for both projects.</p>
<h2>The trap: two projects share the name</h2>
<p>While checking the search results for this article, I found a real trap worth warning you about. There is a Python package on PyPI called <strong>opendroid-agi</strong> — a framework by a different author, installed with <code>pip install opendroid-agi</code>, built around Claude Code, Cursor, and a terminal interface. It is not the Android app. Same name, different project, different author, different thing entirely.</p>
<p>If you search "OpenDroid" and land on a page talking about pip installs and MCP servers on port 8000, you have found the other one. The Android agent lives at github.com/JMAN730/opendroid — it moved there from yashab-cyber, and the old address redirects to the new one. Check the author name before you clone anything — it takes five seconds and it is the difference between installing an Android agent and installing a Python framework you did not want.</p>
<h2>The decision rule</h2>
<p>So, which one?</p>
<ul>
<li><strong>Pick OpenDroid if</strong> your problem is jobs: things you do on your phone over and over — setting alarms, sending messages, checking places, toggling settings — and you want them done for you. It is an agent. Judge it as one: does it finish the job, and does it check its own work?</li>
<li><strong>Pick Local Dream if</strong> your problem is pictures: you want images made on your phone without a subscription, and you are willing to keep a model on your device and live within your phone's hardware. Judge it as a studio: does the image look right, and did it cost you nothing but storage?</li>
<li><strong>Pick both if</strong> you are building a phone that works for you without the cloud — an agent for the chores and a studio for the pictures. They do not compete; they cover different rooms of the same house.</li>
<li><strong>Pick neither if</strong> what you actually want is a chatbot to talk to. Neither of these is that. OpenDroid does things; Local Dream makes images. A chat app is a third category, and installing either of these hoping for a conversation will only waste your evening.</li>
</ul>
<p>And the privacy rule that covers both: local stays local. The moment you point either tool at a cloud model or a cloud service, your data leaves the phone. That is not a flaw — it is a choice, and it should be a conscious one.</p>
<h2>What this does not do</h2>
<p>No article like this should end without its limits. OpenDroid's power comes from the accessibility permission, and that permission is genuinely powerful — it can see your screen and tap it. Grant it thoughtfully, to a project you have read, not casually to anything with a nice icon. Local Dream's limit is hardware: a phone is not a desktop GPU, and the biggest models will not fit or will run slowly. Both projects are maintained by small teams — updates in November 2026 are encouraging, but they are not a guarantee about next year.</p>
<p>Still: two real tools, both free, both open, both running on a device you already own. A year ago, either of these would have sounded like a demo. Today they are a clone command away.</p>
<p>If you want to look closer, <a href="https://libreaihub.com/repos/opendroid.html">OpenDroid's full listing on LibreAI</a> has the facts, the install steps, and the FAQ — including the privacy trade-off, stated in the project's own words.</p>
]]></content:encoded></item><item><title><![CDATA[How Much VRAM Do You Need to Run LLMs Locally? The Real Numbers, Worked Out]]></title><description><![CDATA[Short answer: an 8-billion-parameter model needs about 5 GB of VRAM at the 4-bit setting most people actually use — so an 8 GB graphics card is the entry…]]></description><link>https://libreaihub.hashnode.dev/how-much-vram-do-you-need-to-run-llms-locally-the-real-numbers-worked-out</link><guid isPermaLink="true">https://libreaihub.hashnode.dev/how-much-vram-do-you-need-to-run-llms-locally-the-real-numbers-worked-out</guid><category><![CDATA[llm]]></category><category><![CDATA[self-hosted]]></category><category><![CDATA[open source]]></category><category><![CDATA[ollama]]></category><category><![CDATA[opensourceai]]></category><dc:creator><![CDATA[LibreAI]]></dc:creator><pubDate>Tue, 17 Nov 2026 14:43:07 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af7852d754f226e6dde5f2e/3900a6d2-4cba-4d18-8912-7a1b9bca7d6f.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Short answer: an 8-billion-parameter model needs about 5 GB of VRAM at the 4-bit setting most people actually use — so an 8 GB graphics card is the entry point. A 14B model needs about 10 GB, a 32B model about 21 GB, and a 70B model about 44 GB. Add 1–2 GB on top for the conversation itself. Everything below shows the arithmetic, so you can check any model yourself before you download a single gigabyte.</strong></p>
<p>I spent an embarrassing amount of time on this question the wrong way round. I had a mid-range card, a long list of models I wanted to try, and a habit of downloading first and asking questions later. The downloads were not small — a 70B model at full precision is 140 GB — and more than once I watched a model crawl at two tokens a second because half of it was living in system RAM, not on the GPU. The fix was not a new graphics card. It was a calculator and five minutes of honesty about what my machine actually had.</p>
<p>This is that five minutes, written out properly.</p>
<h2>The only formula you need</h2>
<p>A language model in memory has three parts, and only one of them is the headline number:</p>
<ol>
<li><strong>The weights</strong> — the model file itself. This is 80–95% of the total in normal chat use.</li>
<li><strong>The KV cache</strong> — the model's working memory of your conversation. It grows with every token you keep in context.</li>
<li><strong>Runtime buffers</strong> — a few hundred megabytes to about a gigabyte, depending on the runtime.</li>
</ol>
<p>The weights follow one formula:</p>
<blockquote>
<p><strong>Weights (GB) ≈ parameters (billions) × bits per weight ÷ 8</strong></p>
</blockquote>
<p>Quantization is what makes home hardware viable at all. Models are born at 16-bit precision — two bytes per weight. Store each weight in about 4 bits instead and the file shrinks roughly fourfold, at a small quality cost. The format you'll meet most often is <strong>Q4_K_M</strong>, the default in Ollama and llama.cpp: about 4.9 bits per weight once the scaling factors are counted, not a clean 4. That's the column to shop by.</p>
<h2>Worked example: Llama 3.1 8B, end to end</h2>
<p>Let's do this on one real model, with real numbers, so you can see every step instead of trusting a table.</p>
<p>Llama 3.1 8B has <strong>8,030,261,248 parameters</strong> (Hugging Face model card, checked 13 Nov 2026). Its Q4_K_M file on Hugging Face — the bartowski GGUF build — is <strong>4.92 GB</strong>, and Ollama lists <code>llama3.1:8b</code> at <strong>4.9 GB</strong>. The formula agrees:</p>
<blockquote>
<p>8.03 billion × 4.90 bits ÷ 8 = <strong>4.92 GB</strong></p>
</blockquote>
<p>That's the weights. Now the conversation. Llama 3.1 8B has 32 layers, 8 key-value heads, and 128-dimensional heads, so each token of context costs:</p>
<blockquote>
<p>32 × 8 × 128 × 2 (keys and values) × 2 bytes = <strong>131,072 bytes per token — about 0.13 MB</strong></p>
</blockquote>
<p>An 8,000-token conversation therefore adds about <strong>1.07 GB</strong> of KV cache. A 32,000-token context adds about <strong>4.3 GB</strong>. Add a few hundred megabytes of runtime buffers, and the honest total for an 8B model at Q4_K_M with an 8K context is:</p>
<blockquote>
<p>4.9 GB (weights) + 1.1 GB (cache) + ~0.3 GB (buffers) ≈ <strong>6.3 GB</strong></p>
</blockquote>
<p>On an 8 GB card — say an RTX 4060 — that fits, with room to spare. The same model at Q8_0 is an 8.5 GB file, which does <em>not</em> fit fully on that card: the runtime quietly offloads some layers to system RAM, and generation slows noticeably. Same model, same card, different quant — completely different experience. That is the whole decision this article exists for: <strong>pick the quant that fits, not the biggest file.</strong></p>
<p>The llama.cpp project's own quant table tells the same story in different units (GiB, checked 13 Nov 2026): Llama 3.1 8B is 14.96 GiB at full 16-bit precision, 7.95 GiB at Q8_0, and 4.58 GiB at Q4_K_M. Whichever unit you use, the pattern holds — quantization is the difference between a model that runs and a model that doesn't.</p>
<h2>The size table: every common model, three quants</h2>
<p>These are published GGUF file sizes for representative models (Llama, Qwen, Mistral, Gemma families), cross-checked against the Ollama library and the LibreAI VRAM guide on 13 Nov 2026. Weights only — add the KV-cache headroom from the previous section before comparing against your card.</p>
<table>
<thead>
<tr>
<th>Model size</th>
<th>FP16 (full)</th>
<th>Q8_0 (8-bit)</th>
<th>Q4_K_M (4-bit)</th>
</tr>
</thead>
<tbody><tr>
<td>~1B</td>
<td>2.0 GB</td>
<td>1.1 GB</td>
<td>0.8 GB</td>
</tr>
<tr>
<td>~3B</td>
<td>6.4 GB</td>
<td>3.4 GB</td>
<td>2.0 GB</td>
</tr>
<tr>
<td>~8B</td>
<td>16 GB</td>
<td>8.5 GB</td>
<td>4.9 GB</td>
</tr>
<tr>
<td>~14B</td>
<td>30 GB</td>
<td>16 GB</td>
<td>9.0 GB</td>
</tr>
<tr>
<td>~32B</td>
<td>65 GB</td>
<td>35 GB</td>
<td>20 GB</td>
</tr>
<tr>
<td>~70B</td>
<td>141 GB</td>
<td>75 GB</td>
<td>43 GB</td>
</tr>
<tr>
<td>gpt-oss-20b (MoE)</td>
<td>—</td>
<td>—</td>
<td>≈14 GB (native MXFP4)</td>
</tr>
<tr>
<td>gpt-oss-120b (MoE)</td>
<td>—</td>
<td>—</td>
<td>≈65 GB (native MXFP4)</td>
</tr>
</tbody></table>
<p>Two things worth noticing that most sizing tables skip. First, the 70B row: the Llama 3.3 70B Q4_K_M file is 42.52 GB on Hugging Face, so "about 43 GB" is a measured file, not a rounded guess. Second, mixture-of-experts models like gpt-oss store <em>all</em> of their experts, so the full parameter count sets the file size even though only part of the model is active for each token. gpt-oss-20b was deliberately built to fit a 16 GB card; gpt-oss-120b needs an 80 GB-class GPU or a high-memory Mac. The parameter count alone would have misled you on both.</p>
<p>A quick rule of thumb if you don't want the table: at Q4_K_M, budget roughly <strong>0.6 GB of VRAM per billion parameters</strong> for the weights, then add 1–2 GB for context and overhead. 8B ≈ 5 GB, 14B ≈ 9 GB, 32B ≈ 20 GB, 70B ≈ 43 GB. It works because Q4_K_M really does average about 0.6 bytes per parameter.</p>
<h2>What fits on your graphics card?</h2>
<p>"Fits" here means the whole model stays on the GPU with a normal chat context — the fast configuration. Cards named are examples of each tier.</p>
<table>
<thead>
<tr>
<th>Your VRAM</th>
<th>Largest comfortable full-GPU setup</th>
</tr>
</thead>
<tbody><tr>
<td>4–6 GB</td>
<td>A 3B model at Q4_K_M; an 8B model only with layers offloaded to RAM</td>
</tr>
<tr>
<td>8 GB</td>
<td>An 8B model at Q4_K_M — the entry-level sweet spot</td>
</tr>
<tr>
<td>12 GB</td>
<td>An 8B model at Q8_0, or a 14B model at Q4_K_M</td>
</tr>
<tr>
<td>16 GB</td>
<td>A 14B model at Q8_0, or gpt-oss-20b at its native MXFP4</td>
</tr>
<tr>
<td>24 GB</td>
<td>A 32B model at Q4_K_M, with room for a long context</td>
</tr>
<tr>
<td>32 GB</td>
<td>A 32B model at Q8_0, or a 70B model at a low 3-bit-class quant</td>
</tr>
<tr>
<td>48 GB</td>
<td>A 70B model at Q4_K_M, fully on the GPU</td>
</tr>
<tr>
<td>80 GB</td>
<td>gpt-oss-120b, or a 70B model at Q8_0</td>
</tr>
</tbody></table>
<p>If you're buying a card specifically for local LLMs, buy for the <em>largest model you actually intend to run</em>, not the card with the best benchmark score. An RTX 4060 with 8 GB will run an 8B model happily for years; it will never run a 70B model well, no matter how fast its cores are. VRAM is a door: either the model fits through it or it doesn't.</p>
<h2>The trap nobody warns you about: the context window</h2>
<p>Here's the mistake I made that this article is really about. I checked that the model file fit my card, downloaded it, started a long conversation — and watched it slow to a crawl halfway through a document.</p>
<p>The problem was the KV cache, and the specific trap is that <strong>Ollama sets your default context length based on your VRAM</strong>: 4K tokens on cards below 24 GB, 32K from 24 to 48 GB, and 256K above that (Ollama context-length documentation, checked 13 Nov 2026). On an 8 GB card you get a 4K default. That's fine for chat. It is not fine for pasting a 30-page document and asking questions about it — and nothing in the download screen tells you that.</p>
<p>The practical rule, from the LibreAI guide: add 1–2 GB on top of the weights for normal chat, and 4 GB or more if you plan to feed the model long documents. If you do long-document work on an 8 GB card, drop one model size or one quant level to buy the cache room back. A 3B model with a 32K context will answer your document questions; an 8B model that spills to RAM will answer them eventually, at walking pace.</p>
<p>Most runtimes can also quantize the KV cache itself, halving or quartering it at a small quality cost — worth knowing about if you're regularly bumping against the ceiling.</p>
<h2>What "spilling to RAM" actually feels like</h2>
<p>This is the part the tier tables never convey, and it's the reason fitting matters more than raw speed.</p>
<p>Generating one token means reading the model's entire weights from memory, once per token. So your speed ceiling is roughly <strong>memory bandwidth ÷ model size</strong>. A 10 GB model on an RTX 3090 — 936 GB/s of bandwidth, per NVIDIA's spec page — tops out around 90 tokens a second. That's the ceiling; real runs land below it, but the ratio is what matters.</p>
<p>When the model doesn't fit and layers spill to system RAM, the weights travel over PCIe 4.0 at about 31.5 GB/s, or through DDR5 at about 50 GB/s — roughly a twentieth of the GPU's bandwidth. One measured comparison (<code>dev.to</code>, "VRAM for local LLMs", 2026) put it bluntly: the same setup generated 42.5 tokens per second with the model fully on the GPU, and 3.8 tokens per second with a fifth of it spilled to RAM. A 91% speed loss from a 20% spill.</p>
<p>That's why "it fits" is a yes-or-no question, not a sliding scale. A model that mostly fits is a model that mostly doesn't work.</p>
<h2>The check-before-you-download routine</h2>
<p>Two minutes, before you spend twenty downloading:</p>
<ol>
<li><strong>Check the tag, not the model name.</strong> On Ollama's library page, each tag lists its download size — that's the weights, in GB. <code>qwen3:8b</code> is 5.2 GB, <code>qwen3:14b</code> is 9.3 GB, <code>qwen3:32b</code> is 20 GB (Ollama library, checked 13 Nov 2026). The download size is the floor, not the requirement: add your context headroom on top.</li>
<li><strong>Check your card.</strong> On NVIDIA, <code>nvidia-smi --query-gpu=name,memory.total,memory.used --format=csv</code> shows what you have and what's already used — your desktop and browser are already eating some of it.</li>
<li><strong>Check what's actually loaded.</strong> After starting a model, <code>ollama ps</code> shows the model, its size in memory, and how much context it's holding. If the number it shows is bigger than your VRAM, something is spilling, and now you know why it's slow.</li>
<li><strong>Do the arithmetic once.</strong> Parameters × bits per weight ÷ 8, plus 1–2 GB. If the answer is bigger than your card, download the smaller quant. The download you <em>don't</em> start is the fastest one.</li>
</ol>
<h2>No graphics card? The CPU-only path still works</h2>
<p>Everything in the size table reads the same with system RAM in place of VRAM: the model file lives in RAM instead. An 8B model at Q4_K_M needs the same ~5 GB of RAM for its weights, plus room for the operating system — 16 GB of total RAM is workable, 32 GB is comfortable and also covers a 14B model at Q4_K_M.</p>
<p>The honest trade is speed: expect single-digit tokens per second from a typical desktop CPU on an 8B model. That's fine for summaries, batch jobs, and overnight work, and sluggish for live chat. Speed on CPU is set by memory bandwidth rather than core count, so a newer CPU with fast RAM helps more than extra cores. And if you have a small GPU and plenty of RAM, llama.cpp and KoboldCpp can split the model — part on the GPU, the rest in RAM — which is a reasonable middle ground.</p>
<h2>Apple Silicon: one pool of memory</h2>
<p>Macs with M-series chips share a single memory pool between CPU and GPU, so the VRAM column becomes your Mac's total memory minus what macOS and your apps need — leave roughly a quarter free. In practice: a 16 GB Mac runs an 8B model at Q4_K_M well and a 14B at Q4_K_M tightly; 32 GB runs a 32B model at Q4_K_M; 64 GB runs a 70B model at Q4_K_M; and a 128 GB Mac is the configuration that holds gpt-oss-120b. Desktop apps like Jan and GPT4All make this a two-click setup on macOS.</p>
<p>This is also why unified memory is the quiet bargain in local AI: a Mac's "RAM" number <em>is</em> its VRAM number, and 64 GB of unified memory buys what would take two 24 GB graphics cards on a desktop.</p>
<h2>Which runtime should you use?</h2>
<p>Once the size is settled, the runtime decides how the model gets loaded. The usual starting points: <strong>llama.cpp</strong> (the GGUF engine most tools build on, with the finest control over offloading and cache), <strong>Ollama</strong> (one-command models with an API), <strong>Jan</strong> and <strong>GPT4All</strong> (desktop apps, CPU-friendly), <strong>KoboldCpp</strong> (a single-file runner built for hybrid GPU/RAM setups), <strong>text-generation-webui</strong> (a full web interface), <strong>WebLLM</strong> (runs in the browser over WebGPU, within the browser's memory limits), and <strong>vLLM</strong> (for serving many users at once — a different trade, throughput over home fitting). LibreAI's Local LLM category covers the field with a page per tool, each stating its own documented requirements — worth a look before you commit to one runtime.</p>
<h2>The decision, in one paragraph</h2>
<p>Start from the model you want, not the card you have. Take its parameter count, multiply by the bits per weight, divide by eight — that's the file. Add 1–2 GB for the conversation, 4 GB or more if you feed it long documents. If the total fits your VRAM, download it and enjoy it. If it doesn't, go one quant down or one size down; a smaller model running fully on the GPU will always feel better than a bigger model crawling through system RAM. And before you buy a card for this, check the tag size on the model's own page — the number that matters is printed there, free, before you spend anything.</p>
<hr />
<p><em>All figures checked 13 Nov 2026 against the sources named in the text. The full size table, tier table, and CPU/Apple Silicon sections live in the LibreAI VRAM guide: <a href="https://libreaihub.com/vram-guide/">How Much VRAM Do You Need to Run a Local LLM?</a> — and the file sizes quoted for Llama 3.1 8B are the published GGUF builds on <a href="https://huggingface.co/tensorblock/Llama-3.1-8B-GGUF">Hugging Face</a>. If a figure here disagrees with a project's own documentation, the project's documentation wins — tell us and we'll fix it.</em></p>
]]></content:encoded></item></channel></rss>