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

Gemma 4 31B vs LFM2.5-24B-A2B (Comparative Analysis)

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

Overview

Gemma 4 31B was released 6 months before LFM2.5-24B-A2B.
Gemma 4 31BGemma 4 31B
LFM2.5-24B-A2BLFM2.5-24B-A2B
Model Provider
The organization behind this AI's development
Google logoGoogle
Liquid logoLiquid
Input Context Window
Maximum input tokens this model can process at once
262.1K
tokens
128K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
16.4K
tokens
8.2K
tokens
Release Date
When this model first became publicly available
April 2nd, 2026
October 13th, 2026

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
Gemma 4 31B
LFM2.5-24B-A2B
Input Types
Supported input formats
🖼️Image📝Text🎬Video
📝Text
Reasoning Controls
Defaults and configurable reasoning effort
Optional
Always enabled
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
GemmaOther
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

Gemma 4 31B is roughly 4.0x more expensive compared to LFM2.5-24B-A2B for input tokens and roughly 0.6x less expensive for output tokens.
Gemma 4 31BGemma 4 31B
LFM2.5-24B-A2BLFM2.5-24B-A2B
Input Token Cost
Cost per million input tokens
$0.20
per million tokens
$0.05
per million tokens
Output Token Cost
Cost per million output tokens
$0.40
per million tokens
$0.70
per million tokens
Cache Read Cost
Cost to reuse cached input tokens
Not specified
$0.02
per million tokens

Benchmarks

Compare relevant benchmarks between Gemma 4 31B and LFM2.5-24B-A2B.
Gemma 4 31BGemma 4 31B
LFM2.5-24B-A2BLFM2.5-24B-A2B
Intelligence Index
Overall model quality across independent evaluations
4
(Artificial Analysis index; higher is better)
Benchmark not available.

At a Glance

Quick overview of what makes Gemma 4 31B and LFM2.5-24B-A2B unique.
Google logoGemma 4 31B by Google 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 262.1K token context window. Very affordable at $0.20/M input and $0.40/M output tokens. Released April 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