LFM2-1.2B
Liquid AI (United States) · Language (text)
🧠 1.2B📄 125K context🔓 Open weights (downloadable)⚖️ lfm1.0
Which way is for me?
💻 On my own computer
- Download and install LM Studio (free): lmstudio.ai
- In LM Studio open Search (the magnifier) and type exactly:
LiquidAI/LFM2-1.2B-GGUF - From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
- Press Download, then Load, and start talking in Chat.
Or, if you use Ollama, this one command is enough:
ollama run hf.co/LiquidAI/LFM2-1.2B-GGUF🧑💻 For developers
vLLM
vllm serve LiquidAI/LFM2-1.2BTransformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="LiquidAI/LFM2-1.2B")llama.cpp
llama-server -hf LiquidAI/LFM2-1.2B-GGUFWords used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
Due to their small size, we recommend fine-tuning LFM2 models on narrow use cases to maximize performance. They are particularly suited for agentic tasks, data extraction, RAG, creative writing, and multi-turn conversations. However, we do not recommend using them for tasks that are knowledge-intensive or require programming skills.
Benchmarks (from the model card)
| Model | MMLU | GPQA | IFEval | IFBench | GSM8K | MGSM |
|---|---|---|---|---|---|---|
| LFM2-350M | 43.43 | 27.46 | 65.12 | 16.41 | 30.1 | 29.52 |
| LFM2-700M | 49.9 | 28.48 | 72.23 | 20.56 | 46.4 | 45.36 |
| LFM2-1.2B | 55.23 | 31.47 | 74.89 | 20.7 | 58.3 | 55.04 |
| Qwen3-0.6B | 44.93 | 22.14 | 64.24 | 19.75 | 36.47 | 41.28 |
| Qwen3-1.7B | 59.11 | 27.72 | 73.98 | 21.27 | 51.4 | 66.56 |
| Llama-3.2-1B-Instruct | 46.6 | 28.84 | 52.39 | 16.86 | 35.71 | 29.12 |
| gemma-3-1b-it | 40.08 | 21.07 | 62.9 | 17.72 | 59.59 | 43.6 |
Source: Hugging Face · LiquidAI/LFM2-1.2B · License: lfm1.0
Hardware and running it
Local Weights are published and it runs on your own hardware.
- Minimum Q4
- 0.8 GB
- Recommended Q8
- 1.4 GB
- Full quality FP16
- 2.8 GB
On common hardware
| RTX 4060 · 8 GB | Great | FP16 · ≈ 42–70 tokens/s |
|---|---|---|
| RTX 4090 · 24 GB | Great | FP16 · ≈ 160–260 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 280–460 tokens/s |
| Mac M4 Max · 128 GB | Great | FP16 · ≈ 84–140 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 520–860 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 4,130–6,890 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: