Spiral gives your agent every tool with one account. Browse the tools →

GLM 5.4 vs LFM2.5-24B-A2B (Comparative Analysis)

Loading comparison form...
Comparative Analysis: GLM 5.4 vs. LFM2.5-24B-A2B
Want to try out these models side by side?Sign up for Spiral

Overview

LFM2.5-24B-A2B was released 1 month before GLM 5.4.
GLM 5.4GLM 5.4
LFM2.5-24B-A2BLFM2.5-24B-A2B
Model Provider
The organization behind this AI's development
Z.AI logoZ.AI
Liquid logoLiquid
Input Context Window
Maximum input tokens this model can process at once
1M
tokens
128K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
943.7K
tokens
8.2K
tokens
Release Date
When this model first became publicly available
December 2nd, 2026
October 13th, 2026

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
GLM 5.4
LFM2.5-24B-A2B
Input Types
Supported input formats
📝Text🖼️Image🎬Video
📝Text
Reasoning Controls
Defaults and configurable reasoning effort
Always enabledEffort: Max, High, LowDefault: Max
Always enabled
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
OtherOther
Key Features
Advanced capabilities
✓Function Calling✓Structured Output✓Reasoning ModeContent Moderation
✓Function Calling✓Structured Output✓Reasoning ModeContent Moderation
Open Source
Model availability
Available on HuggingFace →Available on HuggingFace →

Pricing

GLM 5.4 is roughly 28.0x more expensive compared to LFM2.5-24B-A2B for input tokens and roughly 6.3x more expensive for output tokens.
GLM 5.4GLM 5.4
LFM2.5-24B-A2BLFM2.5-24B-A2B
Input Token Cost
Cost per million input tokens
$1.40
per million tokens
$0.05
per million tokens
Output Token Cost
Cost per million output tokens
$4.40
per million tokens
$0.70
per million tokens
Cache Read Cost
Cost to reuse cached input tokens
$0.26
per million tokens
$0.02
per million tokens

At a Glance

Quick overview of what makes GLM 5.4 and LFM2.5-24B-A2B unique.
Z.AI logoGLM 5.4 by Z.AI understands both text and images, analyzes video, can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 1M token context window. Reasonably priced at $1.40/M input and $4.40/M output tokens. Released December 2nd, 2026.
Liquid logoLFM2.5-24B-A2B by Liquid can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 128K token context window. Very affordable at $0.05/M input and $0.70/M output tokens. Released October 13th, 2026.

Explore More Comparisons

Compare your models with top performers across different categories