Vinod Chugani writes about how different open-weight model families—Gemma 4, Llama 3, and Mistral—implement tool calling for local deployments.The article explores the mechanisms of function calling, which allow models to interact with external APIs or data rather than relying solely on training data, and evaluates each model's unique architectural strengths and trade-offs regarding reliability, efficiency, and developer support.
- Gemma 4 offers native agentic support with a configurable thinking mode for intermediate reasoning.
- Llama 3 models include "pythonic" tool calling variants in specific smaller versions (1B/3B).
- Mistral Small leverages Mixture-of-Experts architecture to provide high efficiency on constrained hardware.
Small, inexpensive single-board computers like the Raspberry Pi 5 are becoming viable platforms for running local large language models (LLMs). By utilizing quantization techniques to reduce model size and memory requirements, users can run quantized versions of popular models such as Llama 3, Mistral, and Qwen. While processing speeds remain limited compared to high-end GPUs, these devices offer a private and low-cost way to implement AI for specific tasks.
- Quantization allows large models to fit into the Pi's limited RAM by reducing numerical precision.
- Tiny models (1B-3B parameters) run comfortably, while 7B parameter models are usable on 8GB versions with managed expectations.
- Performance is measured in low single-digit tokens per second, making it suitable for non-real-time tasks.
- Hardware upgrades like the Raspberry Pi AI HAT+ or external eGPUs can significantly boost neural processing capabilities.