The tipping point everyone predicted for 2027 arrived six months early.
In June 2026, an RTX 3060 gaming card or a base-model MacBook Pro with 16GB of unified memory can run models that score higher on academic reasoning benchmarks than cloud APIs did in 2024. A 3-billion-parameter vision model detects objects in dense images faster than a 30-billion-parameter cloud competitor. An 8-billion-parameter language model runs 128,000 tokens of context without filling your VRAM — because most of its layers generate no KV cache at all.
This is not a “getting better” story. This is a structural shift. Three forces converged simultaneously: Quantization-Aware Training (QAT) closed the quality gap between 4-bit local models and full-precision cloud APIs; sparse Mixture-of-Experts (MoE) architectures let models store knowledge at 8B scale while activating just 1–2B parameters per token; and the MLX framework on Apple Silicon matured to the point where M-series chips outpace RTX 3060s on the same 12B models — while running 30B models those cards can’t even load.
Every model in this guide fits on hardware most working developers already own. No cloud subscriptions. No data leaving your machine. No per-token billing at 3am when your agent is halfway through a 10,000-file codebase.
What Makes a Model Worth Running Locally in 2026
Before the model-by-model breakdown, three questions frame the whole field.
Can it reason, or just predict? The gap between a model that autocompletes and a model that deliberates is now visible in benchmark data. The introduction of dual “thinking/non-thinking” modes — popularized by Qwen3 and adopted across the industry — means the same model can toggle between fast conversational responses and deep chain-of-thought for complex tasks. Local models have this now.
How much context can it actually use? A 128K context window that exhausts your VRAM at 10K tokens is a marketing figure, not a feature. The models worth using for agentic work can actually sustain long contexts. The LFM2.5-8B-A1B, for instance, uses a convolution-based architecture that generates zero KV cache on 18 of its 24 layers — meaning 128K context costs almost the same memory as 2K context.
Does it call tools reliably? The τ²-bench agentic benchmark — which tests real multi-step tool-use scenarios — has replaced conversational chat scores as the meaningful differentiator for local models in production. A model that scores 90% on MMLU but 6.6% on τ²-bench is a research toy, not a working colleague.
| Criterion | What it means in practice | Benchmark to watch |
|---|---|---|
| Reasoning depth | Thinking mode toggleable for hard problems | AIME 2026, GPQA Diamond, MATH500 |
| Context efficiency | VRAM stays flat at 128K — not ballooning | Measured VRAM at 64K+ tokens in context |
| Agentic reliability | Structured output holds across 50+ tool calls | τ²-bench, IFEval |
| Coding quality | Resolves real GitHub issues, not just completions | SWE-bench Verified, LiveCodeBench |
Gemma 4 12B QAT — Google’s Encoder-Free Multimodal Powerhouse
Released June 3, 2026. The hottest topic on r/LocalLLaMA right now, and the current community recommendation for anyone with a 16GB Mac or a 12GB VRAM card.
The Architecture Breakthrough Nobody Expected
Every multimodal model before Gemma 4 used a separate, frozen Vision Transformer (ViT) encoder — essentially a bolt-on image processor that added VRAM overhead and increased time-to-first-token. Gemma 4 12B eliminates the encoder entirely. A lightweight 35-million-parameter linear projector maps raw image patches directly into the backbone’s hidden dimension, and the same unified decoder handles text, image patches, and audio natively — in the same forward pass, without separate pipelines.
The practical result is faster first-token latency, lower memory overhead, and no integration complexity when you want a model that can see screenshots, hear audio clips, and reason about both in one context window.
Why QAT Changes Everything for Local Inference
Standard quantization — called Post-Training Quantization (PTQ) — compresses a model’s weights after training completes. The model never learned to work within 4-bit constraints; it’s simply forced into them, with measurable quality loss as a consequence.
Quantization-Aware Training changes this entirely. During training, the model experiences simulated quantization noise at every gradient step, learning to compensate and developing weight distributions that survive compression with minimal degradation.
| Property | PTQ (Standard) | QAT (Gemma 4) |
|---|---|---|
| When quantization happens | After training — model is unaware | During training — model adapts |
| Quality loss at 4-bit | Significant on reasoning tasks | Near-negligible |
| VRAM at Q4_K_M (12B) | ~8–9 GB | ~7–8.5 GB |
| vs. FP16 full-precision quality | ~88–92% retention | ~97–99% retention |
| Community verdict | Standard for most models | Strongly preferred for Gemma 4 |
Google’s official QAT checkpoint for Gemma 4 12B delivers quality that rivals the full-precision 12B model at FP16 (~24GB VRAM), while running in under 8.5GB.
The Benchmarks That Stop People Cold
| Benchmark | Gemma 4 12B | Gemma 3 27B (2025) |
|---|---|---|
| MMLU Pro | 77.2% | 67.6% |
| AIME 2026 (math olympiad) | 77.5% | 20.8% |
| LiveCodeBench v6 | 72.0% | 29.1% |
| GPQA Diamond (expert science) | 78.8% | 42.4% |
| τ²-bench Agentic | 57.5% | 6.6% |
The AIME 2026 number is the one that stopped people cold when it landed. A 12B model triples the AIME score of the previous generation’s 27B flagship. That’s not incremental progress; that’s a generation gap compressed into a fraction of the parameter count.
For coding specifically, a LiveCodeBench v6 score of 72.0% positions Gemma 4 12B as a genuinely competitive programming model — not just a “helpful assistant” that sometimes writes Python.
Running It in LM Studio or Ollama
In LM Studio, search for gemma-4-12b-it-qat-q4_0 in the model browser and select the MLX backend on Apple Silicon for maximum throughput. On Windows/Linux NVIDIA setups, the GGUF Q4_K_M variant downloads and runs immediately. The Ollama library lists it as gemma4:12b.
[!IMPORTANT] One critical configuration note: Gemma 4 12B has a specific sampling profile Google ships with it. Using
temperature=1.0,top_p=0.95, andtop_k=64is non-negotiable — lowering temperature breaks the reasoning pathways. The “bad reviews” circulating on Reddit are almost universally from users who lowered temperature to 0.3 or 0.7, which disables the model’s thinking mechanism entirely. Configure it correctly and the difference is dramatic.
Gemma 4 12B QAT running locally via Ollama — setup, quantization choices, and real-world coding benchmarks on 16GB hardware.
The Community Fine-Tune: Coder + Fable5 + Composer 2.5
One model worth highlighting from the community: gemma-4-12B-coder-fable5-composer2.5-v1-GGUF. This is a Python coding specialist fine-tuned on two curated datasets — Composer 2.5, which includes only model-generated reasoning traces that pass deterministic test suites, and Fable 5, which covers difficult edge cases. It supports the full 256K context window and runs with as little as 4.5GB VRAM on smaller K-series quantizations. The one caveat: avoid IQ3_XXS and IQ3_S quantizations, which cause attention layer collapse. Stick to Q4_K_M or larger.
Apple Silicon Performance
Community benchmarks from r/LocalLLaMA for Gemma 4 12B via the MLX backend:
| Apple Silicon Chip | Unified Memory | Speed @ Q4_K_M (MLX) | Notes |
|---|---|---|---|
| M4 Max | 48–128 GB | 55–70 tok/s | Metal 4 + NVFP4 quantization |
| M4 Pro | 24–64 GB | 40–55 tok/s | Excellent value tier |
| M3 Max | 36–128 GB | 42–47 tok/s | Community daily-driver pick |
| M3 Pro | 18–36 GB | 30–40 tok/s | 18 GB handles Q4_K_M comfortably |
| M2 Max | 32–96 GB | 35–45 tok/s | Update MLX to v0.22+ for best results |
| M2 Pro | 16–32 GB | 22–32 tok/s | 16 GB is the minimum comfortable tier |
| M1 Max | 32–64 GB | 20–30 tok/s | Usable for interactive work |
Gemma 4 12B is the current community top pick for 16GB+ Mac users, period.
LFM2.5-8B-A1B — Liquid AI’s Architecture Heresy
Released May 28, 2026. Built by an MIT CSAIL spin-out on a genuinely provocative thesis: the Transformer architecture is fundamentally wasteful, and the nervous system of a microscopic worm points to something better.
The C. elegans Inspiration
C. elegans is a nematode worm with exactly 302 neurons. Despite this, it navigates environments, learns, and adapts — processing information with extraordinary efficiency through input-adaptive, continuous-time dynamics. Liquid AI’s founders, including MIT CSAIL Director Daniela Rus, built their architecture on the insight that biological neural circuits don’t use fixed projections. They’re input-varying: the computation changes based on what they’re processing, not just the weights.
Traditional Transformers — every GPT, Llama, Mistral, and Gemma before version 4 — use fixed Q/K/V weight projections and compare every token to every other token (O(N²) compute). As context grows, the KV cache grows with it. An 8B dense model at 128K context can exhaust a gaming GPU’s VRAM on KV cache alone, before it even begins generating.
The LIV Convolution: What Actually Changes
LFM2.5-8B-A1B replaces 18 of its 24 layers with LIV (Linear Input-Varying) Convolution blocks instead of self-attention. These layers compute linearly (O(N)), require no KV cache, and adapt their behavior based on the current input rather than fixed projections.
| Property | LIV Convolution | Transformer Attention |
|---|---|---|
| Compute scaling | O(N) — linear | O(N²) — quadratic |
| KV cache required? | No | Yes, grows with every token |
| Memory at 128K context | Minimal | Very high |
| Speed on consumer GPU | Fast | Slows at long context |
The remaining 6 layers use standard Grouped Query Attention to capture long-range dependencies convolutions can’t reach. The result: a model that combines convolution efficiency with attention’s global coherence — and barely touches VRAM at long contexts.
The “A1B” in the name means “Active 1 Billion”: despite 8.3 billion total parameters, only 1.5 billion fire per token via sparse Mixture-of-Experts routing. The model computes like a 1.5B model in FLOPs while carrying the knowledge of an 8.3B one.
The Numbers That Went Viral
| Benchmark | LFM2.5-8B-A1B | Predecessor (LFM2) |
|---|---|---|
| IFEval (instruction following) | 91.84% | 79.44% |
| MATH500 | 88.76% | 74.80% |
| Non-hallucination rate | 63.47% | 7.46% |
| τ²-bench Telecom (agentic) | 88.07% | 13.60% |
The hallucination collapse — from 7.46% to 63.47% non-hallucination rate in a single generation — is the figure that lit up AI Twitter when Liquid AI published it. That’s not an iteration; it’s a different order of reliability. The τ²-bench agentic score jumping from 13% to 88% in a single generation is equally remarkable.
The Prompt Engineer runs LFM2.5-8B-A1B through 6 agentic tests on an RTX 4060 laptop via Ollama, clocking ~76 tokens/second — faster than any dense 8B model at the same hardware tier.
What It’s Actually For (And What It Isn’t)
Reddit’s r/LocalLLaMA describes LFM2.5-8B-A1B as “dumb but fast” for complex multi-step reasoning — a fair characterisation. The 1.5B active parameter ceiling is a real constraint on depth. But in the workloads where it does excel, nothing else at this size comes close.
| Task | Rating | Why |
|---|---|---|
| 24/7 tool-calling agents | ✅ Excellent | 91.84% IFEval — best-in-class structured output |
| JSON / structured data extraction | ✅ Excellent | Reliable formatting at high throughput |
| Local RAG pipelines | ✅ Good | 128K context at near-zero KV cache growth |
| CPU-only background processing | ✅ Unique | ~37 tok/s on Ryzen 7950x — no GPU required |
| Multi-turn conversation | ✅ Good | Fast + consistent across long sessions |
| Complex reasoning chains | ⚠️ Limited | 1.5B active params constrains depth |
| Multi-file software architecture | ❌ Not recommended | Use Gemma 4 12B or Qwen3-8B instead |
In LM Studio, search for LFM2.5-8B-A1B in the model browser. Search Ollama for lfm2.5:8b. The official GGUF repository is maintained by Liquid AI directly.
LocateAnything-3B — NVIDIA’s CVPR 2026 VLM That Thinks Geometrically
Released May 26, 2026. Presented at CVPR 2026. This is not a general-purpose visual language model and does not try to be one. It does one thing — finds objects in images from natural language descriptions and returns precise bounding boxes — better than any model ten times its size.
Why Every Prior VLM Was Getting Bounding Boxes Wrong
When a traditional vision-language model generates a bounding box (x1, y1, x2, y2), it produces each coordinate as a separate token in an autoregressive sequence — one, then the next, then the next. This means the final two coordinates are decoded without the model seeing the first two in the same forward pass. Coordinates become four separate predictions rather than one geometric unit. Spatial coherence is lost by design.
Parallel Box Decoding (PBD) — LocateAnything’s core innovation — predicts the complete bounding box as an atomic unit in a single forward pass. All four coordinates are generated simultaneously, because they’re treated as one prediction. A hybrid fallback mode detects spatial ambiguity and drops to sequential decoding when needed. The speed and accuracy consequences are significant.
| Model | Bounding Box Speed | Relative Performance |
|---|---|---|
| LocateAnything-3B | 12.7 boxes/sec | — |
| Rex-Omni 3B (previous SOTA) | 5.0 boxes/sec | 2.5× slower |
| Qwen3-VL-30B | 1.1 boxes/sec | ~10× slower |
A 3B model outpaces a 30B model by a factor of ten. On accuracy benchmarks, it also outperforms OVIS2.5-9B — a model with three times the parameters — on point-based localization tasks.
| Benchmark | Task | Score |
|---|---|---|
| RefCOCOg test | Referring expression grounding | 91.0% F1 |
| Dense200 | Crowded/overlapping scenes | 87.6% F1@Point |
| ScreenSpot-Pro | GUI element grounding | 60.3% F1 (beats Qwen3-VL-30B at ~52%) |
| COCO | General object detection | 83.9% F1@Point |
LocateAnything-3B running locally on an RTX 4060 8GB — live demos of phrase grounding, GUI element detection, and document localization.
Building an automated annotation pipeline: LocateAnything-3B generates bounding boxes for YOLO training datasets, paired with SAM2 for segmentation masks.
What You Can Actually Build With This
GUI automation and computer-use agents are the headline use case. Tell the model “find the Submit button” on a screenshot, receive pixel coordinates, click. No CSS selectors to maintain. No template matching that breaks when the UI redesigns. LocateAnything’s ScreenSpot-Pro benchmark score of 60.3% — beating Qwen3-VL-30B despite having one-tenth the parameters — directly validates this use case with hard data.
Auto-annotation pipelines are the biggest community use case on Reddit right now. Paired with SAM2 or SAM3 for segmentation masks, LocateAnything generates complete YOLO training datasets from raw unlabeled images. Community members report cutting manual annotation time by 80–90% on custom object detection projects for warehouses, retail, and robotics.
Agentic document intelligence is another strong application — localizing tables, charts, form fields, and handwritten notes in unstructured documents (invoices, contracts, medical records) and returning auditable bounding boxes for every extracted element, without template-based rules that break on layout changes.
The model is available via NVIDIA’s HuggingFace page and runs at roughly 2.1GB in 4-bit NF4 quantization — smaller than most LLMs already on people’s machines. In LM Studio, it loads via the model browser using the community GGUF at yuuko-eth/LocateAnything-3B-GGUF. On Apple Silicon, the mlx-community/LocateAnything-3B-4bit version is available.
[!WARNING] License restriction: LocateAnything-3B ships under NVIDIA’s non-commercial license — research and academic use only. No commercial deployment. If you’re building a product, Moondream (Apache 2.0, commercial-friendly) or Qwen2.5-VL 3B (Apache 2.0) are the right commercial alternatives.
The Supporting Cast: Models Worth Knowing
Quick-reference overview before the individual breakdowns:
| Model | Params | VRAM @ Q4 | Context | License | Best For |
|---|---|---|---|---|---|
| Qwen3-8B | 8.2B | 5–6 GB | 128K | Apache 2.0 | Reasoning + coding, thinking mode |
| IBM Granite 4.1 8B | 8B | 5–6 GB | 131K | Apache 2.0 | Enterprise coding, reliable JSON output |
| Phi-4 Mini | 3.8B | 2–3 GB | 16K | MIT | Always-on, minimal footprint, any hardware |
| DeepSeek R1 Distill 8B | 8B | 5–6 GB | 128K | MIT | Deliberate math + logic reasoning |
| SmolLM3 3B | 3B | ~2 GB | 8K | Apache 2.0 | Ultra-lightweight background tasks |
| Devstral Small 2 | 24B | 16 GB+ | 128K | Apache 2.0 | Autonomous software engineering |
Qwen3-8B — Still the Benchmark King at 8B
Released April 2025 and still the r/LocalLLaMA default recommendation for the 8GB VRAM tier in June 2026. The dual-mode design — toggle thinking for complex tasks, disable it for fast conversation — remains the most practically useful architectural feature in the sub-10B class.
| Benchmark | Score |
|---|---|
| MMLU-Pro | 79.6% |
| GSM8K | 89.8% |
| HumanEval (thinking mode) | 90%+ |
| ARC-Challenge | 77.2% |
VRAM: 5–6GB at Q4_K_M. Fits comfortably on a RTX 4060 8GB with room for context. Available in LM Studio and via qwen3:8b on Ollama. The thinking-mode HumanEval score of 90%+ is the standout — this is the recommendation when you need a model that reasons about code, not just autocompletes it.
IBM Granite 4.1 8B — The Enterprise Coding Specialist
Released late April 2026. The top HumanEval score in the sub-10B class at 87.2%. Context window extends to 131K, with experimental 512K support. Apache 2.0 license — genuinely commercial-friendly. IBM built this for enterprise RAG pipelines and agentic tool-calling, and it shows in structured output reliability. If your agent needs to return valid, parseable JSON on every single call, Granite 4.1 8B is the model to benchmark against your workload. Available via the IBM Granite HuggingFace page.
Phi-4 Mini (3.8B) — The 8GB Machine Workhorse
Microsoft’s proof that training data quality beats parameter count. At 3.8B parameters, Phi-4 Mini matches or exceeds 8B model performance on MMLU (~73%), MATH (~62%), and ARC-Challenge (~83.7%), trained primarily on high-quality synthetic datasets. VRAM at 4-bit: roughly 2–3GB. This runs on everything — any 8GB GPU, any 16GB Mac, even Apple’s lower-tier M1 configurations. It’s the recommendation for background inference, always-on assistants, or any setup where you need capable AI without consuming your VRAM budget. The Phi-4 family at Microsoft HuggingFace also includes a multimodal variant (text + vision + speech at 5.6B) and a mini reasoning variant for long-context tasks.
DeepSeek R1 Distill (7B / 8B) — The Reasoning Specialist
Distillations of the full DeepSeek-R1 reasoning model, preserved in open weights. If you have a math problem, a logic puzzle, or a debugging task where you need deliberate chain-of-thought — and can tolerate slower generation — the R1 distillations remain the sub-10B leaders on AIME and GPQA reasoning benchmarks. The explicit trade-off: the <think> block generates substantially more tokens before the answer arrives. High quality, not high speed. Use for batch processing, async research tasks, and step-by-step debugging sessions — not for conversational interfaces or latency-sensitive agentic loops. Available as deepseek-r1:7b and deepseek-r1:8b on Ollama.
Devstral Small 2 (24B) — The Agentic Coding Ceiling
This sits above the 8GB/16GB hardware tier but deserves a mention because it answers a specific question: what’s the best open-weight local model for autonomous software engineering?
Devstral Small 2 from Mistral AI (jointly with All Hands AI) scores 68.0% on SWE-bench Verified — the benchmark for resolving actual GitHub issues in real codebases. For reference, Devstral Small 1 scored 46.8%. The jump is remarkable. It requires an RTX 4090 or 32GB+ Mac, but if you’re serious about local coding agents and have the hardware, this is currently the ceiling of what open-weight models can achieve at the task that actually matters for software engineering. A dense 24B architecture was deliberately chosen over MoE — Mistral’s position is that dense models provide more reliable multi-step agent reasoning than MoE routing for agentic loops.
Hardware Matrix: Know Your Tier
8GB VRAM (RTX 4060, RTX 3060, Arc A770)
The constraint is real but workable. The key discipline: at Q4_K_M, a 7–8B model uses 5–6GB, leaving 2–3GB for KV cache. Enough for everyday interactive use. Not enough for long document analysis. Optimise by closing GPU-accelerated browser tabs and screen recording apps before loading models — every megabyte matters at this tier.
| Model | VRAM @ 4-bit | Best Use |
|---|---|---|
| LocateAnything-3B (NF4) | ~2.1 GB | Visual grounding, GUI automation |
| SmolLM3 3B | ~2 GB | Lightweight text tasks |
| Phi-4 Mini (3.8B) | ~3 GB | General capable with maximum headroom |
| Gemma 4 E4B | ~4 GB | Edge multimodal tasks |
| LFM2.5-8B-A1B | ~5 GB | Fast tool-calling, 128K context |
| Qwen3-8B | ~5.5–6 GB | Best reasoning + coding at this tier |
| Gemma 4 12B | ~8.5–9 GB | ❌ Requires 12GB+ hardware |
[!TIP] Use Q4_K_M as your default quantization. Quality retention is approximately 96% of full precision. Avoid Q2 and Q3 — reasoning quality degrades severely below that threshold. Q5_K_M or Q6_K are worth the extra VRAM if you have 12GB+ cards.
12GB VRAM (RTX 4070, RTX 3080, RTX 4060 Ti 16GB)
The comfortable tier. Everything from the 8GB list, plus all 12B models at solid quality.
| Model | Recommended Quantization | Expected Speed |
|---|---|---|
| Qwen3-8B | Q6_K (higher quality) | 60–80 tok/s |
| Gemma 4 12B | Q4_K_M | 40–60 tok/s |
| IBM Granite 4.1 8B | Q6_K | 60–75 tok/s |
| LFM2.5-8B-A1B | Q5_K_M or Q8_0 | 50–70 tok/s |
| Mistral NeMo 12B | Q4_K_M | 35–55 tok/s |
16GB Unified Memory (M1 / M2 / M3 / M4 — any configuration)
Apple Silicon’s unified memory architecture is the competitive differentiator for local AI. The MLX framework, now Apple’s official neural inference stack, delivers 15–30% higher throughput than llama.cpp on M-series chips, and WWDC 2026 brought Metal 4’s dedicated GPU Neural Accelerators and NVFP4 quantization support to M4 and later chips.
| Model | Tool | Expected Speed |
|---|---|---|
| Gemma 4 12B | LM Studio (MLX) | 35–47 tok/s |
| Qwen3-8B | LM Studio (MLX) | 45–65 tok/s |
| LFM2.5-8B-A1B | Ollama or MLX weights | 60–80 tok/s |
| Phi-4 Mini | Any | 90–120 tok/s |
The strategic advantage of Apple Silicon over 12GB VRAM cards isn’t just headroom — it’s model tier access. A 32GB M2 Max can run Qwen3 30B at 15–25 tok/s. A 48GB M4 Max runs Devstral Small 2 (24B) comfortably. No consumer NVIDIA setup at a comparable price point can touch that.
Your Local AI Stack: Tools to Know in 2026
| Tool | Platform | Best For | Standout Feature | Local API |
|---|---|---|---|---|
| LM Studio | Mac + Windows | GUI-first, Apple Silicon | MLX default backend; drag-and-drop model management | ✅ OpenAI-compatible |
| Ollama | Mac + Windows + Linux | Developer CLI | MCP tool registry, one-command model switching | ✅ OpenAI-compatible |
| Jan.ai | Mac + Windows + Linux | Privacy-first, non-technical users | WhatsApp / Slack / Discord MCP bridges; AMD ROCm | ✅ OpenAI-compatible |
| mlx_lm | Mac (Apple Silicon only) | Max throughput, no UI overhead | Direct HuggingFace pull, lowest latency on M-series | ✅ REST |
[!NOTE] All models in this guide are available through LM Studio’s model browser without touching a terminal. Search the model name, select your quantization tier, click download. The MLX or GGUF backend is selected automatically based on your hardware.
The Full Benchmark Picture
Cross-Model Comparison (8GB / 16GB Tier)
| Model | Params | MMLU-Pro | MATH500 | HumanEval | IFEval | Context | Multimodal |
|---|---|---|---|---|---|---|---|
| Gemma 4 12B | 12B | 77.2% | ~70% | ~75% | ~82% | 256K | ✅ Text + Image + Audio |
| Qwen3-8B | 8.2B | 79.6% | ~72% | 76–90%+ | ~85% | 128K | ❌ |
| LFM2.5-8B-A1B | 8.3B (1.5B active) | ~55% | 88.76% | ~35% | 91.84% | 128K | ❌ |
| IBM Granite 4.1 8B | 8B | 56% | N/A | 87.2% | N/A | 131K | ❌ |
| DeepSeek R1 Distill 8B | 8B | ~70% | N/A | ~82% | N/A | 128K | ❌ |
| Phi-4 Mini | 3.8B | 52.8% | ~62% | N/A | ~78% | 16K | ❌ |
| Llama 3.1 8B | 8B | ~73% | ~52% | 72.6% | ~80% | 128K | ❌ |
Inference Speed by Hardware (Q4_K_M Quantization)
| Hardware | 8B Model | 12B Model |
|---|---|---|
| RTX 4070 12GB | 60–80 tok/s | 40–60 tok/s |
| RTX 3060 12GB | 40–60 tok/s | 25–40 tok/s |
| M4 Max (any memory) | 70–90 tok/s | 50–70 tok/s |
| M2 Max | 50–70 tok/s | 35–55 tok/s |
| M1 Pro / M1 Max | 30–45 tok/s | 20–35 tok/s |
VLM Grounding: LocateAnything-3B vs. the Field
| Model | RefCOCOg | ScreenSpot-Pro | Speed | License |
|---|---|---|---|---|
| LocateAnything-3B | 91.0% F1 | 60.3% F1 | 12.7 boxes/sec | Non-commercial |
| Qwen2.5-VL 3B | High (general) | ~52% | ~5 boxes/sec | Apache 2.0 |
| Moondream 2B | High (specialized) | High | Fast | Commercial OK |
| SmolVLM 2B | Moderate | Moderate | Very fast | Apache 2.0 |
What These Models Enable for Everyday Agentic Work
Benchmarks describe capability. Use cases describe value. Here’s what developers are actually building on this hardware tier right now.
| Use Case | Best Model | What It Replaces | Key Advantage |
|---|---|---|---|
| Codebase-aware coding agent | Gemma 4 12B (256K context) | Cloud API coding assistant | Entire project in one context, native function calling |
| Screenshot-driven GUI automation | LocateAnything-3B | Playwright + CSS selectors | Any GUI regardless of framework — web, desktop, OS |
| Structured data batch pipelines | LFM2.5-8B-A1B | Cloud batch processing APIs | ~37 tok/s CPU, 128K context, zero KV cache growth |
| Private document RAG | Any 128K+ model + local vector DB | Cloud embeddings + search | Zero data egress, documents never leave hardware |
| Auto-annotation for ML datasets | LocateAnything-3B + SAM2 | Manual labelling tools | 80–90% reduction in annotation time |
| Always-on coding assistant | Qwen3-8B (thinking mode off) | Copilot / cloud tab-complete | Sub-second response, no subscription, no data sharing |
All six workflows run without a cloud account, without per-token billing, and without data ever leaving the host machine.
The Honest Caveats
| Model / Topic | Caveat | The Fix |
|---|---|---|
| LocateAnything-3B | Non-commercial license — hard stop for products | Use Moondream (Apache 2.0) or Qwen2.5-VL 3B for revenue-generating deployments |
| LFM2.5-8B-A1B | ”Dumb but fast” — 1.5B active params limits depth | Use as executor, not orchestrator; pair with Gemma 4 or Qwen3 for planning |
| Gemma 4 12B | Highly sensitive to sampling config | Set temperature=1.0, top_p=0.95, top_k=64 — non-negotiable; verify thinking mode is active |
| Gemma 4 12B community fine-tunes | IQ3_XXS / IQ3_S quantizations cause attention collapse | Stay at Q4_K_M or larger for all Gemma 4 variants |
| Every model in this guide | Benchmark score ≠ performance on your workload | Test on your actual task — MMLU measures recall, not agent reliability |
The Recommendation Matrix
| Your hardware | Primary use | Top pick |
|---|---|---|
| 8GB VRAM | Reasoning + coding | Qwen3-8B |
| 8GB VRAM | GUI automation / visual grounding | LocateAnything-3B |
| 8GB VRAM | Always-on background agent | LFM2.5-8B-A1B |
| 8GB VRAM | Tightest possible footprint | Phi-4 Mini |
| 16GB Mac | General purpose + vision + audio | Gemma 4 12B via Ollama |
| 16GB Mac | Speed-first agentic inference | LFM2.5-8B-A1B via MLX |
| 12GB VRAM | Enterprise coding / structured output | IBM Granite 4.1 8B |
| 12GB VRAM | Math + step-by-step reasoning | DeepSeek R1 Distill 8B |
| RTX 4090 / 32GB Mac | Autonomous software engineering | Devstral Small 2 |
Where Dataxad Fits In
At Dataxad, we’ve spent the last year building agentic infrastructure for teams that cannot, or will not, send proprietary code and documents to cloud APIs. The models in this guide are what we now recommend for the inference layer of private agent deployments.
Local-first doesn’t mean compromising on capability in 2026. It means keeping your competitive edge on hardware you control.
If you’re evaluating whether local inference makes sense for your team’s workflows — agentic coding, private RAG, document intelligence, or GUI automation — contact us. We design and deploy the infrastructure layer so your team can focus on what the agents actually do.
Sources & Further Reading
- Gemma 4 12B — Official HuggingFace Model Card
- Gemma 4 QAT Checkpoint (Google)
- Gemma 4 Coder Fine-tune — Fable5 + Composer 2.5 GGUF
- LFM2.5-8B-A1B — Liquid AI HuggingFace
- LFM2.5-8B-A1B GGUF (Official)
- Liquid AI Product Blog
- LocateAnything-3B — NVIDIA HuggingFace
- LocateAnything-3B Interactive Demo
- LocateAnything arXiv Paper — arXiv:2605.27365
- LocateAnything-3B GGUF (Community)
- MLX Community — LocateAnything 4-bit for Apple Silicon
- Qwen3-8B — Alibaba Cloud HuggingFace
- IBM Granite 4.1 8B (Apache 2.0)
- Devstral Small 2 — Mistral AI
- EvalPlus Coding Benchmark Leaderboard
- LiveBench — Contamination-Resistant LLM Evaluation
- Chatbot Arena Elo Rankings — lmarena.ai
- Artificial Analysis — Model Speed & Quality Benchmarks
- LM Studio — Local AI Inference App
- Ollama — Local Model Library
Sam Jacobson is the founder of Dataxad (Maylen Holdings LTD), an AI and data consulting firm based in Tel Aviv. Contact: [email protected]