LiquidAI
LFM2.5-8B-A1B
- Parameters
- 8.5B
- Max context length
- 128,000
- Architecture
- lfm2moe
- License
- Conditional
- Base model
- LiquidAI/LFM2.5-8B-A1B
- License
- lfm1.0
- llama.cpp
- b6709+
About LFM2.5-8B-A1B
LFM2.5-8B-A1B is a GGUF model based on LiquidAI/LFM2.5-8B-A1B on Hugging Face. GGUF files are published by LiquidAI/LFM2.5-8B-A1B-GGUF. It has about 8.5B parameters, the lfm2moe architecture, a maximum context length of 128,000 tokens (values written in the GGUF).
There are 7 quantizations, with file sizes from 4.84 GB (Q4_0) to 16.9 GB (F16) (actual sizes on Hugging Face).
Running Q4_K_M (5.16 GB) with an 8,192-token context needs an estimated 6.06 GB of memory, and an estimated 6.36 GB at 32,768 tokens. For 8,192 tokens, a GPU with 6 GB or more of VRAM (such as Arc A380, GeForce RTX 4050 Laptop GPU), or a Mac with 6 GB or more of unified memory, is a rough guide (macOS caps how much memory the GPU can use, so leave some headroom). The smallest, Q4_0 (4.84 GB), needs an estimated 5.74 GB at 8,192 tokens.
The original model is licensed under LFM Open License v1.0, which allows commercial use with conditions such as scale or purpose. Check the original license for the terms of use.
File size and estimated memory per quantization
- Up to 8 GB
- Up to 16 GB
- Up to 24 GB
- Up to 48 GB
- Up to 128 GB
- More
File sizes are the actual values on Hugging Face. Memory is estimated for each context length (KV cache f16). The formula is in How memory is calculated.
All memory figures are Estimated (KV cache f16). It should run on a setup with at least this much VRAM (or Mac unified memory). Click a value to see the devices and models that fit that amount (Find by GPU / Mac).
About the "quality guide" (how far a quantization drifts from the original)
For each quantization type, how far the output drifts from the original model, grouped into six levels from values llama.cpp measured on Llama-3-8B.
The value is mean KLD (the difference between the original and quantized model in next-token probabilities); smaller means closer to the original. Quantizations made with an imatrix (importance data) come out slightly smaller. Levels use the value without an imatrix (or with one, for types that only have that).
These values were not measured on this model. Larger models and MoE models tend to drift less with the same type. Distributor-specific mixed types (such as UD-Q4_K_XL) cannot be matched by type name alone, so they show "-".
| Quantization | Quality guide | KLD (no imatrix) | KLD (imatrix) | Size (Llama-3-8B) |
|---|---|---|---|---|
| Q8_0 | Nearly identical | 0.0014 | - | 7.96 GiB |
| Q6_K | Very small | 0.0055 | - | 6.14 GiB |
| Q5_K_M | Very small | 0.0108 | - | 5.33 GiB |
| Q5_K_S | Small | 0.0166 | - | 5.21 GiB |
| Q5_1 | Small | 0.0180 | - | 5.65 GiB |
| Q5_0 | Small | 0.0222 | - | 5.21 GiB |
| Q4_K_M | Small | 0.0313 | 0.0282 | 4.58 GiB |
| Q4_K_S | Medium | 0.0431 | 0.0320 | 4.37 GiB |
| IQ4_NL | Small | - | 0.0357 | 4.35 GiB |
| IQ4_XS | Small | - | 0.0363 | 4.14 GiB |
| Q4_1 | Medium | 0.0717 | - | 4.78 GiB |
| Q4_0 | Medium | 0.0719 | - | 4.34 GiB |
| Q3_K_L | Medium | 0.0872 | 0.0731 | 4.03 GiB |
| Q3_K_M | Medium | 0.1019 | 0.0844 | 3.74 GiB |
| IQ3_M | Medium | - | 0.1025 | 3.53 GiB |
| IQ3_S | Medium | - | 0.1113 | 3.42 GiB |
| IQ3_XS | Large | - | 0.1387 | 3.28 GiB |
| IQ3_XXS | Large | - | 0.1836 | 3.05 GiB |
| Q3_K_S | Large | 0.2282 | 0.1998 | 3.41 GiB |
| IQ2_M | Large | - | 0.3260 | 2.74 GiB |
| Q2_K | Very large | 0.4451 | 0.3322 | 2.96 GiB |
| Q2_K_S | Very large | - | 0.4034 | 2.96 GiB |
| IQ2_S | Very large | - | 0.4392 | 2.56 GiB |
| IQ2_XS | Very large | - | 0.5463 | 2.43 GiB |
| IQ2_XXS | Very large | - | 0.8120 | 2.24 GiB |
| IQ1_M | Very large | - | 1.3931 | 2.01 GiB |
| IQ1_S | Very large | - | 2.2546 | 1.88 GiB |
Source: llama.cpp (MIT), measured on Llama-3-8B against FP16, Wikitext-2, revision f364eb6f. Original table · Reading and choosing quantizations
Last checked: Nov 11, 2026
- Architecture
- lfm2moe
- llama.cpp b6709 and later
- Parameters
- 8.5B
- Max context length
- 128,000
- License
- lfm1.0 Conditional
| Quantization | File size Measured | Quality guide | 4,096 | 8,192 | 16,384 | 32,768 | 65,536 | 128,000 max |
|---|---|---|---|---|---|---|---|---|
| Q4_0 | 4.84 GB | Medium | 5.69 GB | 5.74 GB | 5.85 GB | 6.05 GB | 6.45 GB | 7.22 GB |
| Q4_K_M | 5.16 GB | Small | 6.01 GB | 6.06 GB | 6.16 GB | 6.36 GB | 6.76 GB | 7.53 GB |
| Q5_K_M | 6.03 GB | Very small | 6.88 GB | 6.93 GB | 7.03 GB | 7.23 GB | 7.63 GB | 8.40 GB |
| Q6_K | 6.96 GB | Very small | 7.81 GB | 7.86 GB | 7.96 GB | 8.16 GB | 8.56 GB | 9.33 GB |
| Q8_0 | 9.01 GB | Nearly identical | 9.86 GB | 9.91 GB | 10.0 GB | 10.2 GB | 10.6 GB | 11.4 GB |
| BF16 | 16.9 GB | Original precision | 17.8 GB | 17.8 GB | 17.9 GB | 18.1 GB | 18.6 GB | 19.3 GB |
| F16 | 16.9 GB | Original precision | 17.8 GB | 17.8 GB | 17.9 GB | 18.1 GB | 18.6 GB | 19.3 GB |
Ollama ollama run hf.co/LiquidAI/LFM2.5-8B-A1B-GGUF:Q4_K_M
llama.cpp llama-server -hf LiquidAI/LFM2.5-8B-A1B-GGUF:Q4_K_M
License and commercial use
LFM Open License v1.0 Conditional
Commercial use by organizations with annual revenue of USD 10 million or more is not permitted under this license (a separate agreement is needed). Below that, commercial use is allowed.
Based on the license on the original model's Hugging Face page. Original license text (checked Oct 18, 2026)
The summary states facts this site read from the original text and is not legal advice. Always check the original license and its latest terms before use. All licenses
How to run
Mainline llama.cpp can load this model's format (lfm2moe) from b6709 (Oct 7, 2025) onward. Ollama and LM Studio bundle llama.cpp internally, so an older app fails to load it with errors such as "unknown model architecture". If that happens, update the app.
Example commands using Q4_K_M. To use another quantization, replace the name with one from the table above. How to run local LLMs
Ollama
Run it by pointing directly at the GGUF on Hugging Face.
ollama run hf.co/LiquidAI/LFM2.5-8B-A1B-GGUF:Q4_K_M
llama.cpp
Pass the repository and quantization name to llama-server (or llama-cli) with -hf.
llama-server -hf LiquidAI/LFM2.5-8B-A1B-GGUF:Q4_K_M
LM Studio
Paste LiquidAI/LFM2.5-8B-A1B-GGUF into the search box, download it, and choose the quantization from the file list.
Other models from LiquidAI
-
24B
LiquidAI
LFM2.5-24B-A2B
- UD-IQ2_XXS size
- 7.47 GB
- Memory at 8K
- 8.44 GB
Measured Estimated VRAM 8 GB+
-
1.2B
LiquidAI
LFM2.5-1.2B-Instruct
- Q4_K_M size
- 0.73 GB
- Memory at 8K
- 1.50 GB
Measured Estimated VRAM 4 GB+
-
0.4B
LiquidAI
LFM2.5-350M
- Q4_K_M size
- 0.23 GB
- Memory at 8K
- 1.00 GB
Measured Estimated VRAM 4 GB+
-
2.7B
LiquidAI
LFM2.5-2.6B
- Q4_K_M size
- 1.67 GB
- Memory at 8K
- 2.61 GB
Measured Estimated VRAM 4 GB+
-
0.2B
LiquidAI
LFM2.5-230M
- Q4_K_M size
- 0.15 GB
- Memory at 8K
- 0.93 GB
Measured Estimated VRAM 4 GB+
-
0.4B
LiquidAI
LFM2-350M-Extract
- Q4_K_M size
- 0.23 GB
- Memory at 8K
- 1.00 GB
Measured Estimated VRAM 4 GB+
Models of a similar size (other developers)
-
9.2B
ornith-ai
Ornith-1.5-9B
- Q4_K_M size
- 5.78 GB
- Memory at 8K
- 7.17 GB
Measured Estimated VRAM 8 GB+
-
9B
ornith-ai
Ornith-1.0-9B
- Q4_K_M size
- 5.63 GB
- Memory at 8K
- 7.02 GB
Measured Estimated VRAM 8 GB+
-
9B
DavidAU
Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-NEO-IMATRIX-MAX-MTP
- Q4_K_M size
- 6.83 GB
- Memory at 8K
- 8.20 GB
Measured Estimated VRAM 8 GB+
-
OpenMOSS-Team
MOSS-Music-8B-Instruct
- F16 size
- 1.72 GB
- Memory at 8K
- 3.78 GB
Measured Estimated VRAM 4 GB+
-
8.2B
Qwen
Qwen3-VL-8B-Instruct
- Q4_K_M size
- 5.03 GB
- Memory at 8K
- 7.08 GB
Measured Estimated VRAM 8 GB+
-
9B
Qwen
Qwen3.5-9B
- Q4_K_M size
- 5.68 GB
- Memory at 8K
- 7.05 GB
Measured Estimated VRAM 8 GB+
Frequently asked questions
- How much memory do I need to run LFM2.5-8B-A1B (Q4_K_M)?
- The file size is 5.16 GB (measured). With a 8,192-token context, the estimated memory including the KV cache is 6.06 GB. The formula is published at https://localllm.az-arte.com/en/guide/memory-calculation.
- Can LFM2.5-8B-A1B be used commercially?
- The original model's license is LFM Open License v1.0 (Commercial use with conditions).Commercial use by organizations with annual revenue of USD 10 million or more is not permitted under this license (a separate agreement is needed). Below that, commercial use is allowed. Check the original license text before deciding.
- Does LFM2.5-8B-A1B run in 8 GB, 12 GB, 16 GB or 24 GB of VRAM?
- 8 GB: up to Q6_K (est. 7.86 GB); 12 GB: up to Q8_0 (est. 9.91 GB); 16 GB: up to Q8_0 (est. 9.91 GB); 24 GB: up to BF16 (est. 17.8 GB) (estimated at 8,192 tokens with an f16 KV cache, files from the most-downloaded source).
- What is the command to run LFM2.5-8B-A1B with Ollama?
- Run "ollama run hf.co/LiquidAI/LFM2.5-8B-A1B-GGUF:Q4_K_M" to use the GGUF on Hugging Face directly. To use another quantization, replace the name at the end.