# Introduction
Agentic AI methods depend upon a mannequin’s skill to reliably name instruments, deciding on the best operate, formatting arguments appropriately, and integrating outcomes into multi-step workflows. Massive frontier fashions resembling ChatGPT, Claude, and Gemini deal with this nicely, however they arrive with tradeoffs in value, latency, and {hardware} necessities that make them impractical for a lot of real-world deployments. Small language fashions have carried out nicely to shut that hole, and several other compact, open-weight choices now provide first-class tool-calling assist with out the necessity for an information heart to run them.
And now, in no explicit order, listed here are 5 small language fashions for agentic instrument calling. Be aware that, for comfort and consistency, all mannequin hyperlinks level to Hugging Face-hosted fashions.
# 1. SmolLM3-3B
| Technical Side | Particulars |
|---|---|
| Parameters | 3B |
| Structure | Decoder-only transformer (GQA + NoPE, 3:1 ratio) |
| Context Size | 64K native; as much as 128K with YaRN extrapolation |
| Coaching Tokens | 11.2T |
| Multilingual Help | 6 languages (EN, FR, ES, DE, IT, PT) |
| Reasoning Mode | Twin-mode (considering / no-think toggle) |
| Software Calling | Sure: JSON/XML (xml_tools) and Python (python_tools) |
| License | Apache 2.0 |
SmolLM3 is a 3B parameter language mannequin designed to push the boundaries of small fashions, supporting dual-mode reasoning, 6 languages, and lengthy context. It’s a decoder-only transformer utilizing Grouped Question Consideration (GQA) and No Positional Embeddings (NoPE) (with a 3:1 ratio), pretrained on 11.2T tokens with a staged curriculum of internet, code, math, and reasoning knowledge. Put up-training included a mid-training part on 140 billion reasoning tokens, adopted by supervised fine-tuning and alignment through Anchored Desire Optimization (APO), HuggingFace’s off-policy strategy to choice alignment. The mannequin helps two distinct tool-calling interfaces, JSON/XML blobs through xml_tools and Python-style operate calls through python_tools, making it extremely versatile for agentic pipelines and RAG methods. As a completely open launch, together with weights, datasets, and coaching code, SmolLM3 is right for chatbots, RAG methods, and code assistants on constrained {hardware} resembling edge gadgets or low-VRAM machines.
# 2. Qwen3-4B-Instruct-2507
| Technical Side | Particulars |
|---|---|
| Parameters | 4.0B (3.6B non-embedding) |
| Structure | Causal LM, 36 layers, GQA (32 Q heads / 8 KV heads) |
| Context Size | 262,144 tokens (native) |
| Reasoning Mode | Non-thinking solely (no blocks) |
| Multilingual | 100+ languages |
| Software Calling | Sure: native, through Qwen-Agent / MCP |
| License | Apache 2.0 |
Qwen3-4B-Instruct-2507 is an up to date model of the Qwen3-4B non-thinking mode, that includes vital enhancements usually capabilities together with: instruction following, logical reasoning, textual content comprehension, arithmetic, science, coding, and gear utilization. It additionally possesses substantial features in long-tail information protection throughout a number of languages. Each the Instruct and Considering variants share 4 billion complete parameters (3.6B excluding embeddings) constructed throughout 36 transformer layers, utilizing GQA with 32 question heads and eight key/worth heads, enabling environment friendly reminiscence administration for very lengthy contexts. This particular non-thinking variant is optimized for direct, fast-response use instances, resembling delivering concise solutions with out specific chain-of-thought traces, making it well-suited for chatbots, buyer assist, and tool-calling brokers the place low latency issues. Qwen3 excels in tool-calling capabilities, and Alibaba recommends utilizing the Qwen-Agent framework, which encapsulates tool-calling templates and parsers internally, decreasing coding complexity, with assist for MCP server configuration recordsdata.
# 3. Phi-3-mini-4k-instruct
| Technical Side | Particulars |
|---|---|
| Parameters | 3.8B |
| Structure | Decoder-only transformer |
| Context Size | 4K tokens |
| Vocabulary Dimension | 32,064 tokens |
| Coaching Information | Artificial + filtered public internet knowledge |
| Put up-training | SFT + DPO |
| Software Calling | Sure: through chat template (requiring HF’s transformers ≥ 4.41.2) |
| License | MIT |
Phi-3-Mini-4K-Instruct is a 3.8B parameter, light-weight, state-of-the-art open mannequin skilled with the Phi-3 datasets that embody each artificial knowledge and filtered publicly obtainable internet knowledge, with a give attention to high-quality and reasoning-dense properties. The mannequin underwent a post-training course of incorporating each Supervised Advantageous-Tuning (SFT) and Direct Desire Optimization (DPO) for instruction following and security. Microsoft’s flagship “small however sensible” mannequin, Phi-3-mini was notable at launch for its skill to run on-device, together with smartphones, whereas rivaling GPT-3.5 in functionality benchmarks. The mannequin is primarily meant for memory- and compute-constrained environments, latency-bound eventualities, and duties requiring sturdy reasoning, particularly math and logic. Whereas older than the opposite fashions on this listing and restricted to a 4K context window, the MIT license makes it one of the permissively licensed choices obtainable, and its sturdy normal reasoning has made it a preferred base for fine-tuning in business functions.
# 4. Gemma-4-E2B-it
| Technical Side | Particulars |
|---|---|
| Efficient Parameters | 2.3B (5.1B complete with embeddings) |
| Structure | Dense, hybrid consideration (sliding window + world) + PLE |
| Layers | 35 |
| Sliding Window | 512 tokens |
| Context Size | 128K tokens |
| Vocabulary Dimension | 262K |
| Modalities | Textual content, Picture, Audio (≤30 sec), Video (as frames) |
| Multilingual | 35+ native, skilled on 140+ languages |
| Software Calling | Sure: native operate calling |
| License | Apache 2.0 |
Gemma-4-E2B is a part of Google DeepMind’s Gemma 4 household, which contains a hybrid consideration mechanism, native sliding window consideration with full world consideration. This design delivers the processing velocity and low reminiscence footprint of a light-weight mannequin with out sacrificing the deep consciousness required for advanced, long-context duties. The “E” in E2B stands for “efficient” parameters, enabled by a key architectural innovation known as Per-Layer Embeddings (PLE), which provides a devoted conditioning vector at each decoder layer. That is the mechanism which permits the E2B to run in underneath 1.5 GB of reminiscence with quantization and nonetheless produce priceless outputs. The mannequin helps native operate calling, enabling agentic workflows, and is optimized for on-device deployment on cellular and IoT gadgets, able to dealing with textual content, picture, audio, and video inputs. Launched underneath Apache 2.0 (a change from earlier Gemma generations’ extra restrictive customized license), Gemma 4 E2B is a lovely possibility for builders constructing multimodal agentic functions operating totally on the edge.
# 5. Mistral-7B-Instruct-v0.3
| Technical Side | Particulars |
|---|---|
| Parameters | 7.25B |
| Structure | Transformer, GQA + SWA |
| Context Size | 32,768 tokens |
| Vocabulary Dimension | 32,768 tokens (prolonged from v0.2) |
| Tokenizer | v3 Mistral tokenizer |
| Operate Calling | Sure: through TOOL_CALLS / AVAILABLE_TOOLS / TOOL_RESULTS tokens (see right here) |
| License | Apache 2.0 |
Mistral-7B-Instruct-v0.3 is an instruct fine-tuned model of Mistral-7B-v0.3, which launched three key modifications over v0.2: an prolonged vocabulary to 32,768 tokens, assist for the v3 tokenizer, and assist for operate calling. The mannequin employs grouped-query consideration for sooner inference and Sliding Window Consideration (SWA) to deal with lengthy sequences effectively, and performance calling assist is made attainable via the prolonged vocabulary together with devoted tokens for TOOL_CALLS, AVAILABLE_TOOLS, and TOOL_RESULTS. As the most important mannequin on this roundup at 7B parameters, Mistral-7B-Instruct-v0.3 provides the very best normal instruction-following efficiency of the group and has turn into an industry-standard workhorse, broadly obtainable via Ollama, vLLM, and most inference platforms.
# Wrapping Up
The 5 fashions coated right here — SmolLM3-3B, Qwen3-4B-Instruct-2507, Phi-3-mini-4k-instruct, Gemma-4-E2B-it, and Mistral-7B-Instruct-v0.3 — span a variety of architectures, parameter counts, context home windows, and launch dates, however share one essential trait: all of them assist structured instrument calling in a compact, open-weight bundle.
From Hugging Face’s totally clear SmolLM3 to Google DeepMind’s multimodal edge-optimized Gemma 4 E2B, the choice demonstrates that succesful agentic fashions now not require large infrastructure and frontier fashions to deploy. Whether or not your precedence is on-device inference, long-context dealing with, multilingual protection, or essentially the most permissive license attainable, there’s a mannequin on this listing price exploring.
Remember the fact that these aren’t the one small language fashions with tool-calling capabilities. They do, nonetheless, do a very good job representing these with which I’ve direct expertise, and which I really feel comfy together with based mostly on my outcomes.
Matthew Mayo (@mattmayo13) holds a grasp’s diploma in laptop science and a graduate diploma in knowledge mining. As managing editor of KDnuggets & Statology, and contributing editor at Machine Studying Mastery, Matthew goals to make advanced knowledge science ideas accessible. His skilled pursuits embody pure language processing, language fashions, machine studying algorithms, and exploring rising AI. He’s pushed by a mission to democratize information within the knowledge science neighborhood. Matthew has been coding since he was 6 years outdated.
