How to Run LFM3-1.7B Locally on a Phone or Laptop Liquid AI's LFM3-1.7B, a 1.73-billion-parameter text model built on a tri-hybrid architecture of 13 gated short convolution layers, 5 sliding-window attention layers and 6 global attention layers across 24 total layers, fits in roughly 1GB of memory at 4-bit precision, small enough to run on a phone or laptop without a discrete GPU. The model ships with a 256K-token context window, support for 16 languages, and quantization formats including BF16, FP8, NVFP4, GGUF, MLX and ONNX, with GGUF via Ollama or llama.cpp and 4-bit MLX on Apple Silicon positioned as the practical paths for local deployment. Liquid AI says the model is post-trained for agentic use such as tool calling and structured output, and states it is a poor fit for agentic coding or complex multi-step reasoning at its size. How to Run LFM3-1.7B Locally on a Phone or Laptop LFM3-1.7B fits in roughly 1GB at 4-bit precision. Here's how to run it via GGUF, MLX, ONNX, or Ollama on phones and laptops. What is LFM3-1.7B and why does it matter for local inference? LFM3-1.7B is a 1.73-billion-parameter text model from Liquid AI, built on what the company calls a tri-hybrid architecture mixing gated short convolutions with sliding-window and global attention layers. At 4-bit precision it takes up about 1GB of memory, small enough to run on a phone or a laptop without a discrete GPU. It ships with a 256K-token context window, support for 16 languages, and post-training aimed at agentic use cases like tool calling and structured output rather than open-ended chat or heavy reasoning. TL;DR - Memory footprint drops to around 1GB at 4-bit quantization, which is why Liquid AI positions LFM3-1.7B as a model that fits on consumer phones and laptops rather than requiring a cloud GPU. - Architecture mix combines 13 gated short convolution layers, 5 sliding-window attention layers, and 6 global attention layers across 24 total layers, a departure from pure transformer designs aimed at efficiency on constrained hardware. - Multiple quantization formats are available out of the box: BF16 for full-precision GPU serving, FP8 and NVFP4 for optimized GPU inference, and GGUF/MLX/ONNX for CPU, Apple Silicon, and cross-platform local deployment. - Agentic focus means the model is post-trained for harnesses like Hermes Agent, Pi, and OpenClaw, with native tool calling, deferred tool loading for large tool catalogs, and a 256K context window. - Not built for everything : Liquid AI explicitly says it’s a poor fit for agentic coding or complex multi-step reasoning given its size, and recommends pairing it with retrieval for knowledge-heavy tasks. - Fine-tuning is single-GPU friendly , with published notebooks covering supervised fine-tuning, DPO, GRPO, and continued pretraining for tasks like structured extraction or adding a new language. How do you pick the right format for your hardware? The choice of format depends almost entirely on what hardware you’re targeting: - GGUF : the go-to format for CPU and mixed CPU/GPU inference through llama.cpp, Ollama, or LM Studio. This is the most practical starting point if you want to run LFM3-1.7B on a laptop without worrying about driver or framework compatibility. - MLX 4-bit : built specifically for Apple Silicon. If you’re on an M-series Mac, this format takes advantage of the unified memory architecture and Apple’s MLX framework for faster local inference than a generic CPU path. - ONNX : a cross-platform runtime format, useful when you need the model to run consistently across different operating systems or embed it in an application via ONNX Runtime rather than a chat-focused tool. - FP8 and NVFP4 : these are GPU-only quantization formats intended for serving through SGLang, not for laptop or phone deployment. FP8 roughly halves memory versus BF16, while NVFP4 a 4-bit floating-point format pushes further for GPU inference where throughput matters more than squeezing onto edge hardware. - BF16 : the full-precision checkpoint, meant for GPU serving through vLLM, SGLang, or Hugging Face Transformers when you have the VRAM to spare and want the highest-fidelity outputs. For anyone specifically trying to run the model on a phone or a laptop without a dedicated GPU, GGUF via Ollama or llama.cpp and MLX on Mac are the two formats that matter. What does it take to actually run LFM3-1.7B on a laptop? Because the model needs about 1GB of RAM at 4-bit precision, the hardware bar is low. Any modern laptop, including machines without a discrete GPU, has enough memory to load the model alongside a typical operating system and other applications. On Apple Silicon Macs, the MLX 4-bit build is the natural choice since it’s tuned for that chip family. On Windows or Linux machines, or older Macs, GGUF through Ollama or LM Studio is simpler to set up: both tools handle quantized GGUF files directly and provide a chat interface or local API without manual environment configuration. For developers who want programmatic access rather than a chat UI, the Transformers library works directly with the model using a standard pipeline call, loading the model by name and running inference with trust remote code=True . Liquid AI’s documentation recommends specific sampling settings depending on the task: lower temperature 0.1 with top k=50 and a repetition penalty of 1.1 for general chat, tool use, and coding, versus a higher temperature 1.0 with top p=0.95 and top k=20 for math and STEM tasks. How does the tool-calling and agent setup work? LFM3-1.7B uses a ChatML-style chat template with structured tags for tool calls, formatted as XML inside