★ Reading this for free? Get 25 structured AI courses + per-chapter AI tutor — the first chapter of every course free, no card.Start free in 30 secondsOr own every course: $149 once

AI Model Recommender

Not sure which model to run? Select your task and hardware — we'll recommend local AI models that fit, with install commands, VRAM requirements, and the reason each one ranks where it does. Works for Ollama, llama.cpp, and any local inference engine.

📅 Published: March 18, 2026🔄 Last Updated: November 2, 2026✓ Manually Reviewed

Find Your Perfect Model

4 GB16 GB64 GB128 GB

Top 5 Models for General Chat (24 GB (RTX 4090 / Mac 24GB))

BEST MATCHQwen 2.5 32B32B

Largest general model that fits a single 24GB card

General model; among those that fit, larger ranks higher.

VRAM: ~22 GB (Q4) · file 19.85 GBSpeed: ~51 tok/s ceiling (RTX 4090)Tasks: 💬 💻 🧠 ✍️ 📄
Quick install:
ollama run qwen2.5:32b
Qwen 2.5 14B14B

Strong general model for 12-16GB cards

General model; among those that fit, larger ranks higher.

VRAM: ~10 GB (Q4) · file 8.99 GBSpeed: ~112 tok/s ceiling (RTX 4090)Tasks: 💬 💻 🧠 📄
Quick install:
ollama run qwen2.5:14b

Google open model for general tasks

General model; among those that fit, larger ranks higher.

VRAM: ~6.5 GB (Q4) · file 5.44 GBSpeed: ~185 tok/s ceiling (RTX 4090)Tasks: 💬 🧠 ✍️
Quick install:
ollama run gemma2:9b

Balanced 8B model with a 128K context window

General model; among those that fit, larger ranks higher.

VRAM: ~5.5 GB (Q4) · file 4.92 GBSpeed: ~205 tok/s ceiling (RTX 4090)Tasks: 💬 💻 📄
Quick install:
ollama run llama3.1:8b

Reliable all-rounder at 7B

General model; among those that fit, larger ranks higher.

VRAM: ~5 GB (Q4) · file 4.37 GBSpeed: ~231 tok/s ceiling (RTX 4090)Tasks: 💬 📄 ✍️
Quick install:
ollama run mistral

Upgrade to unlock these models

Needs ~45 GB
Needs ~70 GB

Sizes at Q4_K_M quantization, from the Ollama registry. Speeds are bandwidth ceilings (memory bandwidth ÷ file size), not measurements. See our VRAM Calculator for exact memory requirements, or our GPU comparison for hardware recommendations.

How We Rank Models

The tool does not assign quality scores. Among the models tagged for your task that fit your memory, models built for that task rank first, then larger checkpoints. To check a model's quality claims, these are the public benchmarks to read, alongside the practical factors the tool does use:

Benchmark Sources

  • Coding: HumanEval, SWE-bench Verified, Aider polyglot
  • Reasoning: MATH, GPQA Diamond, ARC-AGI
  • General: MMLU, LMArena ELO
  • Creative: AlpacaEval, human preference ratings

Practical Factors

  • VRAM efficiency: Q4_K_M quantization size from GGUF files
  • Speed: a bandwidth ceiling on an RTX 4090 (1,008 GB/s ÷ file size), not a measurement
  • Ecosystem: Ollama availability, community support, documentation
  • License: All recommended models are free for commercial use

Key principle: A model that fits entirely in your GPU VRAM will generate far faster than a larger model that spills to system RAM. Our recommendations prioritize models that run at full speed on your hardware. Use the VRAM Calculator to verify exact memory requirements for any model and quantization format, and check what fits your exact GPU model by model.

Quick Guide: Model Size vs Quality

SizeVRAM (Q4)Size ClassBest ForHardware
1-3B1-3 GBTiny (edge)Simple Q&A, autocomplete, edge devicesAny 4GB device
7-9B5-6 GBSmallDaily chat, coding assistance, RAG8GB GPU or Mac
14B9-10 GBMid-sizeComplex reasoning, debugging, analysisRTX 3060 12GB
32B20-22 GBLargeProfessional coding, writing, planningRTX 4090 or 32GB Mac
70B40-43 GBVery largeExpert-level tasks, research, production64GB Mac or 2x GPU
100B+ MoE50-60 GBLarge MoELargest open models, long context, vision128GB Mac or 3x GPU

Size class is a parameter-count bucket, not a quality score: within one model family the larger checkpoint is usually the stronger one, but compare specific models on their model cards and public leaderboards. VRAM at Q4_K_M quantization with 4K context. Longer contexts add 0.5-4 GB. See hardware guide for detailed requirements.

Frequently Asked Questions

What is the best local AI model for coding in 2026?

For coding, Qwen 2.5 Coder 32B is the strongest code-specialised model that fits one 24GB card: Qwen reports 92.7% on HumanEval for the Instruct version and says its coding matches GPT-4o (Qwen2.5-Coder release, Nov 2024). It needs about 22 GB VRAM (RTX 4090 or 32GB Mac). For smaller setups, Qwen 2.5 Coder 7B (about 5.5 GB) is the code-specialised pick that fits an 8GB card. DeepSeek R1 14B (about 10 GB) adds chain-of-thought reasoning, which helps on multi-step debugging.

Which LLM runs best on 8GB VRAM?

With 8GB VRAM, your best options are Llama 3.1 8B (about 5.5 GB, versatile all-rounder), Mistral 7B (about 5 GB, reliable), Gemma 2 9B (about 6.5 GB, general tasks), and Qwen 2.5 Coder 7B (about 5.5 GB, code-specialised). All run at full GPU speed on an RTX 3070, RTX 4060, or 8GB Mac. Use Q4_K_M quantization for the best quality-to-size ratio.

What model should I use for RAG (retrieval-augmented generation)?

For RAG, Qwen 2.5 32B (about 22 GB VRAM) is the pick in the tool above for 24GB cards and 32GB Macs. If limited on VRAM, Llama 3.1 8B (5.5 GB) handles RAG well thanks to its 128K context window. For maximum context, Llama 4 Scout supports up to 10M tokens. Pair any of these with ChromaDB or Qdrant for the vector database.

How do I choose between model sizes (7B, 14B, 32B, 70B)?

Model quality scales with size but with diminishing returns: 7B models handle most everyday tasks adequately, 14B models add noticeable improvement in reasoning and nuance, and 32B and 70B models close much of the remaining gap to the closed frontier models. Always run the largest model your hardware can fit entirely in VRAM — a 14B model at full GPU speed beats a 70B model spilling to RAM.

Can I run AI models with just system RAM (no GPU)?

Yes, but much slower. Generation speed is capped by memory bandwidth divided by the model file size: on dual-channel DDR5-5600 (89.6 GB/s) a 7B model (4.4 GB file) has a ceiling of about 20 tokens/second, against about 230 tok/s on an RTX 4090 (1,008 GB/s). Real speed lands below the ceiling. Apple Silicon Macs sit in between thanks to unified memory: a base M4 (120 GB/s) has a ceiling of about 13 tok/s for Qwen 2.5 14B (9 GB file), and an Apple M3 Pro (150 GB/s) measured 28.5 tok/s on mistral:7b (Ollama 0.12.3, October 2026).

What is the best free AI model for creative writing?

Llama 3.3 70B is the largest dense open model most home setups can run, and the size helps with long-form prose — it handles fiction, marketing copy, poetry, and dialogue well. Its Ollama download is 43 GB, so it needs about 45 GB of VRAM or a 64GB Mac. For smaller setups, Gemma 2 9B (about 6.5 GB) and Qwen 2.5 32B (about 22 GB) are the creative-writing picks in the tool above. All are free, open-weight models you can run privately via Ollama.

Embed this free AI Model Recommender on your site

Free to use — just keep the attribution link. Works on any site.

<iframe src="https://localaimaster.com/embed/model-recommender" width="100%" height="560" style="border:1px solid var(--line);border-radius:12px;max-width:680px" title="AI Model Recommender — Local AI Master" loading="lazy"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;max-width:680px;margin:6px 0 0"><a href="https://localaimaster.com/tools/model-recommender">AI Model Recommender</a> by <a href="https://localaimaster.com">Local AI Master</a></p>
Once your hardware is sorted

Know what to actually run on it

All 561 chapters — running local models, RAG, agents, fine-tuning — plus the Python Lab and every course added later.

$149 once unlocks everything, forever — about $0.27/chapter for life. Prefer to spread it out? Pro is $79/year (saves 27%) or $8.99/month.
Secure checkout by Lemon Squeezy — your card never touches this siteInstant access the moment you payFirst chapter of every course is free — try before you buy

Ready to Go Beyond Tutorials?

25 structured courses with hands-on chapters - build RAG chatbots, AI agents, and ML pipelines on your own hardware.

Was this helpful?

🎯
AI Learning Path

Go from reading about AI to building with AI

25 structured courses. Hands-on projects. Runs on your machine. Start free.

Or own it for life — Lifetime $149 $599, pay once
Barsha Mohapatra

Written by

Barsha Mohapatra

Founder and Editor, Local AI Master · Founder, Little AI Master

Founder of Little AI Master and the editor behind every course and guide on Local AI Master. Years of tutoring students taught her where AI education actually fails.

📚
Free · no account required

Grab the AI Starter Kit — career roadmap, cheat sheet, setup guide

No spam. Unsubscribe with one click.

Free Tools & Calculators