<?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: Rishav Mandal</title>
    <description>The latest articles on DEV Community by Rishav Mandal (@dev_rishav).</description>
    <link>https://dev.to/dev_rishav</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%2F3713289%2Fcc429575-fe41-4133-84fd-add8cdef0a5a.jpg</url>
      <title>DEV Community: Rishav Mandal</title>
      <link>https://dev.to/dev_rishav</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dev_rishav"/>
    <language>en</language>
    <item>
      <title>SPF, DKIM and DMARC Explained Without the Jargon</title>
      <dc:creator>Rishav Mandal</dc:creator>
      <pubDate>Mon, 30 Nov 2026 19:54:32 +0000</pubDate>
      <link>https://dev.to/dev_rishav/spf-dkim-and-dmarc-explained-without-the-jargon-amg</link>
      <guid>https://dev.to/dev_rishav/spf-dkim-and-dmarc-explained-without-the-jargon-amg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SPF, DKIM and DMARC&lt;/strong&gt; are DNS records that prove your email really comes from your domain.&lt;/li&gt;
&lt;li&gt;SPF lists allowed senders, DKIM signs messages so tampering is detectable, and DMARC tells receivers what to do when checks fail.&lt;/li&gt;
&lt;li&gt;Publish one SPF record, enable DKIM for every sender, start DMARC at p=none, read the reports, then tighten to quarantine or reject.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You built a beautiful email template. The signup flow works. Then a new user writes in: "I never got the verification email." It's sitting in their spam folder, or it never arrived at all.&lt;/p&gt;

&lt;p&gt;Content and design rarely cause this. The usual culprit is that your domain hasn't proved the email really came from you. Since 2024, the largest mailbox providers have required bulk senders to authenticate their mail, and unauthenticated messages from new domains are increasingly treated with suspicion even at low volume.&lt;/p&gt;

&lt;p&gt;Three DNS records fix most of it: SPF, DKIM and DMARC. Here's what each one does, in plain words.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: email has no built-in identity
&lt;/h2&gt;

&lt;p&gt;The email protocol was designed in an era of trust. Anyone can send a message claiming to be from &lt;code&gt;support@yourbank.com&lt;/code&gt;. Without extra checks, the receiving server has no way to know whether it's genuine.&lt;/p&gt;

&lt;p&gt;SPF, DKIM and DMARC are three layers added later to answer one question: &lt;em&gt;is this sender allowed to send mail for this domain, and was the message tampered with?&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  SPF: the guest list
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Sender Policy Framework&lt;/strong&gt; is a list, published in your DNS, of the servers allowed to send email for your domain.&lt;/p&gt;

&lt;p&gt;When Gmail receives a message claiming to be from your domain, it looks up your SPF record and checks whether the sending server is on the list.&lt;/p&gt;

&lt;p&gt;A typical SPF record is a TXT record on your root domain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v=spf1 include:_spf.example-mailhost.com ~all
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;v=spf1&lt;/code&gt; marks it as an SPF record.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;include:&lt;/code&gt; adds your email provider's servers to the guest list.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;~all&lt;/code&gt; says "anyone else is suspicious" (a soft fail). &lt;code&gt;-all&lt;/code&gt; is the strict version.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two common mistakes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Two SPF records.&lt;/strong&gt; You may only have one. If you use several services (a mailbox provider plus a newsletter tool), merge them into one record with several &lt;code&gt;include:&lt;/code&gt; entries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Too many lookups.&lt;/strong&gt; SPF allows at most ten DNS lookups. Each &lt;code&gt;include&lt;/code&gt; can contain more, so a long list can quietly exceed the limit and break validation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  DKIM: the tamper-proof seal
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;DomainKeys Identified Mail&lt;/strong&gt; adds a cryptographic signature to every outgoing email. Your mail provider signs messages with a private key; you publish the matching public key in DNS.&lt;/p&gt;

&lt;p&gt;The receiving server fetches the public key and checks the signature. If it matches, two things are proven: the message was signed by someone authorised for your domain, and the content wasn't altered in transit.&lt;/p&gt;

&lt;p&gt;You usually don't write DKIM records by hand. Your email provider generates the key and gives you a TXT or CNAME record to add, at a name like &lt;code&gt;selector._domainkey.yourdomain.com&lt;/code&gt;. Many hosting panels have a one-click "enable DKIM" option that publishes it for you.&lt;/p&gt;

&lt;h2&gt;
  
  
  DMARC: the policy and the reporting
&lt;/h2&gt;

&lt;p&gt;SPF and DKIM produce results, but they don't tell the receiver what to do when a check fails. &lt;strong&gt;DMARC&lt;/strong&gt; (Domain-based Message Authentication, Reporting and Conformance) does.&lt;/p&gt;

&lt;p&gt;It also adds an important rule called &lt;strong&gt;alignment&lt;/strong&gt;: the domain the reader sees in the "From" line must match the domain that passed SPF or DKIM. Without alignment, a spammer could pass SPF with their own domain while displaying yours.&lt;/p&gt;

&lt;p&gt;A starter DMARC record, as a TXT record at &lt;code&gt;_dmarc.yourdomain.com&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v=DMARC1; p=none; rua=mailto:dmarc-reports@yourdomain.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;p=none&lt;/code&gt; means "don't block anything yet, just report."&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;rua=&lt;/code&gt; is where receivers send daily aggregate reports.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once reports show your legitimate mail passing consistently, tighten the policy step by step: &lt;code&gt;p=quarantine&lt;/code&gt; (send failures to spam), then &lt;code&gt;p=reject&lt;/code&gt; (refuse them outright).&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting it up: the order that works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Inventory your senders.&lt;/strong&gt; List every service that sends email as your domain: your mailbox host, your app's transactional mail, newsletter tools, support desks, invoicing software.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Publish one SPF record&lt;/strong&gt; that includes all of them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enable DKIM&lt;/strong&gt; for each sending service, using the records each provider gives you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add DMARC at &lt;code&gt;p=none&lt;/code&gt;&lt;/strong&gt; with a reporting address.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wait and read the reports&lt;/strong&gt; for two to four weeks. They'll reveal senders you forgot about.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tighten DMARC&lt;/strong&gt; to &lt;code&gt;quarantine&lt;/code&gt;, then &lt;code&gt;reject&lt;/code&gt;, once everything legitimate passes.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;DNS changes can take anywhere from minutes to a day to propagate, so don't panic if checks fail immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to test
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Send a message to a deliverability tester such as mail-tester.com. It scores your setup and lists exactly what's missing.&lt;/li&gt;
&lt;li&gt;In Gmail, open a message you sent, choose "Show original," and look for &lt;code&gt;SPF: PASS&lt;/code&gt;, &lt;code&gt;DKIM: PASS&lt;/code&gt; and &lt;code&gt;DMARC: PASS&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Query your records from a terminal: &lt;code&gt;dig txt yourdomain.com +short&lt;/code&gt; and &lt;code&gt;dig txt _dmarc.yourdomain.com +short&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Symptoms that point to authentication problems
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Messages arrive at some providers but land in spam at others.&lt;/li&gt;
&lt;li&gt;Recipients see warnings such as "this message may not be from who it claims."&lt;/li&gt;
&lt;li&gt;Deliverability testers report missing or failing records.&lt;/li&gt;
&lt;li&gt;Messages from your app work, but emails sent from a newsletter tool on the same domain don't. That's usually a sign that one sender is missing from SPF or has no DKIM.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Beyond authentication
&lt;/h2&gt;

&lt;p&gt;Authentication gets you through the door; reputation keeps you there. A few habits matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Send transactional mail (password resets, receipts) from a consistent, dedicated address.&lt;/li&gt;
&lt;li&gt;Don't send marketing blasts from the same setup that sends security emails.&lt;/li&gt;
&lt;li&gt;Include a plain-text version of every HTML email.&lt;/li&gt;
&lt;li&gt;Make unsubscribing easy for anything non-essential.&lt;/li&gt;
&lt;li&gt;Never buy email lists.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;SPF says &lt;em&gt;who may send&lt;/em&gt;. DKIM proves &lt;em&gt;the message is genuine and unchanged&lt;/em&gt;. DMARC says &lt;em&gt;what to do when either fails&lt;/em&gt; and makes sure the visible sender lines up with the checks.&lt;/p&gt;

&lt;p&gt;Set up all three, start DMARC in monitoring mode, read the reports, then tighten. It's an afternoon of DNS work that saves you months of "check your spam folder" support replies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt; &lt;a href="https://promptpost.io/posts/laravel-queues-cron-shared-hosting" rel="noopener noreferrer"&gt;Laravel queues and cron on shared hosting&lt;/a&gt; · &lt;a href="https://promptpost.io/posts/dpdp-rules-indias" rel="noopener noreferrer"&gt;India's DPDP rules: what startups should do now&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is the difference between SPF, DKIM and DMARC?&lt;/strong&gt;&lt;br&gt;
SPF lists which servers may send email for your domain. DKIM adds a cryptographic signature proving the message wasn't altered. DMARC sets the policy for failures and requires the visible From domain to align with SPF or DKIM.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why are my emails going to spam?&lt;/strong&gt;&lt;br&gt;
Missing or failing authentication is the most common technical reason, especially for new domains. Check your SPF, DKIM and DMARC records with a deliverability tester.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I have two SPF records?&lt;/strong&gt;&lt;br&gt;
No. A domain must have only one SPF record. Merge multiple senders into a single record with several include entries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which DMARC policy should I start with?&lt;/strong&gt;&lt;br&gt;
Start with p=none to collect reports without blocking mail. Move to p=quarantine and then p=reject once all legitimate senders pass.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://promptpost.io/posts/spf-dkim-dmarc-explained" rel="noopener noreferrer"&gt;PromptPost&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written by me, reviewed with the help of AI.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>email</category>
      <category>dns</category>
      <category>security</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Running a Local LLM on a 12GB GPU: A Practical Starter Guide</title>
      <dc:creator>Rishav Mandal</dc:creator>
      <pubDate>Mon, 30 Nov 2026 19:31:17 +0000</pubDate>
      <link>https://dev.to/dev_rishav/running-a-local-llm-on-a-12gb-gpu-a-practical-starter-guide-4kk3</link>
      <guid>https://dev.to/dev_rishav/running-a-local-llm-on-a-12gb-gpu-a-practical-starter-guide-4kk3</guid>
      <description>&lt;p&gt;Cloud AI is convenient, but there are good reasons to run a model on your own machine: privacy for sensitive documents, zero per-token cost for heavy experimentation, offline access, and the simple satisfaction of understanding the stack you depend on.&lt;/p&gt;

&lt;p&gt;A 12GB graphics card, a common mid-range size for the last few GPU generations, is a sweet spot for getting started. It won't run the largest frontier-class open models, but it comfortably runs models that are good at summarising, drafting, coding help and chat.&lt;/p&gt;

&lt;p&gt;This guide focuses on the decisions that matter rather than any single model, because the model landscape changes every month while the underlying maths does not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A local LLM on a 12GB GPU works best with 7–14B-parameter models quantized to 4–5 bits.&lt;/li&gt;
&lt;li&gt;Estimate memory as parameters × bits ÷ 8, then keep the weights under about 70–75% of VRAM to leave room for context.&lt;/li&gt;
&lt;li&gt;Tools like llama.cpp, Ollama and LM Studio make setup easy; offloading to system RAM works but is much slower.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The one formula you need
&lt;/h2&gt;

&lt;p&gt;A model's memory footprint is roughly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;parameters × bits per parameter ÷ 8 = bytes for the weights&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A 7-billion-parameter model stored at 16-bit precision needs about 7 × 16 ÷ 8 = 14 GB just for weights. That already exceeds a 12GB card.&lt;/p&gt;

&lt;p&gt;The same model &lt;strong&gt;quantized&lt;/strong&gt; to 4 bits needs about 7 × 4 ÷ 8 = 3.5 GB. Suddenly it fits with plenty of room to spare.&lt;/p&gt;

&lt;p&gt;On top of the weights you need memory for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The KV cache&lt;/strong&gt;, which grows with context length (how much text the model is holding in mind). Long contexts can consume several gigabytes on their own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runtime overhead&lt;/strong&gt; from the inference engine and your desktop, usually 0.5–1.5 GB.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A practical rule: keep the weights at or below about 70–75% of your VRAM, and leave the rest for context and overhead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quantization in plain words
&lt;/h2&gt;

&lt;p&gt;Quantization stores each weight with fewer bits. You lose a little precision in exchange for a large drop in memory and a speed boost.&lt;/p&gt;

&lt;p&gt;Rough guidance that holds up well in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;8-bit&lt;/strong&gt;: nearly indistinguishable from full precision, but large.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5–6 bit&lt;/strong&gt;: excellent quality, a good default when it fits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;4-bit&lt;/strong&gt;: the popular sweet spot. Small quality loss, big savings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3-bit and below&lt;/strong&gt;: noticeable degradation, especially for reasoning and code. Use only when the alternative is not running the model at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A useful heuristic: &lt;strong&gt;a larger model at 4-bit usually beats a smaller model at 8-bit&lt;/strong&gt; of the same memory size. Parameter count tends to matter more than precision, down to about four bits.&lt;/p&gt;

&lt;h2&gt;
  
  
  What fits on 12GB
&lt;/h2&gt;

&lt;p&gt;Using the formula above, here's what is realistic:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model size&lt;/th&gt;
&lt;th&gt;4-bit weights&lt;/th&gt;
&lt;th&gt;Fits on 12GB?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;3–4B&lt;/td&gt;
&lt;td&gt;~2 GB&lt;/td&gt;
&lt;td&gt;Easily, with long context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7–9B&lt;/td&gt;
&lt;td&gt;~4–5 GB&lt;/td&gt;
&lt;td&gt;Comfortably; the best everyday class&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;12–14B&lt;/td&gt;
&lt;td&gt;~7–8 GB&lt;/td&gt;
&lt;td&gt;Yes, with moderate context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;20–24B&lt;/td&gt;
&lt;td&gt;~11–13 GB&lt;/td&gt;
&lt;td&gt;Tight; may need partial CPU offload&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;30B+&lt;/td&gt;
&lt;td&gt;15 GB+&lt;/td&gt;
&lt;td&gt;Only with heavy CPU offload, and slowly&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The 7–14B range is where a 12GB card shines. These models handle drafting, summarisation, everyday coding questions and structured extraction well. They are weaker than frontier cloud models at long multi-step reasoning and niche knowledge, so set expectations accordingly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Partial offload: the escape hatch
&lt;/h2&gt;

&lt;p&gt;Most local inference engines can split a model between GPU and system RAM. Layers that don't fit in VRAM run on the CPU.&lt;/p&gt;

&lt;p&gt;It works, but every layer on the CPU slows generation, often dramatically. A model that runs at a comfortable reading speed fully on the GPU might crawl when half of it is offloaded. Offload is fine for occasional use of a bigger model; it's frustrating as a daily driver. If you offload, more and faster system RAM helps. 32GB is a sensible minimum for this approach.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing your tools
&lt;/h2&gt;

&lt;p&gt;You don't need to write any code to get started. The common options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;llama.cpp&lt;/strong&gt;: the engine underneath much of the local ecosystem. Runs quantized models in the GGUF format, supports GPU acceleration and offload, and exposes a local API server. Maximum control, command-line first.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ollama&lt;/strong&gt;: a friendly wrapper. Pull a model with one command, run it, and get a local API that many apps can talk to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LM Studio&lt;/strong&gt; and similar desktop apps: graphical model browsers with built-in chat, good for exploring what you like before committing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whichever you choose, look for models published in a quantized format with clear notes on the quantization level, and check the model's licence before using it commercially.&lt;/p&gt;

&lt;h2&gt;
  
  
  Context length: the hidden VRAM cost
&lt;/h2&gt;

&lt;p&gt;Advertised context windows are maximums, not requirements. Running a model at its full context length can multiply the KV cache size and push you out of VRAM.&lt;/p&gt;

&lt;p&gt;Start with a moderate context (8,000 tokens is plenty for chat and most documents) and raise it only when a task genuinely needs it. Some engines can also quantize the KV cache itself, which saves memory at a small quality cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Realistic expectations
&lt;/h2&gt;

&lt;p&gt;A well-chosen local model on a 12GB card is genuinely useful for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Summarising and querying your own documents privately&lt;/li&gt;
&lt;li&gt;Drafting emails, posts and documentation&lt;/li&gt;
&lt;li&gt;Code explanation and small refactors&lt;/li&gt;
&lt;li&gt;Classification and data extraction pipelines that would be expensive via API&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is not a drop-in replacement for the strongest cloud models on complex reasoning, very long documents, or tasks needing up-to-date world knowledge. Many people end up with a hybrid setup: local models for private, high-volume or experimental work, and a cloud model for the hardest problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  A sensible first session
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Install one tool (Ollama or LM Studio is the gentlest start).&lt;/li&gt;
&lt;li&gt;Download a 7–9B instruction-tuned model at 4-bit or 5-bit.&lt;/li&gt;
&lt;li&gt;Set context to around 8K tokens.&lt;/li&gt;
&lt;li&gt;Watch VRAM usage with your GPU's monitoring tool while you chat.&lt;/li&gt;
&lt;li&gt;If you have headroom, try a 12–14B model at 4-bit and compare quality on your own real tasks.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Judge models on the work you actually do, not on leaderboard scores. The best local model is the one that handles your documents, your code and your writing style well, and on a 12GB card there are plenty of good candidates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Related reading:&lt;/strong&gt; &lt;a href="https://promptpost.io/posts/ram-prices-2026-ai-memory-shortage" rel="noopener noreferrer"&gt;Why RAM costs so much in 2026&lt;/a&gt; · &lt;a href="https://promptpost.io/posts/prompting-habits-useful-ai-output" rel="noopener noreferrer"&gt;Seven prompting habits for better AI output&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Can a 12GB GPU run a local LLM?&lt;/strong&gt;&lt;br&gt;
Yes. A 12GB card comfortably runs 7–9B models and can run 12–14B models at 4-bit quantization, which is enough for drafting, summarising, coding help and private document chat.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How much VRAM does a 7B model need?&lt;/strong&gt;&lt;br&gt;
About 14 GB at 16-bit precision, around 7 GB at 8-bit and roughly 3.5–4.5 GB at 4-bit, plus extra memory for context and runtime overhead.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does 4-bit quantization reduce quality?&lt;/strong&gt;&lt;br&gt;
Slightly. For most everyday tasks the loss is small, and a larger model at 4-bit usually beats a smaller model at 8-bit using similar memory. Quality drops more noticeably below 4 bits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is a local LLM as good as ChatGPT or Claude?&lt;/strong&gt;&lt;br&gt;
Not for the hardest tasks. Local models on consumer GPUs are strong for private, high-volume and everyday work, while frontier cloud models still lead on complex reasoning and up-to-date knowledge.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://promptpost.io/posts/run-local-llm-12gb-gpu-guide" rel="noopener noreferrer"&gt;PromptPost&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I used AI assistance to draft parts of this guide and checked the numbers myself.&lt;/em&gt;&lt;/p&gt;

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