LFM 40B is Liquid AI's language model with a 131K context window, starting at $0.100 / 1M input and $0.200 / 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
8.8
#417
MMLU-Pro
0.4
#292
GPQA
0.3
#396
HLE
0.0
#291
LiveCodeBench
0.1
#298
AIME
0.0
#152
Time to First Token
0.00s
#134
SciCode
0.1
#409
MATH-500
0.5
#160
Output TPS
0.0
#402

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

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Lambda logo
Lambda
lambda_ai/lfm-40b
$0.100$0.200

Cost Calculator

Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
LFM 2 24B A2B128K$0.030$0.120Available
LFM 2.5 1.2B Thinking33KAvailable
LFM 2.5 1.2B Instruct33KAvailable
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