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. Spark-X2.6 4B is #1 right now, followed by SmolLM3 3B 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.

94 models · 80 benchmarks · updated
Filter by your hardware and budget → ~12GB fast · local only · reset
Filter by task

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

New #1s for your hardware:
orRSS

detecting your OS…

$ terminal

Score vs release date

#modeltask score↓where↓RAM↓speed↓context↓get itsources
107Spark-X2.6 4B · 16-bit iFLYTEK (SparkLLM)60±2†local~10GB1Mllama.cpp › Spark-X2.6 model cards (thinking high)
114SmolLM3 3B · 8-bit Hugging Face59±11*†local~4.5GB66kllama.cpp › HuggingFaceTB/SmolLM3-3B model card (Evaluation section)
147MiMo-V2.6-Distill-Qwen-9B · 4-bit Xiaomi54±3†local~8.6GBllama.cpp › XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B model card
149Spark-X2.5 4B · 16-bit iFLYTEK (SparkLLM)54±1†local~9.4GB~192 tok/s1MOllama › XHToken/Spark-X2.5-4B model cardSpark-X2.6 model cards (thinking high)
155MiniCPM5 2B · 8-bit OpenBMB53±2†local~3.6GB131kllama.cpp › openbmb/MiniCPM5-2B model card
157Spark-X2.6 1.7B · 16-bit iFLYTEK (SparkLLM)53±2†local~5.1GB1Mllama.cpp › Spark-X2.6 model cards (thinking high)
177Qwen3.5 9B · 8-bit Alibaba49±1local~12GB~22 tok/s262kllama.cpp › 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)JetBrains/Mellum2-12B-A2.5B-Instruct model cardQwen/Qwen3.5-9B model card+3
179Mellum2.1 12B-A2.5B Thinking · 4-bit JetBrains48±3†local~10GBllama.cpp › JetBrains/Mellum2.1-12B-A2.5B-Thinking model card
188Gemma 4 12B · 4-bit Google47±2local~11GB~29 tok/s262kOllama › Gemma Team — Gemma 4 Technical ReportXHToken/Spark-X2.5-4B model cardgoogle/gemma-4-31B-it model card
194Granite 4.2 8B · 8-bit IBM46±2†local~11GB131kllama.cpp › ibm-granite/granite-4.2-30b model card
195Qwen3.5 4B · 8-bit Alibaba46±1local~6.3GB262kllama.cpp › openbmb/MiniCPM5-2B model cardXHToken/Spark-X2.5-4B model cardJetBrains/Mellum2-12B-A2.5B-Instruct model cardQwen/Qwen3.5-9B model cardLiquidAI/LFM2.5-2.6B model cardJetBrains/Mellum2-12B-A2.5B-Thinking model card+1
201Qwen3 4B Thinking 2507 · 8-bit Alibaba45±2†local~6.1GB~35 tok/s262kOllama › Qwen/Qwen3-4B-Thinking-2507 model card
205Qwen3 14B · 4-bit Alibaba45±1local~11GB33kOllama › Berkeley Function Calling Leaderboard result archiveMUA-RL: Multi-turn User-interacting Agent Reinforcement Learning for agentic tool use (arXiv:2508.18669v1)
206Nemotron-Cascade-14B-Thinking · 4-bit NVIDIA45±4*†local~11GBllama.cpp › NVIDIA — Nemotron-Cascade: Scaling Cascaded Reinforcement Learning for General-Purpose Reasoning Models
208LFM2.5 2.6B · 8-bit Liquid AI45±2local~3.6GB131kllama.cpp › openbmb/MiniCPM5-2B model cardLiquidAI/LFM2.5-2.6B model card
214Nemotron Nano 9B v2 · 8-bit NVIDIA44±4*†local~11GB131kllama.cpp › 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)
215Qwen3-VL 4B Thinking · 8-bit Alibaba44±3*†local~7GB256kOllama › 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)
217Mellum2 12B-A2.5B Instruct · 4-bit JetBrains44±3*†local~9GB131kllama.cpp › JetBrains/Mellum2-12B-A2.5B-Instruct model card
221Granite 4.2 3B · 8-bit IBM44±2local~5.1GB131kllama.cpp › openbmb/MiniCPM5-2B model cardibm-granite/granite-4.2-30b model card
228Qwen3 8B · 8-bit Alibaba43±1local~11GB~20 tok/s33kOllama › 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
229Falcon-H1R 7B · 8-bit TII43±2*†local~9GB262kllama.cpp › Falcon-H1R: Pushing the Reasoning Frontiers with a Hybrid Model for Efficient Test-Time Scaling
231Qwen3-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
236Nemotron-Cascade-8B · 8-bit NVIDIA42±4*†local~11GBllama.cpp › NVIDIA — Nemotron-Cascade: Scaling Cascaded Reinforcement Learning for General-Purpose Reasoning Models
237Apriel 1.6 15B Thinker · 4-bit ServiceNow42±4†local~10GBLM Studio › ServiceNow-AI/Apriel-1.6-15b-Thinker model card
242Qwen3-VL 4B Instruct · 8-bit Alibaba42±3*†local~7GB256kOllama › 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)
244Qwen3-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)
249Spark-X2.5 1.7B · 16-bit iFLYTEK (SparkLLM)41±1†local~4.2GB~314 tok/s1MOllama › XHToken/Spark-X2.5-4B model cardSpark-X2.6 model cards (thinking high)
252Granite 4.1 8B · 8-bit IBM41±2*†local~11GB~70 tok/s131kLM Studio › Synthesize and Reward: Reinforcement Learning for Multi-Step Tool Use in Live Environments (arXiv:2606.03892v2)ibm-granite/granite-4.1-8b model card
254Ministral 3 14B · 4-bit Mistral41±3local~11GB~46 tok/s262kllama.cpp › JetBrains/Mellum2-12B-A2.5B-Instruct model cardContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)
255Granite 4.1 3B · 4-bit IBM41±5*†local~3.7GB~131 tok/sOllama › ibm-granite/granite-4.1-8b model card
260Qwen3 4B · 8-bit Alibaba40±1local~6.2GB33kOllama › 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)
261Qwen2.5 14B Instruct · 4-bit Alibaba40±1*local~11GB131kOllama › Berkeley Function Calling Leaderboard result archiveReinforcing Real-world Service Agents: InteractCS-RL (arXiv:2602.22697v1)
262Ministral 3 8B · 8-bit Mistral40±4*local~11GB~68 tok/s262kLM Studio › ContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)
263LFM2.5 1.2B Thinking · 8-bit Liquid AI40±4*†local~1.8GB33kOllama › LiquidAI/LFM2.5-1.2B-Thinking model card
270LFM2.5 8B-A1B · 8-bit Liquid AI39±2local~9.7GB~250 tok/s128kOllama › openbmb/MiniCPM5-2B model cardLiquidAI/LFM2.5-8B-A1B model card
273Qwen3 4B Instruct 2507 · 8-bit Alibaba39±1local~6.1GB~60 tok/s262kOllama › 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
279Phi-3.5-mini-instruct · 8-bit Microsoft39±11*†local~7.7GB128kOllama › Microsoft — Phi-4-Mini Technical Report
281Qwen3-VL 2B Thinking · 8-bit Alibaba38±3*†local~4.2GB256kLM Studio › 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)
283Qwen2.5 7B Instruct · 8-bit Alibaba38±1local~9.2GB~49 tok/s131kOllama › 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
284Granite 4.0 1B · 16-bit IBM38±3*local~4.9GB128kOllama › LiquidAI/LFM2.5-1.2B-Thinking model cardibm-granite/granite-4.0-h-1b model card
286Qwen3 1.7B · 8-bit Alibaba38±1local~3.8GB~96 tok/s33kOllama › 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)
287Gemma 4 E4B · 8-bit Google38±1local~10GB~59 tok/s131kllama.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
290Qwen3-VL 2B Instruct · 8-bit Alibaba37±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)
294Ministral 3 14B Reasoning 2512 · 4-bit Mistral37±4*local~11GB262kllama.cpp › JetBrains/Mellum2-12B-A2.5B-Thinking model card
300Nemotron 3 Nano 4B · 8-bit NVIDIA36±2local~5GB~104 tok/s262kOllama › openbmb/MiniCPM5-2B model cardNVIDIA vendor-reported benchmark scores for its own Nemotron models (Hugging Face model cards)
301Granite 4.0 H 1B · 8-bit IBM36±3*local~3.1GB131kOllama › LiquidAI/LFM2.5-1.2B-Thinking model cardibm-granite/granite-4.0-h-1b model card
304Command R7B (12-2024) · 8-bit Cohere36±1local~11GB128kOllama › Berkeley Function Calling Leaderboard result archiveCohere — Command A technical report
305LFM2.5 1.2B Instruct · 8-bit Liquid AI36±4*†local~1.8GB33kLM Studio › LiquidAI/LFM2.5-1.2B-Thinking model card
306Gemma 3 12B · 4-bit Google36±1*local~11GB~16 tok/s131kOllama › Berkeley Function Calling Leaderboard result archive
309Ministral 8B (2410) · 8-bit Mistral35±1*local~11GB128kllama.cpp › Berkeley Function Calling Leaderboard result archiveGalileo Agent Leaderboard (v1 and v2 results)
310Qwen2.5 3B Instruct · 8-bit Alibaba35±1*local~4.6GB~61 tok/s33kllama.cpp › Berkeley Function Calling Leaderboard result archive
311Mistral NeMo Instruct (2407) · 4-bit Mistral35±1local~9.4GB128kOllama › Berkeley Function Calling Leaderboard result archiveGalileo Agent Leaderboard (v1 and v2 results)
313MiniCPM3-4B · 4-bit OpenBMB35±1*local~4.1GB32kllama.cpp › Berkeley Function Calling Leaderboard result archive
314Mellum2 12B-A2.5B Thinking · 4-bit JetBrains35±3†local~10GB131kllama.cpp › JetBrains/Mellum2.1-12B-A2.5B-Thinking model cardJetBrains/Mellum2-12B-A2.5B-Thinking model card
315Granite 3.1 8B Instruct · 8-bit IBM35±4*local~11GB128kOllama › Berkeley Function Calling Leaderboard result archive
316Granite 3.2 8B Instruct · 8-bit IBM35±4*local~11GB131kOllama › Berkeley Function Calling Leaderboard result archive
317Llama 3.1 8B Instruct · 8-bit Meta34±1local~10GB~22 tok/s128kOllama › Berkeley Function Calling Leaderboard result archiveGalileo Agent Leaderboard (v1 and v2 results)MASSIVE-Agents — Kulkarni et al. (2025)
319Qwen2.5 1.5B Instruct · 8-bit Alibaba34±1*local~2.8GB~98 tok/s33kllama.cpp › Berkeley Function Calling Leaderboard result archive
320DeepSeek R1 0528 Qwen3 8B · 8-bit DeepSeek34±5*local~11GB~21 tok/s128kOllama › Falcon-H1R: Pushing the Reasoning Frontiers with a Hybrid Model for Efficient Test-Time Scaling
321Phi-4 14B · 4-bit Microsoft34±1*local~11GB16kOllama › Berkeley Function Calling Leaderboard result archive
323Qwen3 0.6B · 8-bit Alibaba34±1*local~2.4GB~191 tok/s33kOllama › Berkeley Function Calling Leaderboard result archive
324Hermes 2 Pro Llama 3 8B · 8-bit Nous Research34±1*local~11GB8kllama.cpp › Berkeley Function Calling Leaderboard result archive
326Granite 4.0 H 350M · 8-bit IBM33±5*†local~1.9GB33kOllama › ibm-granite/granite-4.0-h-1b model card
327EXAONE 4.0 1.2B · 8-bit LG AI Research33±3†local~2.9GB66kllama.cpp › LG AI Research vendor-reported benchmark scores for its own EXAONE models (Hugging Face model cards)
328Falcon3 10B Instruct · 4-bit TII33±1*local~8.1GB~13 tok/s32kOllama › Berkeley Function Calling Leaderboard result archive
330Llama 3.2 3B Instruct · 8-bit Meta32±1local~5GB~162 tok/s131kOllama › Berkeley Function Calling Leaderboard result archiveMASSIVE-Agents — Kulkarni et al. (2025)
332Falcon3 7B Instruct · 8-bit TII32±1*local~9.8GB32kOllama › Berkeley Function Calling Leaderboard result archive
333Gemma 4 E2B · 8-bit Google31±2local~7GB131kllama.cpp › Gemma Team — Gemma 4 Technical Reportopenbmb/MiniCPM5-2B model cardXHToken/Spark-X2.5-4B model cardLiquidAI/LFM2.5-2.6B model cardContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)google/gemma-4-31B-it model card+2
337Qwen3.5 2B · 8-bit Alibaba31±2local~4.1GB~174 tok/s262kOllama › XHToken/Spark-X2.5-4B model cardopenbmb/MiniCPM5-2B model cardQwen/Qwen3.5-2B model card
338Qwen2 7B Instruct · 8-bit Alibaba31±1*local~9.2GB131kOllama › Berkeley Function Calling Leaderboard result archive
339Bielik 11B v2.3 Instruct · 4-bit SpeakLeash30±1*local~8.6GBllama.cpp › Berkeley Function Calling Leaderboard result archive
341ChatGLM3-6B · 8-bit Zhipu AI (THUDM)30±10*†local~8.5GBllama.cpp › ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Tools (Team GLM, arXiv 2406.12793v2)
342GLM-4 9B Chat · 8-bit Zhipu AI (Z.ai)30±1local~11GB128kOllama › 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)
343Gemma 3 4B · 8-bit Google30±1*local~6.6GB~74 tok/s131kOllama › Berkeley Function Calling Leaderboard result archive
345Ministral 3 3B · 8-bit Mistral29±6*local~6GB~128 tok/s262kllama.cpp › ContractBench: Can LLM Agents Preserve Observation Contracts? (arXiv:2605.17281v2)
346Granite 4.0 350M · 16-bit IBM29±3*local~2.2GB32kOllama › Berkeley Function Calling Leaderboard result archiveibm-granite/granite-4.0-h-1b model card
347Olmo 3 7B Instruct · 8-bit Ai229±3local~9.6GB66kOllama › JetBrains/Mellum2-12B-A2.5B-Instruct model cardallenai/Olmo-3-7B-Instruct model card
349NexusRaven V2 13B · 4-bit Nexusflow28±1*local~9.8GB16kllama.cpp › Berkeley Function Calling Leaderboard result archive
350Qwen2.5 0.5B Instruct · 8-bit Alibaba28±1*local~1.4GB33kllama.cpp › Berkeley Function Calling Leaderboard result archive
351Llama 3 8B Instruct · 8-bit Meta26±1*local~11GB8kLM Studio › 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)
352Falcon3 3B Instruct · 8-bit TII26±1*local~5.1GB32kOllama › Berkeley Function Calling Leaderboard result archive
353Qwen3.5 0.8B · 8-bit Alibaba26±5*†local~2.3GB~319 tok/s262kOllama › Qwen/Qwen3.5-2B model card
354Phi-4-mini 3.8B · 8-bit Microsoft23±1local~5.9GB128kOllama › Berkeley Function Calling Leaderboard result archiveMicrosoft — Phi-4-Mini Technical Report
355Qwen2 1.5B Instruct · 8-bit Alibaba23±1*local~2.5GB32kOllama › Berkeley Function Calling Leaderboard result archive
356Llama 3.2 1B Instruct · 16-bit Meta19±1local~3.3GB~251 tok/s131kOllama › Berkeley Function Calling Leaderboard result archiveLiquidAI/LFM2.5-1.2B-Thinking model cardMASSIVE-Agents — Kulkarni et al. (2025)
357DeepSeek-Coder-V2 Lite Instruct (16B-A2.4B) · 4-bit DeepSeek18±2*local~11GB128kOllama › Berkeley Function Calling Leaderboard result archive
359Falcon3 1B Instruct · 8-bit TII17±2*local~3.4GB8kOllama › Berkeley Function Calling Leaderboard result archive
360Gemma 3 1B · 8-bit Google14±2local~2.3GB~180 tok/s32kLM 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~8GB~12 tok/s131kLM Studio › ibm-granite/granite-4.0-h-small model card
—Granite 4.0 Micro 3B · Q8_0 IBMnot yet calibratedlocal~5.3GB~6.2 tok/s131kllama.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.6GB524kllama.cpp ›
—LFM3 1.7B · q4_k_m Liquid AInot yet calibratedlocal~2.7GB262kllama.cpp › Liquid AI own-model benchmark facts
—Mage-VL-Cowork · q8_0 Microsoftnot scored yetlocal~6.8GB33khow to run ›

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

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

389 of 429 catalogue models listed here · sources and licences

* new or thinly tested: ranked on too few benchmark results · † no independently run results verified · ~RAM is estimated; full context may need more memory