Model reference · open weights
LFM2-Longevity is an open-weight language model from LiquidAI. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | LiquidAI |
|---|---|
| Type | Language models |
| Task | Text gen |
| Parameters (lead) | 2.6B |
| Context | 125k tokens |
| Runs with | transformers |
| Based on | LiquidAI/LFM2-2.6B |
| Released | 2026-05-25 |
| Popularity | 5k downloads / month |
| Licence | Commercial licence needed |
About
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;" />
Longevity-LLM (L-LLM) is a family of compact, domain-adapted language models for interpreting heterogeneous aging biology data. Longevity LFMs are available in two sizes:
This checkpoint, L-LFM2-2.6B, was produced by full-parameter supervised fine-tuning of LiquidAI/LFM2-2.6B on aging-related multi-omics and clinical data.
The family was developed jointly by Insilico Medicine and Liquid AI and accompanies the study "An Open Benchmark and Language Models for AI in Aging Biology" (Zhavoronkov et al., 2026).
Training data. The model was trained on the shared L-LLM corpus spanning aging biology. See LongevityBench for more details.
Training procedure. L-LFM2-2.6B was trained with full-parameter supervised fine-tuning. Prompts were formatted in ChatML with a dynamic-thinking template (user turns suffixed with /think or /no_think to select response mode at inference).
LFM2 uses a ChatML-like format. See the Chat Template documentation for details. Example:
You are a biomedical AI specialized in aging biology, trained on genomic, proteomic, and clinical data.
Which of the following two Melanoma cases has had a longer progression-free interval after the initial RNAseq screening?
Options:
Patient-A: A 77-year-old male diagnosed with Stage I, TT2a, NNX, MM0 disease non-ulcerated, Clark level III;
Patient-B: A 85-year-old male diagnosed with Stage III, TTX, NN2, MM0 disease
GSEA results:
No significant pathway differences detected.
You can use tokenizer.apply_chat_template() to format your messages automatically.
LFM2 is supported by many inference frameworks. See the Inference documentation for the full list.
| Name | Description | Docs | Notebook |
|---|---|---|---|
| Transformers | Simple inference with direct access to model internals. | Link | |
| vLLM | High-throughput production deployments with GPU. | Link | |
| SGLang | High-throughput production deployments with GPU. | Link | — |
| llama.cpp | Cross-platform inference with CPU offloading. | Link | |
| MLX | Apple's machine learning framework optimized for Apple Silicon. | Link | — |
| LM Studio | Desktop application for running LLMs locally. | Link | — |
Quick start with Transformers (compatible with transformers>=5.1.0)
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load model and tokenizer
model_id = "LiquidAI/LFM2-2.6B-Longevity"
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
dtype="bfloat16",
)
tokenizer = AutoTokenizer.from_pretrained(model_id)
# Generate answer
messages = [
{"role": "system", "content": "You are a biomedical AI specialized in aging biology, trained on genomic, proteomic, and clinical data."},
{"role": "user", "content": "What are the hallmarks of aging?"},
]
input_ids = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
return_tensors="pt",
tokenize=True,
return_dict=False,
).to(model.device)
output = model.generate(
input_ids,
do_sample=True,
temperature=0.3,
min_p=0.15,
repetition_penalty=1.05,
max_new_tokens=1500
)
print(tokenizer.decode(output[0], skip_special_tokens=False))
Intended for research on aging biology and omics interpretation. Outputs are model predictions, not clinical advice, and should be validated experimentally. Performance is strongest on the modalities represented in the training corpus.
@article{zhavoronkov2026longevitybench,
title = {An Open Benchmark and Language Models for AI in Aging Biology},
author = {Zhavoronkov, Alex and Naumov, Vladimir and Sidorenko, Denis and Aliper, Alex and Aladinskiy, Vladimir and Hasani, Ramin and Amini, Alexander and Nasto, Katerina and Reymond, Mathieu and Shayakhmetov, Rim and Miftakhutdinov, Zulfat and Gladyshev, Vadim N. and Galkin, Fedor},
journal = {Cell},
volume = {189},
pages = {5980--5994},
year = {2026},
doi = {10.1016/j.cell.2026.08.026},
url = {https://www.cell.com/cell/fulltext/S0092-8674(26)00999-2},
}
@article{liquidai2025lfm2,
title={LFM2 Technical Report},
author={Liquid AI},
journal={arXiv preprint arXiv:2511.23404},
year={2025}
}
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys lfm2-longevity for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (lfm2-longevity below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"lfm2-longevity","messages":[{"role":"user","content":"Hello"}]}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.