onrup

LFM2 · Liquid AI

Fine-tuning LFM2 8B-A1B

What does it take to fine-tune LFM2 8B-A1B?

LFM2 8B-A1B needs 18 GB for half-precision LoRA training and 12 GB in four-bit, and 16 GB to serve. It supports supervised fine-tuning, under the LFM Open licence. The cheapest qualifying class is RTX 3080 at $0.09 per GPU-hour.

Eight billion parameters with only 1.5 billion active per token — the most aggressive sparsity ratio in the catalogue. The practical effect is 8B-class knowledge at closer to 1.5B-class inference cost, provided you can afford to keep all eight billion resident.

What to know before choosing it

Eight billion parameters with 1.5 billion active is the most aggressive sparsity ratio in the catalogue. In practice that means 8B-class knowledge at closer to 1.5B-class inference cost — provided you can afford to keep all eight billion resident, which is the part people forget.

It is therefore a serving-economics play rather than a training-economics one. On a busy endpoint the throughput advantage is real; on an intermittent one you are paying 8B memory for 1.5B of work.

Specification

LFM2 8B-A1B specification
Parameters8.3B1.5B active per token
ArchitectureMixture of experts
Size tierMid
LoRA training memory18 GBHalf precision, frozen base
QLoRA training memory12 GBFour-bit base, higher-precision adapter
Serving memory16 GBHalf precision, before attention cache
ObjectivesSFT
LicenceLFM Open
RepositoryLiquidAI/LFM2-8B-A1B

What it costs to train

Every class with enough memory for four-bit training, cheapest first. Total cost is the rate multiplied by wall time, so the cheapest rate is not always the cheapest run — a faster class that finishes sooner frequently wins.

GPU classVRAMTraining / hrServing / hrFits
RTX 308012 GB$0.09$0.11QLoRA only
RTX 4000 Ada20 GB$0.09$0.11LoRA and QLoRA
L424 GB$0.17$0.20LoRA and QLoRA
RTX 309024 GB$0.22$0.26LoRA and QLoRA
RTX 409024 GB$0.38$0.43LoRA and QLoRA
A4048 GB$0.42$0.48LoRA and QLoRA
RTX 6000 Ada48 GB$0.61$0.71LoRA and QLoRA
A600048 GB$0.65$0.75LoRA and QLoRA
L40S48 GB$0.78$0.90LoRA and QLoRA
A100 40 GB40 GB$1.17$1.35LoRA and QLoRA
A100 80 GB80 GB$1.68$1.94LoRA and QLoRA
H100 80 GB80 GB$2.59$2.99LoRA and QLoRA
H200141 GB$4.55$5.25LoRA and QLoRA

Half-precision LoRA needs 18 GB, so the cheapest class for it is RTX 4000 Ada at $0.09 per hour. Below that, training has to be quantised.

Serving fits on RTX 4000 Ada at $0.11 per hour — before the attention cache, which grows with context length and concurrency.

Good starting point for

This is a mixture-of-experts model

8.3B total parameters with 1.5B active per token. Memory scales with the total; inference compute scales with the active count. That makes it attractive when memory is cheaper than compute for your workload, and unattractive when the reverse holds. Quoting only one of the two numbers is how these models get misrepresented in both directions.

What mixture of experts means →

Other sizes in this family

ModelParamsQLoRAObjectives
LFM2 350M350M2 GBSFT
LFM2 700M700M3 GBSFT
LFM2 1.2B1.2B4 GBSFT
LFM2 2.6B2.6B6 GBSFT
LFM2 24B-A2B24B28 GBSFT

Comparable sizes elsewhere

Frequently asked questions

How much VRAM does it take to fine-tune LFM2 8B-A1B?

18 GB for half-precision LoRA and 12 GB for four-bit QLoRA. Serving needs 16 GB. Preference tuning roughly doubles the training figure, because a frozen reference model is held alongside the one being trained.

What is the cheapest way to fine-tune LFM2 8B-A1B?

Four-bit QLoRA on RTX 3080 at $0.09 per GPU-hour is the cheapest class that meets the 12 GB threshold. Note that quantised training is slower per step, so a faster class sometimes costs less over the whole run.

Can I download the weights after fine-tuning LFM2 8B-A1B?

Yes. Every finished run exposes its trained weights for download, and publishing to a model hub is a single call with a generated model card recording the base model and version the adapter applies to.

What licence does LFM2 8B-A1B carry?

LFM Open. The licence follows the fine-tune — a derivative inherits the base model’s terms, and those terms pass to anyone you give the model to.

Last verified 6 August 2026. Memory thresholds are the platform's own admission limits.

Fine-tune LFM2 8B-A1B

Upload a dataset, forecast the run, and see the cost before any compute is leased.