Best Local LLMs 2026 for Canadians — by Use Case and Hardware Tier
For general use on consumer hardware, Qwen3-32B (Apache 2.0) or Llama 4 Scout (MoE) lead the open-weight field.
For coding, Qwen3-235B-A22B tops open-weight SWE-bench leaderboards but requires a multi-GPU rig; Qwen3-27B covers most developer tasks on 24 GB VRAM.
For RAG / document Q&A, Qwen3-7B or Qwen3-14B fit inside modest hardware and follow retrieval context reliably.
For low-VRAM or laptop deployment, Gemma 4 E4B (QAT, ~3–6 GB) and Phi-4 Mini (3.8B, ~3 GB) are the current best-in-class options.
Every model below runs fully on your own hardware — no API, no data leaving your network.
Open-weight models have closed most of the quality gap with proprietary frontier APIs. For Canadian organizations — particularly those subject to Quebec Law 25, federal privacy obligations, or the US CLOUD Act risk — running AI locally is no longer a compromise; it is the strategically correct choice.
This roundup maps the strongest open-weight models to the use cases and hardware tiers where they actually excel. We cover four use-case categories and four hardware tiers. Every VRAM figure is approximate; actual usage varies with context window length, batch size, quantization tool, and inference framework. Hedge accordingly and test before buying hardware.
D-Central Technologies stands on the shoulders of the open-model community — Meta, Alibaba Cloud (Qwen), Google DeepMind (Gemma), Microsoft Research (Phi), Mistral AI, DeepSeek, and the hundreds of researchers and contributors to llama.cpp, Ollama, vLLM, and the Hugging Face ecosystem who made local inference practical. This roundup exists because of their work.
See also: Local LLM Canada — the full Canadian context for running AI on your own hardware; our open Local LLM Model Database with structured per-model specs; and the VRAM calculator to size any model for your hardware.
How we evaluated these models
This list is not a formal benchmark study — it is a synthesis of publicly available benchmark data, community-reported performance, and licensing metadata as of mid-2026. The field moves extremely fast: models that lead today may be superseded within weeks. Treat every recommendation as a starting point and verify current rankings at Open LLM Leaderboard and SWE-bench Pro Leaderboard before committing to a model for production use.
Key criteria we applied:
- Licence: Is it safe for commercial use in Canada without royalties or usage caps?
- VRAM feasibility: Does it fit in realistic hardware tiers without exotic quantization?
- Inference framework support: Does it run in Ollama (simplicity) and/or vLLM (throughput)?
- Community maturity: Are there active fine-tunes, GGUF releases, and troubleshooting resources?
- Benchmark signal: Does it lead (or closely follow leaders) on use-case-relevant benchmarks?
We did not fabricate any benchmark number. Where figures below come from specific sources, we cite them. Where we could not confirm a figure, we flag it as unverified or omit it.
Best local LLMs by use case
General-purpose chat and reasoning
For a general-purpose assistant — summarization, Q&A, writing, translation, light analysis — the most important variables are licence, ecosystem maturity, and the quality-to-VRAM ratio. Two model families dominate this space in 2026.
| Model | Params | Licence | Approx. VRAM at Q4 | Why it stands out |
|---|---|---|---|---|
| Qwen3-32B Alibaba Cloud, 2025 |
32B (dense) | Apache 2.0 | ~20–22 GB | Strong reasoning; Apache 2.0 is the cleanest commercial licence; top of its class on GPQA Diamond; runs on a 24 GB workstation |
| Llama 4 Scout Meta, 2025 — MoE (17B active / 109B total) |
17B active (MoE) | Llama 4 Community Licence | ~55 GB (all experts must load) | 10M-token context window — unmatched for long-document work; strong general quality; MoE means fast inference per token despite large footprint; available in Ollama |
| Mistral 7B v0.3 Mistral AI, 2024 |
7B (dense) | Apache 2.0 | ~5–6 GB | Mature ecosystem, extensive community fine-tunes, excellent instruction following for its size; runs on 8 GB GPU; the “safe default” for constrained hardware |
Licence note: Llama 4 Community Licence allows commercial use but includes usage restrictions (e.g., derivative model restrictions above certain user thresholds). Review the full licence at Meta’s website before production deployment. Qwen3 and Mistral 7B Apache 2.0 licences have no such restrictions. All VRAM figures are approximate.
Canadian sovereignty note: All three models can be downloaded and run entirely air-gapped. No API key, no data leaving your network. The Llama 4 Community Licence applies to the weights — it does not restrict where you run inference.
Coding and software engineering
Coding models are evaluated primarily on SWE-bench (real-world GitHub issues) and HumanEval (Python code generation). The gap between “best general model” and “best coding model” is significant — and so is the hardware gap.
| Model | Licence | SWE-bench signal | Min. VRAM (INT4) | Verdict |
|---|---|---|---|---|
| Qwen3-235B-A22B Alibaba Cloud, 2025 — MoE (22B active) |
Apache 2.0 | 21.41 on SWE-bench Pro (source: Scale AI leaderboard 2026) | ~130–150 GB Multi-GPU required |
Strongest open-weight coding model; requires 2–3×H100 (80 GB) minimum; not a single-workstation model at full precision |
| Qwen3-27B Alibaba Cloud, 2025 |
Apache 2.0 | Strong HumanEval; best single-GPU coding model at this weight class (source: community benchmarks — verify independently) | ~17–18 GB | Runs on a 24 GB workstation; the practical sweet spot for solo developers and small teams who cannot justify a multi-GPU rig |
| Llama 4 Maverick Meta, 2025 — MoE (17B active / 400B total) |
Llama 4 Community Licence | 5.24 on SWE-bench Pro; highest MMLU (85.5%) but MMLU alone doesn’t capture coding depth | ~200–240 GB Multi-GPU required |
Strong general model; coding is not its primary differentiator vs Qwen3-235B at this hardware tier |
SWE-bench Pro figures: Scale AI leaderboard, accessed June 2026 — verify current rankings at labs.scale.com. VRAM for Qwen3-235B and Llama 4 Maverick are approximate at INT4/Q4; both are MoE models requiring all expert weights in memory.
Practical recommendation for most developers: Qwen3-27B on a 24 GB workstation covers 80–90% of day-to-day coding assistance tasks. Reserve the multi-GPU rig for Qwen3-235B only if you are running an agent that needs to solve novel software engineering challenges, not just write boilerplate.
RAG and document Q&A
For retrieval-augmented generation (RAG) — where the model answers questions from retrieved document chunks — raw benchmark scores are less important than instruction-following quality and hallucination resistance when working from context. The community consensus on the key insight: retrieval quality (embedding model + chunking strategy) often matters more than raw model size. A sharp 14B model with a good retrieval pipeline routinely outperforms a 70B model with poor chunking.
| Model | Licence | Approx. VRAM (Q4) | Why it works for RAG |
|---|---|---|---|
| Qwen3-14B Alibaba Cloud, 2025 |
Apache 2.0 | ~9–10 GB | Strong multilingual instruction following (100+ languages); reliable at extracting answers from retrieved context without hallucinating beyond the chunks; fits on a 12 GB consumer GPU |
| Qwen3-7B Alibaba Cloud, 2025 |
Apache 2.0 | ~5–6 GB | Excellent quality-per-GB; runs on 8 GB VRAM; appropriate for a private document Q&A assistant for a small team; think mode available for more careful reasoning |
| Mistral 7B v0.3 Mistral AI, 2024 |
Apache 2.0 | ~5–6 GB | Community-reported low hallucination rate when answering from retrieved context; fastest at 7B class; strong ecosystem (many RAG-specific fine-tunes available on Hugging Face) |
| Llama 3.3 8B Meta, 2024 |
Llama 3 Community Licence | ~5–6 GB | Widest open-weight ecosystem; most RAG frameworks (LangChain, LlamaIndex, Haystack) have tested integrations; safe default if your tooling is already Llama-ecosystem |
Sources: Qwen3 multilingual coverage — Alibaba Cloud Qwen3 technical report (arxiv.org/abs/2505.09388). Mistral hallucination characterization and Llama ecosystem assessment — community synthesis, serverman.co.uk Ollama RAG guide 2026 and sitepoint.com local LLM comparison 2026. Treat as directional guidance and verify for your specific domain and language.
Embedding model: don’t neglect it
Your LLM is only half the RAG pipeline. You also need an embedding model to convert documents into searchable vectors. Popular open-weight options that run locally: nomic-embed-text (available in Ollama), bge-m3 (multilingual, strong for French-English bilingual Canadian deployments), and mxbai-embed-large. These models are much smaller than LLMs (<1 GB) and can run on CPU. The embedding model choice has an outsized impact on retrieval quality relative to its compute cost.
Low-VRAM and edge deployment (4–8 GB GPU or CPU-only)
Not everyone has a dedicated GPU workstation. Consumer laptops, mini-PCs, and edge devices with 4–8 GB of VRAM or no GPU at all still have useful local LLM options — they just require small models and realistic expectations about quality.
| Model | Params | Licence | Approx. VRAM / RAM | Strengths |
|---|---|---|---|---|
| Gemma 4 E4B QAT Google DeepMind, 2025 |
4B effective (QAT/INT4) |
Gemma Terms Free for most uses; verify |
~3–6 GB VRAM (8 GB recommended) |
Multimodal (text + audio in some variants); optimized for consumer GPU via quantization-aware training; strong quality at this size class; runs on laptop GPUs |
| Phi-4 Mini Microsoft Research, 2025 |
3.8B | MIT | ~3–4 GB VRAM (runs on 8 GB or CPU) |
Best reasoning per parameter at this size class (Phi-4 Mini Reasoning variant); strong on MATH benchmarks for a 4B model; MIT licence is maximally permissive; excellent for offline reasoning tools |
| Qwen3-4B Alibaba Cloud, 2025 |
4B | Apache 2.0 | ~3–4 GB VRAM | Apache 2.0 commercial licence; multilingual; “think” mode for slower, more careful reasoning on difficult tasks; part of a family that scales seamlessly up to 235B if your needs grow |
| Qwen3-8B Alibaba Cloud, 2025 |
8B | Apache 2.0 | ~5–6 GB VRAM (tight on 6 GB; 8 GB recommended) |
The step-up from 4B for users with 8 GB VRAM; noticeably better instruction following and context handling than 4B; still runs on consumer hardware |
Sources: Gemma 4 E4B QAT VRAM figures — Google DeepMind QAT announcement + Unsloth Gemma 4 QAT documentation. Phi-4 Mini — Microsoft Research model card (huggingface.co/microsoft/Phi-4-mini); MATH score 80.4% per siliconflow.com/articles/en/best-LLMs-for-low-VRAM-GPUs 2026. Qwen3-4B/8B — Alibaba Cloud Qwen3 model page; figures approximate. Gemma Terms of Service should be verified at ai.google.dev before commercial production use.
CPU-only deployments: All four models above can run on CPU-only hardware via llama.cpp or Ollama. Expect 2–10 tokens per second depending on RAM speed and model size — usable for personal assistants, not real-time team tools. For CPU deployments, use the smallest viable model (Phi-4 Mini or Qwen3-4B at Q4) and 32 GB system RAM as a minimum.
Best local LLM by hardware tier
Use this table as a quick-reference guide: find your hardware tier, pick from the recommended models. VRAM figures assume GGUF Q4 quantization via Ollama or llama.cpp unless otherwise noted. Add 10–20% headroom for KV cache at practical context lengths.
| Hardware tier | GPU (example) | Best models | Notes |
|---|---|---|---|
| 4–8 GB VRAM Laptop / mini-PC |
RTX 4060, RTX 3060 8 GB, Apple M2 16 GB unified | Gemma 4 E4B QAT · Phi-4 Mini · Qwen3-4B · Qwen3-7B (tight on 6 GB) | Personal assistant tier. Context windows must stay short (<4K tokens). Mistral 7B fits on 8 GB and is a strong alternative if Qwen3 GGUF support is limited on your platform. |
| 12–16 GB VRAM Prosumer workstation |
RTX 4080, RTX 3090 (12 GB), Apple M2/M3 Pro 32 GB unified | Qwen3-7B · Qwen3-8B · Qwen3-14B · Mistral 7B · Llama 3.3 8B | Developer sweet spot. Qwen3-14B is the recommended model at this tier — substantially better than 7B, still fits on a 16 GB card. Strong for RAG and general coding at small scale. |
| 24 GB VRAM Workstation (RTX class) |
RTX 4090 (24 GB), RTX 6000 Ada, Apple M3 Max 128 GB unified | Qwen3-27B Q4 · Qwen3-32B Q4 (tight on 24 GB) · Llama 3.3 70B Q4 (offloads to RAM) · Mistral Large | A 24 GB GPU is the minimum for serious developer productivity. Qwen3-27B Q4 (~17 GB) is the recommended choice — strong coding and reasoning with comfortable VRAM headroom. |
| 48–80 GB VRAM Workstation / single-GPU server |
RTX 6000 Ada 48 GB, H100 SXM 80 GB, A100 80 GB, Apple M3 Ultra / DGX Spark (128 GB unified) | Llama 4 Scout INT4 (~55 GB, tight on 48 GB / comfortable on 80 GB) · Qwen3-72B Q4 · Llama 3.3 70B BF16 | At this tier, Llama 4 Scout is the recommended default for its 10M-token context window. Qwen3-72B Q4 is the coding-biased alternative. Run vLLM instead of Ollama for team deployments at this tier. |
| Multi-GPU cluster Hashcenter AI node |
2–8×H100 80 GB (160–640 GB total VRAM) | Qwen3-235B-A22B (INT4, ~130–150 GB) · Llama 4 Maverick (INT4, ~200–240 GB) · DeepSeek V4 Pro (INT4, ~430–470 GB — see the full DeepSeek sizing guide) | vLLM with expert parallelism is mandatory. These are production API deployments serving teams of 20–100+. Sizing varies significantly by context window, batch size, and quantization precision — consult before purchasing hardware. |
VRAM figures are approximate and based on community-reported inference measurements as of mid-2026. MoE model footprints (Llama 4 Scout, Qwen3-235B, DeepSeek V4 Pro) require all expert weights to be loaded — the “active parameter” count does not reduce memory footprint. Use the VRAM calculator to estimate your specific configuration.
The open-model community that makes all of this possible
Every model on this page is the output of years of public research and engineering by teams who chose to release their work openly. We owe them credit:
- Meta AI — Llama model series, a foundational contribution to open-weight AI that created the ecosystem for thousands of fine-tuned variants.
- Alibaba Cloud / Qwen team — Qwen3’s Apache 2.0 licence and consistent quality-to-size leadership has raised the floor for the entire open-weight community.
- Google DeepMind / Gemma team — Gemma 4’s quantization-aware training at the 4B scale solved the low-VRAM problem for an enormous class of users.
- Microsoft Research — Phi-4 demonstrated that small models trained on high-quality synthetic data can punch far above their parameter count on reasoning tasks.
- Mistral AI — Mistral 7B pioneered the Apache 2.0 community model release and sparked the ecosystem that followed.
- DeepSeek — DeepSeek V3/V4’s MIT release at frontier quality forced the entire industry to reconsider what open-weight models can achieve.
- llama.cpp (ggerganov et al.), Ollama, vLLM (vLLM team at UC Berkeley and open contributors), Unsloth, and the Hugging Face ecosystem — the toolchain that turns model weights into actually runnable local deployments. Without llama.cpp’s GGUF format and Ollama’s one-command interface, most of this page would not be practical for the average developer.
D-Central helps Canadian organizations procure and operate hardware that runs these models. The intellectual credit belongs to the researchers and engineers above.
Where the cloud still wins — honest limits of local LLMs
This site advocates strongly for local AI, but we do not pretend the trade-offs do not exist. Here is an honest assessment of where cloud AI currently has a practical advantage:
| Dimension | Cloud advantage | Local response |
|---|---|---|
| Frontier quality | GPT-4o, Claude Sonnet, Gemini Ultra — proprietary closed models still lead on complex multi-step reasoning in some domains, particularly nuanced language tasks | The gap is narrowing rapidly. Qwen3-235B and Llama 4 Scout match or exceed frontier models on many benchmarks as of 2026. For most business tasks, quality difference is marginal. |
| Zero hardware cost to start | API pricing is pay-per-token — no upfront hardware investment; scales to zero cost when not in use | Local hardware has real capex. For very low-volume, non-sensitive workloads, cloud APIs may have a lower total cost at 1–2 years; local wins at 3–5 years. Use the Local LLM Canada TCO analysis to model your specific case. |
| Latest model availability | Cloud providers release new model versions immediately; you are always on the latest generation without hardware upgrades | Open-weight models follow cloud models by weeks to months in capability. This is narrowing but real. Hardware is not instantly upgradeable. |
| Elastic scaling | Need 100× the capacity for a one-day event? Cloud scales instantly. | Local capacity is fixed. For highly bursty workloads with unpredictable peaks, hybrid (local baseline + cloud burst) may be the right architecture. |
| Operational simplicity | One API key; no GPU drivers, inference server config, or hardware maintenance | Local inference requires someone who can manage Linux, CUDA or ROCm drivers, and an inference server (Ollama or vLLM). D-Central’s AI Sovereignty Consulting covers this for organizations without in-house expertise. |
Bottom line: If your data is not sensitive, your volume is low, and you do not have IT capacity to manage inference servers — start with the cloud. If any of those conditions are false, local is the strategically sound choice. Most Canadian organizations with real AI workloads find local justified within 18 months.
Why Canadian organizations need to think about model sovereignty — not just model quality
The June 2026 US export-control directive restricting Anthropic’s Claude Fable and Mythos APIs for foreign nationals illustrated the structural risk of cloud AI dependency: a Canadian organization’s AI capability can be suspended by US government policy with little notice. This is not hypothetical; it happened.
Three sovereignty factors that apply to model selection:
- Licence portability: Models under Apache 2.0 (Qwen3, Mistral) and MIT (Phi-4, DeepSeek) can be downloaded, stored, and run indefinitely regardless of what happens to the company that released them. Proprietary API models cannot. Llama 4 Community Licence is more restrictive — review the terms before assuming perpetual access.
- Quebec Law 25: Personal data routed through US API endpoints — even endpoints with Canadian datacentres — is subject to CLOUD Act access. A Privacy Impact Assessment is required for cross-border transfers of personal data. Running models locally eliminates this requirement for the AI processing layer.
- Model weights are assets, not subscriptions: A Qwen3-32B GGUF file is a file you own. You can version-control it, back it up in Quebec, and run it air-gapped. An API key is a subscription that can be revoked.
For the full Canadian context, see Sovereign AI Canada and Replace Cloud AI with a Local LLM. For Quebec-specific compliance framing, see Quebec Law 25 and On-Premise LLMs.
Go deeper: per-model setup guides and the model database
This roundup gives you the selection decision. Once you have chosen a model, go deeper:
- Run DeepSeek locally — Canadian setup guide — Step-by-step Ollama and vLLM setup for DeepSeek V3 and V4 on Canadian hardware; data-jurisdiction warnings; sizing tables.
- Local LLM Canada — The full Canadian case for local AI: Law 25, CLOUD Act, cost modelling, recommended stacks by organization size.
- Open Local LLM Model Database — Structured JSON data on 50+ open-weight models: parameters, licence, VRAM requirements, context window, inference framework support, benchmark scores. Free, CC BY 4.0, queryable via the public API.
- VRAM Calculator — Enter your model and quantization level; get VRAM estimates and hardware tier recommendations.
- AI Consulting Quebec — On-premises AI for Quebec organizations: compliance framing, hardware selection, implementation support.
Frequently asked questions
What is the best local LLM for a Canadian business in 2026?
For most Canadian SMBs, Qwen3-27B or Qwen3-32B on a 24–48 GB GPU workstation is the recommended starting point as of mid-2026. Qwen3 carries an Apache 2.0 licence (no usage restrictions), strong multilingual capability (relevant for English-French bilingual organizations), and competitive quality on coding, reasoning, and instruction-following benchmarks. The exact model depends on your use case: Qwen3-14B for RAG-heavy document Q&A on 16 GB VRAM; Qwen3-27B for developer productivity on 24 GB; Llama 4 Scout for long-document processing on 64–80 GB. The field moves fast — verify current rankings at the Open LLM Leaderboard before finalizing.
Which local LLM runs on 8 GB of VRAM?
On an 8 GB GPU, your practical options as of mid-2026 are Phi-4 Mini (3.8B, ~3–4 GB), Gemma 4 E4B QAT (~3–6 GB), Qwen3-4B (~3 GB), and Qwen3-7B / Mistral 7B (~5–6 GB, tight on 8 GB). All four run in Ollama with a single command. Phi-4 Mini is the strongest for reasoning tasks at this tier; Qwen3-7B has the best instruction-following for its size. Avoid models larger than 8B at Q4 on 8 GB VRAM — they will offload to CPU RAM, slowing inference significantly.
What is the best open-weight coding model I can run locally?
The open-weight coding leader on SWE-bench Pro as of mid-2026 is Qwen3-235B-A22B, scoring 21.41 on SWE-bench Pro (Source: Scale AI leaderboard, accessed June 2026). However, it requires a multi-GPU setup (~130–150 GB VRAM at INT4). For a single GPU workstation with 24 GB VRAM, Qwen3-27B is the practical recommendation — strong HumanEval and general coding performance at a hardware tier most developers can actually purchase. Verify current leaderboard rankings before committing; this space moves fast.
Which local LLMs are safe for commercial use in Canada?
The cleanest licences for unrestricted commercial use are Apache 2.0 (Qwen3 family, Mistral 7B) and MIT (Phi-4, DeepSeek). The Llama 4 Community Licence and Gemma Terms of Service permit commercial use but include restrictions — review them before deployment, particularly if you will redistribute fine-tuned versions or serve more than a threshold number of users. D-Central is not a legal counsel and this is not legal advice; have your organization’s counsel review any licence before production commitment.
Can I run a local LLM without a GPU in Canada?
Yes. Small models (Phi-4 Mini, Qwen3-4B, Gemma 4 E4B at Q4) run on CPU-only hardware via llama.cpp or Ollama. Expect 1–5 tokens per second on a modern multi-core CPU with 32 GB RAM — slow enough to feel noticeably different from GPU inference, but functional for personal assistants and low-volume tools. Apple Silicon Macs with unified memory (M2/M3, 16 GB+) are a special case: they run GPU inference on-chip at close to discrete GPU speeds without a separate video card. An M3 Max with 64 GB unified memory comfortably runs Qwen3-32B at Q4.
Does running a local LLM satisfy Quebec Law 25?
Running model inference on hardware located within Canada eliminates the cross-border data transfer concern that Law 25 targets for the AI processing layer. Your data stays in Canada and never touches a US data centre or API. However, Law 25 compliance is broader than just data location — it covers consent, retention, individual rights, and Privacy Impact Assessments for automated decision-making. Running locally solves the cross-border transfer requirement for AI processing; it does not automatically satisfy the full Law 25 framework. Consult your privacy counsel. See Quebec Law 25 and On-Premise LLMs for the full breakdown.
What is the difference between an open-source and an open-weight model?
“Open-weight” means the trained model weights are publicly downloadable; it says nothing about the training data or training code. “Open-source” strictly means the full source code, training data, and training process are released under an OSI-approved licence. Most models on this page are open-weight but not fully open-source: you can download and run Qwen3-32B, but Alibaba has not released the full training dataset. For almost all local-inference use cases, the distinction is academic — you care about running the weights, not replicating the training run. The licence that matters for deployment is the weights licence (Apache 2.0, MIT, etc.), not the OSI status.
Need help selecting and deploying the right model for your organization?
D-Central’s AI Sovereignty Consulting team works with Canadian businesses and public-sector organizations to select the right open-weight model, size the hardware, deploy the inference stack, and handle Law 25 data-jurisdiction requirements. Engagements are scoped individually; no auto-generated proposals.
Related resources
- Local LLM Canada — why running AI locally matters for Canadian organizations
- Run DeepSeek locally in Canada — step-by-step setup guide
- Open Local LLM Model Database — structured data on 50+ open-weight models
- VRAM Calculator — size any model for your hardware tier
- AI Consulting Quebec — on-premises AI for Quebec organizations
- AI Sovereignty Consulting — four-tier service from advisory to full hashcenter build-out
- Sovereign AI Canada — the strategic case for Canadian AI sovereignty
- Replace cloud AI with a local LLM — the practical migration guide
- Local AI vs cloud AI — comparison, costs, and trade-offs
- Quebec Law 25 and on-premise LLMs — compliance guide
- Distributed Compute — decentralized infrastructure beyond a single node
Related products, repair, and setup paths
- self-hosted AI for Bitcoiners hub
- plebs guide to self-hosted AI
- install Ollama in 10 minutes
- LM Studio vs Ollama vs llama.cpp
- connect local AI to Home Assistant and Obsidian
- self-hosted AI troubleshooting
- repurpose mining hardware into an AI hashcenter
- local AI model leaderboards
Last reviewed June 18, 2026.
