llmrun

Best local LLMs for tool use

Run open models capable of function calling, designed for agents and apps that use tools and APIs. We rank them using the llmrun Composite Score, offering the top choice for every memory capacity.

Best for tool use on

Qwen3.5 9B

Alibaba · Q4_K_M · 6.6 GB · up to 128K context · on RTX 5070

68.7 t/s
S

All 79 tool-use models for 12 GB ↓

Also worth a look

GPT OSS 20B

Q3_K_L · 11.3 GB · 156.0 t/s · 32K ctx

Best tool-use model by memory

Highest llmrun Composite Score that fits each size with at least 32K context and 15 t/s, at a Q3 or better quant. Speed is decode tokens per second on that size's reference GPU. The last row has no memory limit: the best model whatever it needs, on the GPU plan shown. Full ranking

Tool-use models that run on 12 GB79

Ranked by Composite Score, models without one after. Best quant that fits with a 16K context; speed is decode tokens per second on the reference GPU.

79 models · 71 run great · 2 run well

Score: llmrun Score, 100 = average model. Fit: how well it runs on this hardware, S best to F won't fit. Ordered by Score, recency and Fit. How ranking works

Showing compatibility for NVIDIA GeForce RTX 5070

LLM models compatible with NVIDIA GeForce RTX 5070 — ranked by Score, recency and Fit
ModelVRAMScoreFit
Mellum2 12B A2.5B Instruct
Q4_K_M·197.6 t/s
7.8 GBS100, Runs great
Qwen3 VL 2B Thinking
Q4_K_M·241.3 t/s
3.5 GBS100, Runs great
Qwen3 VL 8B Thinking
Q4_K_M·74.5 t/s
8.0 GBS86, Runs great
Q4_K_M·80.7 t/s
7.5 GBS88, Runs great
Mistral 7B Instruct v0.3
Q4_K_M·88.8 t/s
6.8 GBS89, Runs great
Mellum2 12B A2.5B Thinking
Q4_K_M·197.6 t/s
7.8 GBS100, Runs great
Qwen3 VL 4B Thinking
Q4_K_M·138.7 t/s
4.5 GBS96, Runs great
MiniCPM V 4 5
Q4_K_M·75.1 t/s
7.9 GBS86, Runs great
Granite 4.0 Micro
Q4_K_M·174.0 t/s
3.7 GBS98, Runs great
DeepSeek R1 Distill Qwen 7B
Q4_K_M·87.5 t/s
5.8 GBS89, Runs great
Phi 4 Mini Instruct
Q4_K_M·152.2 t/s
4.8 GBS97, Runs great
Phi 4 Mini Reasoning
Q4_K_M·152.2 t/s
4.8 GBS97, Runs great
Apriel 1.6 15B Thinker
< 32K context fits
Q3_K_L·51.9 t/s
11.9 GBC44, Usable
DeepSeek R1 Distill Llama 8B
Q4_K_M·81.0 t/s
7.3 GBS88, Runs great
MiniCPM O 2 6
Q4_K_M·77.7 t/s
6.4 GBS87, Runs great

How much memory do you need for a tool-use model?

From 8 to 12 GB the best tool-use model is Qwen3.5 9B (score 99). From 16 to 32 GB it is Qwen3.8 27B (score 122). With no memory limit, the best is MiMo V2.6 Pro RL (score 133). Since agents pass lengthy prompts packed with tool definitions and outcomes, both context window size and processing speed matter. Choose a model that retains a generous amount of context within its memory.

Frequently Asked Questions

What is the best local LLM for tool use?

On 24 GB, Qwen3.8 27B is the top pick with a score of 122, running at about 38 t/s on RTX 4090. It fits up to 64K tokens of context there. On 8 GB, the best fit is Qwen3.5 9B. With no memory limit, the best is MiMo V2.6 Pro RL. Open a model to see which GPUs and Macs run it.

Can I run a tool-use model on a laptop or an 8 GB GPU?

Yes. On 8 GB the best pick is Qwen3.5 9B (Q4_K_M, 6.6 GB), which runs at about 46 t/s on RTX 5060. Laptops with 8 to 16 GB of memory can run smaller models in the same way.

What is tool calling?

Instead of plain text, the model outputs a structured call like a function name plus its arguments. Your code executes that function, sends back the result, and lets the model continue from there.

Which runtime supports tool calling for local models?

Ollama, LM Studio, llama.cpp, and vLLM all offer an OpenAI-compatible tools interface for models built to use it. Remember that the model's chat template needs to support these tools.