LFM2.5-24B-A2B vs GLM 5.4

Compare LFM2.5-24B-A2B 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.

LFM2.5-24B-A2B
Favicon for z-ai
GLM 5.4

Overview

LFM2.5-24B-A2B
Author
Liquid
GLM 5.4
Author
Z.ai
LFM2.5-24B-A2B
Context length
128Ktokens
GLM 5.4
Context length
1.05Mtokens
LFM2.5-24B-A2B
Reasoning
Yes
GLM 5.4
Reasoning
Yes
LFM2.5-24B-A2B
Input modalities
Text
GLM 5.4
Input modalities
Text, Image, Video
LFM2.5-24B-A2B
Output modalities
Text
GLM 5.4
Output modalities
Text

Analysis

LFM2.5-24B-A2B vs GLM 5.4 at a glance

LFM2.5-24B-A2B
Input price
$0.05/M tokens
GLM 5.4
Input price
$0.40/M tokens
LFM2.5-24B-A2B
Output price
$0.70/M tokens
GLM 5.4
Output price
$2.464/M tokens
LFM2.5-24B-A2B
Context window
128,000 tokens
GLM 5.4
Context window
1,048,576 tokens
LFM2.5-24B-A2B
Latency (p50)
0.23 s
GLM 5.4
Latency (p50)
0.58 s
LFM2.5-24B-A2B
Throughput (p50)
181.0 tok/s
GLM 5.4
Throughput (p50)
132.0 tok/s
LFM2.5-24B-A2B
Provided by
Liquid
GLM 5.4
Provided by
Z.ai

Frequently asked questions

Is LFM2.5-24B-A2B cheaper than GLM 5.4?

LFM2.5-24B-A2B is cheaper than GLM 5.4 on OpenRouter: LFM2.5-24B-A2B costs $0.05/M tokens input and $0.70/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, LFM2.5-24B-A2B or GLM 5.4?

GLM 5.4 has the longer context window at 1,048,576 tokens, compared with 128,000 tokens for LFM2.5-24B-A2B.

Which is faster, LFM2.5-24B-A2B or GLM 5.4?

LFM2.5-24B-A2B is faster on OpenRouter, generating a median 181.0 tokens per second compared with 132.0 tokens per second for GLM 5.4.