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

MiMo V2.6 Pro RL

Xiaomi · Q4_K_M · needs 614 GB · up to 1M context · runs on about 5× H200 SXM 141 GB · from $17.95/hr in the cloud

No memory limit: the best model, whatever memory it needs.

All 311 tool-use models, no memory limit ↓

Also worth a look

GLM 5.3

Q4_K_M · needs 454 GB · about 7× H100 SXM 80 GB · 1M 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, no memory limit311

Ranked by Composite Score, models without one after. Memory is what the listed quant needs; speed is shown only for models that fit one 48 GB GPU.

311 models

Score: llmrun Score, 100 = average model. Ordered by Score. How ranking works

LLM models ranked by Score, recency and Fit
ModelVRAMScore
LFM2.5 24B A2B
Q4_K_M·215.7 t/s
15.0 GB
MiniCPM V 4.7 35B A3B
Q4_K_M·163.3 t/s
22.1 GB
Flint
Q4_K_M·194.6 t/s
25.0 GB
MiniCPM5 2B
Q4_K_M·328.4 t/s
2.5 GB
Ornith 1.0 35B
Q4_K_M·166.1 t/s
21.5 GB
Laguna XS 2.1
Q4_K_M·193.8 t/s
21.3 GB
Laguna XS.2
Q4_K_M·193.8 t/s
21.3 GB
Hy Memory 30B A3B
Q4_K_M·178.9 t/s
19.1 GB
Qwen3.5 4B
Q4_K_M·191.4 t/s
3.4 GB
Gemma 4 E4B IT
Q4_K_M·117.3 t/s
5.6 GB
Gemma 4 12B IT
Q4_K_M·75.8 t/s
9.0 GB
MiniCPM O 4 5
Q4_K_M·100.2 t/s
8.3 GB
Q4_K_M·165.2 t/s
16.5 GB
MiniCPM V 4.7 1B
Q4_K_M·487.5 t/s
1.6 GB
North Mini Code 1.0
Q4_K_M·168.3 t/s
19.4 GB

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.