惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
C
Cisco Blogs
博客园 - 叶小钗
P
Privacy International News Feed
Jina AI
Jina AI
Apple Machine Learning Research
Apple Machine Learning Research
T
Threatpost
IT之家
IT之家
博客园 - 聂微东
Know Your Adversary
Know Your Adversary
Help Net Security
Help Net Security
罗磊的独立博客
I
Intezer
S
Schneier on Security
博客园_首页
C
CERT Recently Published Vulnerability Notes
雷峰网
雷峰网
Cisco Talos Blog
Cisco Talos Blog
宝玉的分享
宝玉的分享
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Webroot Blog
Webroot Blog
TaoSecurity Blog
TaoSecurity Blog
MyScale Blog
MyScale Blog
P
Privacy & Cybersecurity Law Blog
T
The Exploit Database - CXSecurity.com
PCI Perspectives
PCI Perspectives
Security Latest
Security Latest
H
Heimdal Security Blog
S
Secure Thoughts
Hacker News: Ask HN
Hacker News: Ask HN
Y
Y Combinator Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Microsoft Security Blog
Microsoft Security Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
SecWiki News
SecWiki News
The GitHub Blog
The GitHub Blog
A
Arctic Wolf
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
T
Threat Research - Cisco Blogs
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Best GPU for Llama 70B in 2026 (48GB+ VRAM Required)
Thurmon Demi · 2026-05-15 · via DEV Community

This article was originally published on Best GPU for LLM. The full version with interactive tools, FAQ, and live pricing is on the original site.

Quick answer: You need at least 48GB of VRAM to run Llama 70B at usable quality. A single RTX 5090 (32GB) can run it at aggressive Q3/Q4 quantization, but for good quality you'll need dual GPUs or a workstation card like the A6000.

See the recommended pick on the original guide

The VRAM problem with 70B models

Llama 70B is one of the most capable open-source language models available, but it's demanding. Here's how much VRAM it actually needs:

VRAM chart available at the original article

Quantization Model Size VRAM Required Quality Impact
FP16 (full) ~140GB 140GB+ Best quality
Q8 ~70GB 72GB+ Near-lossless
Q6_K ~54GB 56GB+ Minimal loss
Q5_K_M ~48GB 50GB+ Slight loss
Q4_K_M ~40GB 42GB+ Noticeable on complex tasks
Q3_K_M ~32GB 34GB+ Significant degradation
Q2_K ~25GB 28GB+ Major quality loss

The VRAM column includes overhead for context window and KV cache. Actual usage varies with context length.

GPU options for Llama 70B

Single GPU options

GPU VRAM Can Run 70B? Best Quantization Price
RTX 5090 32GB Yes, limited Q3_K_M (degraded) ~$2,000
RTX 4090 24GB Barely Q2_K only (poor) ~$1,600
A6000 48GB Yes Q4_K_M+ (good) ~$3,500
A100 80GB 80GB Yes Q8+ (excellent) ~$8,000+

Dual GPU options

Setup Total VRAM Best Quantization Approx Cost
2x RTX 3090 48GB Q4_K_M (good) ~$1,800 used
2x RTX 4090 48GB Q5_K_M (great) ~$3,200
2x RTX 5090 64GB Q6_K (excellent) ~$4,000+

See the recommended pick on the original guide

See the recommended pick on the original guide

Best approaches by budget

Budget: Under $2,000 — Dual RTX 3090

The cheapest way to run Llama 70B at decent quality:

  • 48GB combined VRAM handles Q4_K_M quantization
  • RTX 3090s are widely available used for $800-900 each — see our dual RTX 3090 setup guide for the full build walkthrough
  • Ollama and llama.cpp support multi-GPU splitting natively
  • Inference speed is slower due to inter-GPU communication

Downsides: Needs a motherboard with two x16 PCIe slots, a beefy PSU (1200W+), and good case airflow. Two cards at 350W each generate serious heat.

Mid-range: $2,000-4,000 — RTX 5090 or dual 4090

Single RTX 5090: Simplest setup. Can run 70B at Q3_K_M, which is usable but you'll notice quality loss on reasoning-heavy tasks. Best if you also use the GPU for smaller models where it excels. For tips on making the most of a single-card 70B setup, see how to run 70B on a single GPU, and for a broader look at the $2,000 tier our best GPU for LLM under $2,000 guide ranks the alternatives.

Dual RTX 4090: 48GB total VRAM for Q4_K_M+ quality. Better output quality than a single 5090, but more complex setup and higher power draw.

High-end: $3,500+ — NVIDIA A6000

The NVIDIA A6000 with 48GB VRAM on a single card is the cleanest solution:

  • Runs Q4_K_M and Q5_K_M on one card
  • No multi-GPU complexity
  • Professional-grade reliability
  • ECC memory for consistent results

The downside is price and availability. The A6000 is a professional card with professional pricing.

Ollama setup for multi-GPU

If you go the dual-GPU route, Ollama handles GPU splitting automatically:

OLLAMA_NUM_GPU=999 ollama run llama3:70b-q4_K_M

Enter fullscreen mode Exit fullscreen mode

For llama.cpp, specify the split:

--tensor-split 24,24

Enter fullscreen mode Exit fullscreen mode

Both tools will distribute model layers across available GPUs. Inference speed scales roughly 60-70% of linear with two cards due to communication overhead.

Inference speed expectations

Setup Llama 70B Q4_K_M Tokens/sec
Single A6000 (48GB) Full model on GPU ~15-20 tok/s
2x RTX 4090 (48GB) Split across GPUs ~12-18 tok/s
2x RTX 3090 (48GB) Split across GPUs ~8-12 tok/s
Single RTX 5090 (Q3) Degraded quality ~18-22 tok/s
CPU offload (partial) Slow ~2-5 tok/s

These are approximate for 2048 context length. Longer contexts reduce speed.

Should you even run 70B locally?

Before investing in hardware, consider:

  • Is 70B actually better for your use case? For many tasks, a well-prompted 13B or fine-tuned 34B model performs nearly as well.
  • Would cloud be cheaper? If you only need 70B occasionally, cloud GPU rental (RunPod, Vast.ai) at $1-2/hour may be more cost-effective than a $3,000+ hardware investment. See RunPod vs Vast.ai for LLM to understand which platform offers better pricing and reliability for this workload, and our cloud GPU TCO vs self-hosted LLM breakdown for the exact monthly break-even math.
  • Do you need the privacy? Local inference means your data never leaves your machine. If that matters, the hardware cost is justified.

Which GPU should YOU buy for Llama 70B?

  • Running 70B as your primary model? Get 2x RTX 4090 ($3,200). 48GB combined VRAM handles Q4_K_M with good quality and decent speed.
  • Running 70B occasionally alongside smaller models? Get an RTX 5090 ($2,000). Handles Q3_K_M for 70B and excels at 7B-34B models the rest of the time.
  • Need the best single-card 70B experience? Get an NVIDIA A6000 ($3,500). 48GB on one card means Q4_K_M+ without multi-GPU complexity.
  • Only need 70B sometimes? Use cloud GPUs instead. $1-2/hour beats a $3,000+ hardware investment for occasional use.

Common mistakes to avoid

  • Buying a single 24GB GPU expecting to run 70B — the RTX 4090 at 24GB can only fit Q2_K quantization, where output quality is significantly degraded. You need 32GB minimum, and realistically 48GB for good results.
  • Ignoring memory bandwidth in dual-GPU setups — inter-GPU communication adds latency. Two RTX 3090s (936 GB/s each) outperform two RTX 4060 Tis even if total VRAM is similar, because bandwidth determines token generation speed.
  • Not accounting for context length VRAM overhead — at Q4_K_M, Llama 70B uses ~40GB for weights alone. A 4K context window adds 3-5GB for the KV cache. Plan your VRAM budget accordingly. For a full breakdown of exactly how much VRAM each 70B quantization level needs, see how much VRAM for a 70B model.
  • Skipping the "do I actually need 70B" question — a well-quantized 34B model on a single RTX 4090 often matches 70B at Q2_K in output quality, at 3x the inference speed and half the hardware cost. Llama 4 Scout is another alternative worth considering — it beats Llama 3 70B on benchmarks and fits on a single RTX 5090; see our Llama 4 Scout GPU guide for details. DeepSeek's reasoning-tuned 32B is another single-card alternative — see our DeepSeek GPU guide for VRAM needs and tok/s on 24GB cards. If you are wondering whether a budget card like the 4060 Ti can even attempt 70B, see can the RTX 4060 Ti run Llama 70B?

Final verdict

Situation Recommendation
Must be single GPU NVIDIA A6000 (48GB)
Best value 2x RTX 3090 used (~$1,800)
Best performance/value 2x RTX 4090 (~$3,200)
Occasional 70B use Cloud GPU (RunPod/Vast.ai)
Mostly smaller models RTX 5090 single card

See the recommended pick on the original guide

For most people, Llama 70B is not a single-GPU workload at consumer prices. Accept that and plan for either dual GPUs, a workstation card, or cloud.

The best GPU for Llama 70B is the one that gives you enough VRAM to avoid aggressive quantization. Quality degrades fast below Q4 — don't sacrifice output quality to save on hardware.

Related guides on Best GPU for LLM


Continue on Best GPU for LLM for the complete guide with interactive calculators and current GPU prices.