Home › Catalog › Best local LLM for agents / tool use in 2026

Best local LLM for agents / tool use in 2026

◆ Local Agents — Agents that act on your machine, without the cloud · $24 · or all kits $49 →

Rankings updated on 23/11/2026

Ranking of the most reliable LLMs for building autonomous local agents: function-calling accuracy, multi-turn robustness, JSON schema comprehension, and enough context to maintain an action plan.

Ranking

1

🇺🇸 Inkling 2 Mini

Thinking Machines Lab · 26.4B parameters · Apache 2.0 · 1,048,576 tokens ctx

Text and vision MoE with 26.4B parameters, looped reused layers, 1M-token context, and Apache 2.0 weights.

Why this ranking Reliable function calling, with a 1,048,576-token context to retain the action history. Reasoning capability as a bonus.
https://huggingface.co/thinkingmachines/Inkling-2-Mini
Q4 VRAM
18 GB
25 GB at Q8
2

🇨🇳 Qwen 3.8 27B

Alibaba · 27B parameters · Apache 2.0 · 262,144-token context

Qwen 3.8 27B: dense multimodal (text + vision), 262k context, ~16 GB Q4 VRAM (18 GB of Ollama weights). Apache 2.0, agentic coding and vision.

Why this ranking Reliable function calling, 262,144 context tokens to preserve the action history. Reasoning capability as a bonus.
ollama run qwen3.8:27b
Q4 VRAM
16 GB
29 GB in Q8
3

🇨🇳 GLM 4.7 Flash

Zhipu AI · 31B parameters · MIT · 128,000 tokens ctx

GLM-4.7-Flash (MoE 31B, ~3B active): the best code/VRAM ratio in the 30B class. MIT, 128k ctx, very fast on 3090/4090.

Why this ranking Reliable function calling, 128,000-token context to retain the action history. Reasoning capability as a bonus.
ollama run glm-4.7-flash
Q4 VRAM
19 GB
35 GB in Q8
4

🇺🇸 DaisyRose-27B

RadixArk · 27.8B parameters · Apache 2.0 · 262,144-token context

Qwen 3.8 27B post-trained by RadixArk for long-running agents and coding. Official BF16, FP8, NVFP4, and GGUF weights.

Why this ranking Reliable function calling, 262,144 context tokens to preserve the action history. Reasoning capability as a bonus.
https://huggingface.co/RadixArk/DaisyRose-27B-GGUF#quick-start
Q4 VRAM
18 GB
31 GB at Q8
5

🇺🇸 Clef 27B

Cloudflare · 27B parameters · Apache 2.0 · 262,144-token context

Cloudflare's dense 27B multimodal model, Apache 2.0, 256k context, ~16 GB Q4 VRAM: vision and reasoning on a 16 GB card, official Ollama tag.

Why this ranking Reliable function calling, 262,144 context tokens to preserve the action history. Reasoning capability as a bonus.
ollama pull clef
Q4 VRAM
16 GB
29 GB in Q8
6

🇺🇸 Meta Muse Glimmer 30B

Meta · 29.6B parameters · Apache 2.0 · 131,072 tokens ctx

Dense multimodal model from Meta for local agents, with a perception encoder and Apache 2.0 weights.

Why this ranking Reliable function calling, 131,072 tokens of context to retain the action history. Reasoning capability as a bonus.
https://huggingface.co/meta-models/Muse-Glimmer-30B-GGUF
Q4 VRAM
19.5 GB
34 GB at Q8
7

🇺🇸 North Mini Code 1.0

Cohere · 30.5B parameters · Apache 2.0 · 488,000 tokens ctx

Cohere 30.5B model focused on agentic coding and reasoning. 488k context, Apache 2.0, ~18 GB VRAM in Q4.

Why this ranking Reliable function calling, 488,000-token context to preserve the action history. Bonus reasoning capability.
ollama run north-mini-code-1.0
Q4 VRAM
18 GB
33 GB in Q8

Comparison table

Rank Model Params Q4 VRAM Context License
#1 Inkling 2 Mini 26.4B 18 GB 1 048 576 Apache 2.0
#2 Qwen 3.8 27B 27B 16 GB 262 144 Apache 2.0
#3 GLM 4.7 Flash 31B 19 GB 128 000 MIT
#4 DaisyRose-27B 27.8B 18 GB 262 144 Apache 2.0
#5 Clef 27B 27B 16 GB 262 144 Apache 2.0
#6 Meta Muse Glimmer 30B 29.6B 19.5 GB 131 072 Apache 2.0
#7 North Mini Code 1.0 30.5B 18 GB 488 000 Apache 2.0
The Local Agents Kit

Agents that act on your machine: agentic Cline, MCP, n8n + Ollama, local automations.

  • Lifetime online access
  • PDF + files
  • Refunded within 30 days

Ranking methodology

We favor models ≥ 7B with context ≥ 32k (to maintain an action history) and a chat or reasoning tag. The score favors recent models and medium-to-large sizes (where function calling becomes reliable).

Criteria considered:

  • Precise function calling
  • Context ≥ 32k tokens
  • Multi-turn reliability
  • JSON format respected

The scoring is fully transparent: see our methodology for details on VRAM/tokens/sec calculations.

Frequently asked questions

Which LLM for a local autonomous agent?

Inkling 2 Mini is our #1. Mistral Small 3.1 is particularly well known for its reliability in tool use and low latency—critical for an agent that makes 20+ calls per task.

Does Ollama support function calling?

Yes since 0.3.0 via the parameter tools. LM Studio and vLLM as well. Make sure the model was trained for it (recent Mistral, Qwen, and Llama models are).

Which framework should you use to build a local agent?

LangGraph, CrewAI, AutoGen, Smolagents — all of them can point to a local Ollama through the OpenAI-compatible endpoint (http://localhost:11434/v1).

What’s the difference between reasoning and agents?

A reasoning model (DeepSeek R1, QwQ) works through a chain of thought before responding. An agent model (Mistral Small, Qwen) chooses and calls external tools. The two can be combined: reasoning for planning, agent for execution.

Go further

BestLLMfor Kits The reference guide by use case
All kits for life — $49