# LFM3-1.7B vs Phi 4

Source: https://openrouter.ai/compare/liquid/lfm-3-1.7b/microsoft/phi-4

## Overview

| Attribute | LFM3-1.7B | Phi 4 |
| --- | --- | --- |
| Author | Liquid | Microsoft |
| Reasoning | Yes | No |
| Input modalities | Text | Text |
| Output modalities | Text | Text |
| Input price | $0.08/M tokens | $0.07/M tokens |
| Output price | $0.20/M tokens | $0.14/M tokens |
| Context window | 262,144 tokens | 16,384 tokens |
| Intelligence Index | 6.0 | Not available |
| Finance & Accounting Index | 16.8 | Not available |
| Strategy & Ops Index | 8.7 | Not available |
| Legal Index | 16.1 | Not available |
| Engineering Index | 16.3 | Not available |
| Economics Index | 16.0 | Not available |
| Openness Index | 38.9 | 50.0 |
| FrontierCode-AA 2.0 | 0.0% | Not available |
| GPQA Diamond score | Not available | 57.5% |
| Latency (p50) | 0.78 s | 0.88 s |
| Throughput (p50) | 266.5 tok/s | 85.0 tok/s |

## LFM3-1.7B or Phi 4: which should you choose?

### Choose LFM3-1.7B for:

- a longer context window (262,144 vs 16,384 tokens)
- faster output (266.5 vs 85.0 tok/s)
- a quicker first token (0.78 s vs 0.88 s)

### Choose Phi 4 for:

- lower token prices

## Benchmark differences

| Benchmark | LFM3-1.7B | Phi 4 | Difference |
| --- | --- | --- | --- |
| Intelligence Index | 6.0 | Not available | Not available |
| Finance & Accounting Index | 16.8 | Not available | Not available |
| Strategy & Ops Index | 8.7 | Not available | Not available |
| Legal Index | 16.1 | Not available | Not available |
| Engineering Index | 16.3 | Not available | Not available |
| Economics Index | 16.0 | Not available | Not available |
| FrontierCode-AA 2.0 | 0.0% | Not available | Not available |

## Model pages

- [LFM3-1.7B](https://openrouter.ai/liquid/lfm-3-1.7b) ([llms.txt](https://openrouter.ai/liquid/lfm-3-1.7b/llms.txt))
- [Phi 4](https://openrouter.ai/microsoft/phi-4) ([llms.txt](https://openrouter.ai/microsoft/phi-4/llms.txt))
