# LFM2.5-24B-A2B vs Ternary Bonsai 2 9B

Source: https://openrouter.ai/compare/liquid/lfm-2.5-24b-a2b/prism-ml/ternary-bonsai-2-9b

## Overview

| Attribute | LFM2.5-24B-A2B | Ternary Bonsai 2 9B |
| --- | --- | --- |
| Author | Liquid | PrismML |
| Reasoning | Yes | Yes |
| Input modalities | Text | Text, Image |
| Output modalities | Text | Text |
| Input price | $0.05/M tokens | $0.08/M tokens |
| Output price | $0.70/M tokens | $0.13/M tokens |
| Context window | 128,000 tokens | 262,144 tokens |
| Latency (p50) | 0.22 s | 0.46 s |
| Throughput (p50) | 181.0 tok/s | 60.0 tok/s |

## LFM2.5-24B-A2B or Ternary Bonsai 2 9B: which should you choose?

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

- faster output (181.0 vs 60.0 tok/s)
- a quicker first token (0.22 s vs 0.46 s)
- cheaper input tokens

### Choose Ternary Bonsai 2 9B for:

- a longer context window (262,144 vs 128,000 tokens)
- 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))
- [Ternary Bonsai 2 9B](https://openrouter.ai/prism-ml/ternary-bonsai-2-9b) ([llms.txt](https://openrouter.ai/prism-ml/ternary-bonsai-2-9b/llms.txt))
