LFM2.5-24B-A2B vs Phi 4

Compare LFM2.5-24B-A2B from Liquid and Phi 4 from Microsoft 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 microsoft
Phi 4

Overview

LFM2.5-24B-A2B
Author
Liquid
Phi 4
Author
Microsoft
LFM2.5-24B-A2B
Context length
128Ktokens
Phi 4
Context length
16Ktokens
LFM2.5-24B-A2B
Reasoning
Yes
Phi 4
Reasoning
No
LFM2.5-24B-A2B
Input modalities
Text
Phi 4
Input modalities
Text
LFM2.5-24B-A2B
Output modalities
Text
Phi 4
Output modalities
Text

Analysis

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

LFM2.5-24B-A2B
Input price
$0.05/M tokens
Phi 4
Input price
$0.07/M tokens
LFM2.5-24B-A2B
Output price
$0.70/M tokens
Phi 4
Output price
$0.14/M tokens
LFM2.5-24B-A2B
Context window
128,000 tokens
Phi 4
Context window
16,384 tokens
LFM2.5-24B-A2B
Openness Index Artificial Analysis, best published result
Not available
Phi 4
Openness Index Artificial Analysis, best published result
50.0
LFM2.5-24B-A2B
GPQA Diamond score Artificial Analysis, best published result
Not available
Phi 4
GPQA Diamond score Artificial Analysis, best published result
57.5%
LFM2.5-24B-A2B
Latency (p50)
0.22 s
Phi 4
Latency (p50)
0.88 s
LFM2.5-24B-A2B
Throughput (p50)
181.0 tok/s
Phi 4
Throughput (p50)
85.0 tok/s
LFM2.5-24B-A2B
Provided by
Liquid
Phi 4
Provided by
Microsoft

Benchmark data updated

Frequently asked questions

Is LFM2.5-24B-A2B cheaper than Phi 4?

LFM2.5-24B-A2B and Phi 4 trade off on price: LFM2.5-24B-A2B costs $0.05/M tokens input and $0.70/M tokens output, while Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, so LFM2.5-24B-A2B is cheaper for input tokens and Phi 4 is cheaper for output tokens.

Which has the longer context window, LFM2.5-24B-A2B or Phi 4?

LFM2.5-24B-A2B has the longer context window at 128,000 tokens, compared with 16,384 tokens for Phi 4.

Which is faster, LFM2.5-24B-A2B or Phi 4?

LFM2.5-24B-A2B is faster on OpenRouter, generating a median 181.0 tokens per second compared with 85.0 tokens per second for Phi 4.