# LFM2.5-24B-A2B vs Phi 4

Source: https://openrouter.ai/compare/liquid/lfm-2.5-24b-a2b/microsoft/phi-4

## Overview

| Attribute | LFM2.5-24B-A2B | Phi 4 |
| --- | --- | --- |
| Author | Liquid | Microsoft |
| Reasoning | Yes | No |
| Input modalities | Text | Text |
| Output modalities | Text | Text |
| Input price | $0.05/M tokens | $0.07/M tokens |
| Output price | $0.70/M tokens | $0.14/M tokens |
| Context window | 128,000 tokens | 16,384 tokens |
| Openness Index | Not available | 50.0 |
| GPQA Diamond score | Not available | 57.5% |
| Latency (p50) | 0.22 s | 0.88 s |
| Throughput (p50) | 181.0 tok/s | 85.0 tok/s |

## LFM2.5-24B-A2B or Phi 4: which should you choose?

### Choose LFM2.5-24B-A2B for:

- a longer context window (128,000 vs 16,384 tokens)
- faster output (181.0 vs 85.0 tok/s)
- a quicker first token (0.22 s vs 0.88 s)
- cheaper input tokens

### Choose Phi 4 for:

- cheaper output tokens

## Model pages

- [LFM2.5-24B-A2B](https://openrouter.ai/liquid/lfm-2.5-24b-a2b) ([llms.txt](https://openrouter.ai/liquid/lfm-2.5-24b-a2b/llms.txt))
- [Phi 4](https://openrouter.ai/microsoft/phi-4) ([llms.txt](https://openrouter.ai/microsoft/phi-4/llms.txt))
