whatmodel.sh · find the best AI models you can run

Best AI models for agents to run locally on a 16GB Mac

A leaderboard of the best AI models for agents you can run locally on a Mac with 16GB of memory. SmolLM3 3B is #1 right now, followed by Spark-X2.5 4B and MiMo-V2.6-Distill-Qwen-9B. Models are ranked on agent tests like SWE-bench and Terminal-Bench, where they use tools, write code and work in a terminal. Each model shows the download that fits and the command to run it.

89 models · scores combine 76 benchmarks · updated how it works · find a leaderboard · benchmark your machine

Scores use reviewed agent tasks evaluations only. Compare scores within this task. Models without task measurements are excluded.

Models for 16GB RAM · Apple Silicon → ~11GB fast · local only · reset
+ more
$ terminal

detecting your OS…

Score vs memory to run

#modeltask score↓where↓speed↓RAM↓context↓get itsources
103SmolLM3 3B · 8-bit Hugging Face59±11*†local~5.9GB66kllama.cpp › HuggingFaceTB/SmolLM3-3B model card (Evaluation section)
119Spark-X2.5 4B · 16-bit iFLYTEK (SparkLLM)56±2†local~10GB1MOllama › XHToken/Spark-X2.5-4B model card
127MiMo-V2.6-Distill-Qwen-9B · 4-bit Xiaomi56±3†local~8.6GBllama.cpp › XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B model card
137MiniCPM5 2B · 4-bit OpenBMB55±3†local~4.3GB131kLM Studio › openbmb/MiniCPM5-2B model card
157Qwen3.5 9B · 4-bit Alibaba51±1local~8.1GB262kOllama › JetBrains/Mellum2.1-12B-A2.5B-Thinking model cardXiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B model cardXHToken/Spark-X2.5-4B model cardContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)Qwen/Qwen3.5-9B model cardJetBrains/Mellum2-12B-A2.5B-Instruct model card+3
159Mellum2.1 12B-A2.5B Thinking · 4-bit JetBrains50±3†local~10GBllama.cpp › JetBrains/Mellum2.1-12B-A2.5B-Thinking model card
166Gemma 4 12B · 4-bit Google48±2local~9.5GB262kOllama › Gemma Team — Gemma 4 Technical ReportXHToken/Spark-X2.5-4B model cardgoogle/gemma-4-31B-it model card
171Granite 4.2 8B · 4-bit IBM48±2†local~7.6GB131kOllama › ibm-granite/granite-4.2-30b model card
174Qwen3.5 4B · 4-bit Alibaba47±1local~6.9GB262kLM Studio › openbmb/MiniCPM5-2B model cardXHToken/Spark-X2.5-4B model cardQwen/Qwen3.5-9B model cardJetBrains/Mellum2-12B-A2.5B-Instruct model cardLiquidAI/LFM2.5-2.6B model cardJetBrains/Mellum2-12B-A2.5B-Thinking model card+1
182LFM2.5 2.6B · 4-bit Liquid AI46±2local~4.5GB131kLM Studio › openbmb/MiniCPM5-2B model cardLiquidAI/LFM2.5-2.6B model card
185Qwen3 4B Thinking 2507 · 8-bit Alibaba46±2†local~7.1GB262kOllama › Qwen/Qwen3-4B-Thinking-2507 model card
188Nemotron-Cascade-14B-Thinking · 4-bit NVIDIA46±4*†local~10GBLM Studio › NVIDIA — Nemotron-Cascade: Scaling Cascaded Reinforcement Learning for General-Purpose Reasoning Models
189Qwen3 14B · 4-bit Alibaba46±1local~10GB33kLM Studio › Berkeley Function Calling Leaderboard result archiveMUA-RL: Multi-turn User-interacting Agent Reinforcement Learning for agentic tool use (arXiv:2508.18669v1)
196Granite 4.2 3B · 8-bit IBM45±2local~5.6GB131kllama.cpp › openbmb/MiniCPM5-2B model cardibm-granite/granite-4.2-30b model card
197Mellum2 12B-A2.5B Instruct · 4-bit JetBrains45±4*†local~10GB131kllama.cpp › JetBrains/Mellum2-12B-A2.5B-Instruct model card
198Nemotron Nano 9B v2 · 4-bit NVIDIA45±4*†local~9.1GB131kLM Studio › NVIDIA — Nemotron-Cascade: Scaling Cascaded Reinforcement Learning for General-Purpose Reasoning ModelsNVIDIA vendor-reported benchmark scores for its own Nemotron models (Hugging Face model cards)
200Qwen3-VL 4B Thinking · 8-bit Alibaba45±3*†local~6.9GB256kOllama › Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)
207Falcon-H1R 7B · 4-bit TII44±2*†local~10GB262kLM Studio › Falcon-H1R: Pushing the Reasoning Frontiers with a Hybrid Model for Efficient Test-Time Scaling
209Qwen3 8B · 8-bit Alibaba44±1local~11GB33kllama.cpp › Berkeley Function Calling Leaderboard result archiveFalcon-H1R: Pushing the Reasoning Frontiers with a Hybrid Model for Efficient Test-Time ScalingSynthesize and Reward: Reinforcement Learning for Multi-Step Tool Use in Live Environments (arXiv:2606.03892v2)MUA-RL: Multi-turn User-interacting Agent Reinforcement Learning for agentic tool use (arXiv:2508.18669v1)Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)EEGAgentBench: Benchmarking LLM Agents on Short- and Long-Horizon EEG Analysis (arXiv:2609.31632v1)+1
213Qwen3-VL 8B Instruct · 8-bit Alibaba43±3*local~11GB256kllama.cpp › Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)allenai/Olmo-3-7B-Instruct model card
215Nemotron-Cascade-8B · 8-bit NVIDIA43±4*†local~11GBllama.cpp › NVIDIA — Nemotron-Cascade: Scaling Cascaded Reinforcement Learning for General-Purpose Reasoning Models
217Apriel 1.6 15B Thinker · 4-bit ServiceNow43±4†local~10GBLM Studio › ServiceNow-AI/Apriel-1.6-15b-Thinker model card
218Spark-X2.5 1.7B · 16-bit iFLYTEK (SparkLLM)43±2†local~5.1GB1MOllama › XHToken/Spark-X2.5-4B model card
222Qwen3-VL 4B Instruct · 8-bit Alibaba42±3*†local~6.9GB256kOllama › Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)
226Qwen3-VL 8B Thinking · 8-bit Alibaba42±3*†local~11GB256kllama.cpp › Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)
230Ministral 3 14B · 4-bit Mistral42±3local~10GB262kllama.cpp › JetBrains/Mellum2-12B-A2.5B-Instruct model cardContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)
233Granite 4.1 8B · 4-bit IBM41±2*†local~7.1GB131kllama.cpp › Synthesize and Reward: Reinforcement Learning for Multi-Step Tool Use in Live Environments (arXiv:2606.03892v2)ibm-granite/granite-4.1-8b model card
235Granite 4.1 3B · 4-bit IBM41±5*†local~3.7GBOllama › ibm-granite/granite-4.1-8b model card
239Ministral 3 8B · 4-bit Mistral41±4*local~7.6GB262kOllama › ContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)
242LFM2.5 8B-A1B · 4-bit Liquid AI41±2local~7.4GB128kOllama › openbmb/MiniCPM5-2B model cardLiquidAI/LFM2.5-8B-A1B model card
243Qwen3 4B · 8-bit Alibaba41±1local~7.1GB33kOllama › Berkeley Function Calling Leaderboard result archiveQwen/Qwen3-4B-Instruct-2507 model cardQwen/Qwen3-4B-Thinking-2507 model cardEEGAgentBench: Benchmarking LLM Agents on Short- and Long-Horizon EEG Analysis (arXiv:2609.31632v1)HuggingFaceTB/SmolLM3-3B model card (Evaluation section)
244Qwen2.5 14B Instruct · 4-bit Alibaba40±1*local~10GB131kLM Studio › Berkeley Function Calling Leaderboard result archiveReinforcing Real-world Service Agents: InteractCS-RL (arXiv:2602.22697v1)
245LFM2.5 1.2B Thinking · 8-bit Liquid AI40±4*†local~3.5GB33kOllama › LiquidAI/LFM2.5-1.2B-Thinking model card
253Qwen3 4B Instruct 2507 · 8-bit Alibaba40±1local~7.1GB262kOllama › Qwen/Qwen3-4B-Instruct-2507 model cardSynthesize and Reward: Reinforcement Learning for Multi-Step Tool Use in Live Environments (arXiv:2606.03892v2)Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)Berkeley Function Calling Leaderboard result archive
259Gemma 4 E4B · 8-bit Google39±1local~9.9GB131kllama.cpp › Gemma Team — Gemma 4 Technical Reportopenbmb/MiniCPM5-2B model cardJetBrains/Mellum2.1-12B-A2.5B-Thinking model cardXHToken/Spark-X2.5-4B model cardLiquidAI/LFM2.5-2.6B model cardContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)+3
260Phi-3.5-mini-instruct · 8-bit Microsoft39±11*†local~6.8GB128kOllama › Microsoft — Phi-4-Mini Technical Report
261Qwen3-VL 2B Thinking · 8-bit Alibaba39±3*†local~4.2GB256kOllama › Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)
264Qwen2.5 7B Instruct · 8-bit Alibaba38±1local~10GB131kllama.cpp › Berkeley Function Calling Leaderboard result archiveSynthesize and Reward: Reinforcement Learning for Multi-Step Tool Use in Live Environments (arXiv:2606.03892v2)Reinforcing Real-world Service Agents: InteractCS-RL (arXiv:2602.22697v1)allenai/Olmo-3-7B-Instruct model card
265Granite 4.0 1B · 16-bit IBM38±3*local~6.1GB128kOllama › LiquidAI/LFM2.5-1.2B-Thinking model cardibm-granite/granite-4.0-h-1b model card
268Qwen3 1.7B · 8-bit Alibaba38±1local~4.6GB33kOllama › Berkeley Function Calling Leaderboard result archiveQwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)LiquidAI/LFM2.5-1.2B-Thinking model cardEEGAgentBench: Benchmarking LLM Agents on Short- and Long-Horizon EEG Analysis (arXiv:2609.31632v1)HuggingFaceTB/SmolLM3-3B model card (Evaluation section)
269Qwen3-VL 2B Instruct · 8-bit Alibaba38±3*†local~4.2GB256kOllama › Qwen (Alibaba) vendor-reported benchmark scores for its own models (qwen.ai launch posts, Qwen2.5-VL and Qwen3-VL technical reports, Qwen3.8-Flash-Next card)
272Ministral 3 14B Reasoning 2512 · 4-bit Mistral38±5*local~10GB262kLM Studio › JetBrains/Mellum2-12B-A2.5B-Thinking model card
278Nemotron 3 Nano 4B · 8-bit NVIDIA37±2local~7GB262kOllama › openbmb/MiniCPM5-2B model cardNVIDIA vendor-reported benchmark scores for its own Nemotron models (Hugging Face model cards)
281Granite 4.0 H 1B · 8-bit IBM37±3*local~3.2GB131kOllama › LiquidAI/LFM2.5-1.2B-Thinking model cardibm-granite/granite-4.0-h-1b model card
284LFM2.5 1.2B Instruct · 4-bit Liquid AI36±4*†local~2.8GB33kLM Studio › LiquidAI/LFM2.5-1.2B-Thinking model card
285Command R7B (12-2024) · 8-bit Cohere36±1local~10GB128kllama.cpp › Berkeley Function Calling Leaderboard result archiveCohere — Command A technical report
286Mellum2 12B-A2.5B Thinking · 4-bit JetBrains36±3†local~10GB131kllama.cpp › JetBrains/Mellum2.1-12B-A2.5B-Thinking model cardJetBrains/Mellum2-12B-A2.5B-Thinking model card
287Gemma 3 12B · 4-bit Google36±1*local~9.7GB131kOllama › Berkeley Function Calling Leaderboard result archive
290Ministral 8B (2410) · 8-bit Mistral36±1*local~10GB128kllama.cpp › Berkeley Function Calling Leaderboard result archiveGalileo Agent Leaderboard (v1 and v2 results)
291Qwen2.5 3B Instruct · 8-bit Alibaba36±1*local~5.9GB33kOllama › Berkeley Function Calling Leaderboard result archive
293Mistral NeMo Instruct (2407) · 4-bit Mistral35±1local~9.7GB128kOllama › Berkeley Function Calling Leaderboard result archiveGalileo Agent Leaderboard (v1 and v2 results)
294Granite 3.1 8B Instruct · 8-bit IBM35±4*local~11GB128kllama.cpp › Berkeley Function Calling Leaderboard result archive
295MiniCPM3-4B · 4-bit OpenBMB35±1*local~4.1GB32kllama.cpp › Berkeley Function Calling Leaderboard result archive
296Granite 3.2 8B Instruct · 8-bit IBM35±4*local~11GB131kllama.cpp › Berkeley Function Calling Leaderboard result archive
297Llama 3.1 8B Instruct · 8-bit Meta35±1local~10GB128kllama.cpp › Berkeley Function Calling Leaderboard result archiveGalileo Agent Leaderboard (v1 and v2 results)MASSIVE-Agents — Kulkarni et al. (2025)
299DeepSeek R1 0528 Qwen3 8B · 8-bit DeepSeek34±5*local~11GB128kllama.cpp › Falcon-H1R: Pushing the Reasoning Frontiers with a Hybrid Model for Efficient Test-Time Scaling
300Qwen2.5 1.5B Instruct · 8-bit Alibaba34±1*local~4GB33kOllama › Berkeley Function Calling Leaderboard result archive
301Phi-4 14B · 4-bit Microsoft34±1*local~10GB16kLM Studio › Berkeley Function Calling Leaderboard result archive
303Qwen3 0.6B · 8-bit Alibaba34±1*local~3GB33kOllama › Berkeley Function Calling Leaderboard result archive
304Hermes 2 Pro Llama 3 8B · 8-bit Nous Research34±1*local~10GB8kllama.cpp › Berkeley Function Calling Leaderboard result archive
305Granite 4.0 H 350M · 4-bit IBM34±5*†local~1.9GB33kLM Studio › ibm-granite/granite-4.0-h-1b model card
307EXAONE 4.0 1.2B · 8-bit LG AI Research33±3†local~3.6GB66kllama.cpp › LG AI Research vendor-reported benchmark scores for its own EXAONE models (Hugging Face model cards)
308Falcon3 10B Instruct · 4-bit TII33±1*local~8.5GB32kOllama › Berkeley Function Calling Leaderboard result archive
310Llama 3.2 3B Instruct · 8-bit Meta33±1local~6.1GB131kOllama › Berkeley Function Calling Leaderboard result archiveMASSIVE-Agents — Kulkarni et al. (2025)
312Gemma 4 E2B · 4-bit Google32±2local~7.7GB131kLM Studio › Gemma Team — Gemma 4 Technical Reportopenbmb/MiniCPM5-2B model cardXHToken/Spark-X2.5-4B model cardLiquidAI/LFM2.5-2.6B model cardgoogle/gemma-4-31B-it model cardContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)+2
313Falcon3 7B Instruct · 8-bit TII32±1*local~9.8GB32kllama.cpp › Berkeley Function Calling Leaderboard result archive
314Qwen3.5 2B · 8-bit Alibaba32±2local~4.9GB262kOllama › XHToken/Spark-X2.5-4B model cardopenbmb/MiniCPM5-2B model cardQwen/Qwen3.5-2B model card
318Qwen2 7B Instruct · 8-bit Alibaba31±1*local~10GB131kllama.cpp › Berkeley Function Calling Leaderboard result archive
319Bielik 11B v2.3 Instruct · 4-bit SpeakLeash30±1*local~8.6GBllama.cpp › Berkeley Function Calling Leaderboard result archive
321Ministral 3 3B · 8-bit Mistral30±6*local~6.9GB262kOllama › ContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)
322ChatGLM3-6B · 8-bit Zhipu AI (THUDM)30±10*†local~8.4GBllama.cpp › ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools (Team GLM, arXiv 2406.12793v2)
323GLM-4 9B Chat · 4-bit Zhipu AI (Z.ai)30±1local~8.1GB128kllama.cpp › Berkeley Function Calling Leaderboard result archiveChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools (Team GLM, arXiv 2406.12793v2)
324Gemma 3 4B · 8-bit Google30±1*local~7.4GB131kOllama › Berkeley Function Calling Leaderboard result archive
326Granite 4.0 350M · 16-bit IBM30±3*local~2.9GB32kOllama › Berkeley Function Calling Leaderboard result archiveibm-granite/granite-4.0-h-1b model card
327Olmo 3 7B Instruct · 8-bit Ai229±4local~9.7GB66kllama.cpp › JetBrains/Mellum2-12B-A2.5B-Instruct model cardallenai/Olmo-3-7B-Instruct model card
329NexusRaven V2 13B · 4-bit Nexusflow28±1*local~9.8GB16kllama.cpp › Berkeley Function Calling Leaderboard result archive
330Qwen2.5 0.5B Instruct · 8-bit Alibaba28±1*local~2.6GB33kOllama › Berkeley Function Calling Leaderboard result archive
331Qwen3.5 0.8B · 8-bit Alibaba27±5*†local~3.1GB262kOllama › Qwen/Qwen3.5-2B model card
332Llama 3 8B Instruct · 8-bit Meta26±1*local~10GB8kllama.cpp › Berkeley Function Calling Leaderboard result archiveChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools (Team GLM, arXiv 2406.12793v2)
333Falcon3 3B Instruct · 8-bit TII26±1*local~6.1GB32kOllama › Berkeley Function Calling Leaderboard result archive
334Phi-4-mini 3.8B · 8-bit Microsoft23±1local~6.9GB128kOllama › Berkeley Function Calling Leaderboard result archiveMicrosoft — Phi-4-Mini Technical Report
335Qwen2 1.5B Instruct · 8-bit Alibaba23±2*local~4GB32kOllama › Berkeley Function Calling Leaderboard result archive
336Llama 3.2 1B Instruct · 4-bit Meta18±1local~5.2GB131kOllama › Berkeley Function Calling Leaderboard result archiveLiquidAI/LFM2.5-1.2B-Thinking model cardMASSIVE-Agents — Kulkarni et al. (2025)
339Falcon3 1B Instruct · 8-bit TII17±2*local~4.1GB8kOllama › Berkeley Function Calling Leaderboard result archive
340Gemma 3 1B · 4-bit Google13±2local~3GB32kLM Studio › Berkeley Function Calling Leaderboard result archiveLiquidAI/LFM2.5-1.2B-Thinking model card
—Granite 4.0 H Micro 3B · mlx-8bit IBMnot yet calibratedlocal~5.1GB131kLM Studio › ibm-granite/granite-4.0-h-small model card
—Granite 4.0 H Tiny (7B-A1B) · mlx-8bit IBMnot yet calibratedlocal~9.3GB131kLM Studio › ibm-granite/granite-4.0-h-small model card
—Granite 4.0 Micro 3B · Q8_0 IBMnot yet calibratedlocal~5.3GB131kllama.cpp › ibm-granite/granite-4.0-h-small model card
—K2 Horizon 7B · gguf-q4_k_m Institute of Foundation Models (MBZUAI)not scored yetlocal~7.7GB524kllama.cpp ›

+ 273 more don't fit your machine or budget · show them

+ 20 models with fewer than 3 results left off, since one or two tests say little about overall ability · show them

362 of 398 catalogue models listed here · sources and licences

* new or thinly tested: ranked on too few benchmark results · † only the maker’s own numbers so far · ~RAM is estimated; full context may need more memory