Model reference · open weights

LFM2

LLMs LiquidAI Text gen · MoE 3 builds Its own licence terms 67k dl/mo

LFM2 is an open-weight language model from LiquidAI. LFM2-350M (BF16) weighs 709 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • LFM2-1.2B is a text-generation model developed by LiquidAI for edge AI and on-device deployment.
  • It features 1.2B parameters, a 128,000-token context length, and supports English, Arabic, Chinese, French, German, Japanese, Korean, Spanish, and Portuguese.
  • The model is released under the LFM Open License v1.0.

Summary of the LiquidAI/LFM2-1.2B model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byLiquidAI
Released2025-07-10
Parameters1.2B
VRAM709 MB for the weights

What it runs on

Memory and cards for LFM2-350M (BF16)

709 MBweights, file size
547 MBruntime overhead, at least
128,000 tokenscontext max

How much memory each request adds isn't estimated yet for this architecture. The weights need at least the cards below, plus room for the context.

CardWeights alone
RTX 3060 12 GBfits
RTX 4060 Ti 16 GBfits
RTX 3090 24 GBfits
RTX 4090 24 GBfits
RTX 5090 32 GBfits
L40S 48 GBfits
A100 80 GBfits
H100 80 GBfits
RTX PRO 6000 Blackwell 96 GBfits
DGX Spark (GB10) 128 GB unifiedfits
H200 141 GBfits
B200 180 GBfits

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
LFM2-1.2B ↗ 1.2BBF16 2.3 GBRTX 3060 12 GB
LFM2-350M (above) ↗ 354MBF16 709 MBRTX 3060 12 GB
LFM2-24B-A2B ↗ 23.8BBF16 47.7 GB2× RTX 5090 32 GB

From the model card

What LiquidAI says about LFM2

Read the model card

src="https://cdn-uploads.huggingface.co/production/uploads/61b8e2ba285851687028d395/2b08LKpev0DNEk6DlnWkY.png" alt="Liquid AI" style="width: 100%; max-width: 100%; height: auto; display: inline-block; margin-bottom: 0.5em; margin-top: 0.5em;" />

LFM2-1.2B

LFM2 is a new generation of hybrid models developed by Liquid AI, specifically designed for edge AI and on-device deployment. It sets a new standard in terms of quality, speed, and memory efficiency.

We're releasing the weights of four post-trained checkpoints with 350M, 700M, 1.2B, and 2.6B parameters. They provide the following key features to create AI-powered edge applications:

  • Fast training & inference – LFM2 achieves 3x faster training compared to its previous generation. It also benefits from 2x faster decode and prefill speed on CPU compared to Qwen3.
  • Best performance – LFM2 outperforms similarly-sized models across multiple benchmark categories, including knowledge, mathematics, instruction following, and multilingual capabilities.
  • New architecture – LFM2 is a new hybrid Liquid model with multiplicative gates and short convolutions.
  • Flexible deployment – LFM2 runs efficiently on CPU, GPU, and NPU hardware for flexible deployment on smartphones, laptops, or vehicles.

Find more information about LFM2 in our blog post.

📄 Model details

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.

PropertyLFM2-350MLFM2-700MLFM2-1.2BLFM2-2.6B
Parameters354,483,968742,489,3441,170,340,6082,569,272,320
Layers16 (10 conv + 6 attn)16 (10 conv + 6 attn)16 (10 conv + 6 attn)30 (22 conv + 8 attn)
Context length32,768 tokens32,768 tokens32,768 tokens32,768 tokens
Vocabulary size65,53665,53665,53665,536
Precisionbfloat16bfloat16bfloat16bfloat16
Training budget10 trillion tokens10 trillion tokens10 trillion tokens10 trillion tokens
LicenseLFM Open License v1.0LFM Open License v1.0LFM Open License v1.0LFM Open License v1.0

Supported languages: English, Arabic, Chinese, French, German, Japanese, Korean, and Spanish.

Generation parameters: We recommend the following parameters:

  • temperature=0.3
  • min_p=0.15
  • repetition_penalty=1.05

Chat template: LFM2 uses a ChatML-like chat template as follows:

You are a helpful assistant trained by Liquid AI.
What is C. elegans?
It's a tiny nematode that lives in temperate soil environments.

You can automatically apply it using the dedicated .apply_chat_template() function from Hugging Face transformers.

Tool use: It consists of four main steps:

  1. Function definition: LFM2 takes JSON function definitions as input (JSON objects between and special tokens), usually in the system prompt
  2. Function call: LFM2 writes Pythonic function calls (a Python list between and special tokens), as the assistant answer.
  3. Function execution: The function call is executed and the result is returned (string between and special tokens), as a "tool" role.
  4. Final answer: LFM2 interprets the outcome of the function call to address the original user prompt in plain text.

Here is a simple example of a conversation using tool use:

List of tools: [{"name": "get_candidate_status", "description": "Retrieves the current status of a candidate in the recruitment process", "parameters": {"type": "object", "properties": {"candidate_id": {"type": "string", "description": "Unique identifier for the candidate"}}, "required": ["candidate_id"]}}]
What is the current status of candidate ID 12345?
The candidate with ID 12345 is currently in the "Interview Scheduled" stage for the position of Clinical Research Associate, with an interview date set for 2023-11-20.

You can directly pass tools as JSON schema or Python functions with .apply_chat_template() as shown in this page to automatically format the system prompt.

Architecture: Hybrid model with multiplicative gates and short convolutions: 10 double-gated short-range convolution blocks and 6 grouped query attention (GQA) blocks.

Pre-training mixture: Approximately 75% English, 20% multilingual, and 5% code data sourced from the web and licensed materials.

Training approach:

  • Knowledge distillation using LFM1-7B as teacher model
  • Very large-scale SFT on 50% downstream tasks, 50% general domains
  • Custom DPO with length normalization and semi-online datasets
  • Iterative model

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms