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
3.4
#444
MMLU-Pro
0.4
#292
GPQA
0.3
#419
HLE
0.0
#315
LiveCodeBench
0.1
#298
AIME
0.0
#152
Time to First Token
0.00s
#153
SciCode
0.1
#432
MATH-500
0.5
#160
Output TPS
0.0
#412

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/hrwestus2
g7e.2xlargeAWSRTX PRO Server 600096 GB$3.36/hrus-east-1
g2-standard-48GCP4× nvidia-l496 GB$3.99/hrus-east4
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 24B A2B128KAvailable
LFM 2.5 1.2B Instruct33KAvailable
LFM 2.5 1.2B Thinking33KAvailable
LFM 2.5 8B A1BAvailable
LFM 2 2.6BAvailable
LFM 2 8B A1BAvailable
LFM 2 1.2BAvailable
LFM 2.5 1.6B VLAvailable
LFM 40B131K$0.100$0.200Current
LFM 7B131K$0.025$0.040Available

Model IDs

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