LFM3-1.7B vs GLM 5.4

Compare LFM3-1.7B from Liquid and GLM 5.4 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

LFM3-1.7B
Favicon for z-ai
GLM 5.4

Overview

LFM3-1.7B
Author
Liquid
GLM 5.4
Author
Z.ai
LFM3-1.7B
Context length
262Ktokens
GLM 5.4
Context length
1.05Mtokens
LFM3-1.7B
Reasoning
Yes
GLM 5.4
Reasoning
Yes
LFM3-1.7B
Input modalities
Text
GLM 5.4
Input modalities
Text, Image, Video
LFM3-1.7B
Output modalities
Text
GLM 5.4
Output modalities
Text

Analysis

LFM3-1.7B vs GLM 5.4 at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

LFM3-1.7B
Input price
$0.08/M tokens
GLM 5.4
Input price
$0.40/M tokens
LFM3-1.7B
Output price
$0.20/M tokens
GLM 5.4
Output price
$2.464/M tokens
LFM3-1.7B
Context window
262,144 tokens
GLM 5.4
Context window
1,048,576 tokens
LFM3-1.7B
Intelligence Index Artificial Analysis, best published result
6.0
GLM 5.4
Intelligence Index Artificial Analysis, best published result
Not available
LFM3-1.7B
Finance & Accounting Index Artificial Analysis, best published result
16.8
GLM 5.4
Finance & Accounting Index Artificial Analysis, best published result
Not available
LFM3-1.7B
Strategy & Ops Index Artificial Analysis, best published result
8.7
GLM 5.4
Strategy & Ops Index Artificial Analysis, best published result
Not available
LFM3-1.7B
Legal Index Artificial Analysis, best published result
16.1
GLM 5.4
Legal Index Artificial Analysis, best published result
Not available
LFM3-1.7B
Engineering Index Artificial Analysis, best published result
16.3
GLM 5.4
Engineering Index Artificial Analysis, best published result
Not available
LFM3-1.7B
Economics Index Artificial Analysis, best published result
16.0
GLM 5.4
Economics Index Artificial Analysis, best published result
Not available
LFM3-1.7B
Openness Index Artificial Analysis, best published result
38.9
GLM 5.4
Openness Index Artificial Analysis, best published result
Not available
LFM3-1.7B
FrontierCode-AA 2.0 Artificial Analysis, best published result
0.0%
GLM 5.4
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
LFM3-1.7B
Latency (p50)
0.78 s
GLM 5.4
Latency (p50)
0.98 s
LFM3-1.7B
Throughput (p50)
266.5 tok/s
GLM 5.4
Throughput (p50)
116.0 tok/s
LFM3-1.7B
Provided by
Liquid
GLM 5.4
Provided by
Z.ai

Benchmark data updated

Frequently asked questions

Is LFM3-1.7B cheaper than GLM 5.4?

LFM3-1.7B is cheaper than GLM 5.4 on OpenRouter: LFM3-1.7B costs $0.08/M tokens input and $0.20/M tokens output, while GLM 5.4 costs $0.40/M tokens input and $2.464/M tokens output.

Which has the longer context window, LFM3-1.7B or GLM 5.4?

GLM 5.4 has the longer context window at 1,048,576 tokens, compared with 262,144 tokens for LFM3-1.7B.

Which is faster, LFM3-1.7B or GLM 5.4?

LFM3-1.7B is faster on OpenRouter, generating a median 266.5 tokens per second compared with 116.0 tokens per second for GLM 5.4.