LFM 40B is Liquid AI's language model with a 131K context window, starting at $0.1 / 1M input and $0.2 / 1M output. A 40B-parameter Liquid Foundation Model designed to handle complex tasks with an optimal balance between model size and output quality.
Specifications
Canonical IDliquid-lfm-40b
TypeLanguage
StatusActive
CreatorLiquid AILiquid AI
Providers
Context Window131K tokens
Input ModalitiesText
Output ModalitiesText
Parameters40B
Benchmarks
Intelligence Index
#512
MMLU-Pro
#309
GPQA
#482
HLE
#401
LiveCodeBench
#311
AIME
#164
Time to First Token
#200
SciCode
#509
MATH-500
#170
Output TPS
#440

Capabilities

Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities2/13
Reasoning·
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling✓
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Lambda logo
Lambda
lambda_ai/lfm-40b
$0.1$0.2

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host LFM 40B, ranked by cheapest on-demand price. The model needs about 96 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
Standard_NP20sAzure2× AMD Alveo U250 FPGA (64GB)128 GB$3.30/hr
g7e.2xlargeAWSRTX PRO Server 600096 GB$3.36/hr
g2-standard-48GCP4× nvidia-l496 GB$3.99/hr
7 more instances can run LFM 40B
Unlock the full ranked list and FP8 / INT4 quantization with a CloudPrice subscription.

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
LFM 2.5 24B A2B128K$0.050$0.700Available
LFM 2 24B A2B128K——Available
LFM 2.5 1.2B Instruct33K——Available
LFM 2.5 1.2B Thinking33K——Available
LFM 2.5 8B A1B————Available
LFM 2 2.6B————Available
LFM 2 8B A1B————Available
LFM 2 1.2B————Available
LFM 2.5 1.6B VL————Available
LFM 2.5 2.6B Free—66K——Available
LFM 40B—131K$0.100$0.200Current

Model IDs

lambda_ai/lfm-40b
lfm-40b
liquid-lfm-40b
liquid-lfm-40b-a100
liquid-lfm-40b-h100
liquid-lfm-40b-l40s