# Ternary Bonsai 2 9B vs Step 5

Source: https://openrouter.ai/compare/prism-ml/ternary-bonsai-2-9b/stepfun/step-5

## Overview

| Attribute | Ternary Bonsai 2 9B | Step 5 |
| --- | --- | --- |
| Author | PrismML | stepfun |
| Reasoning | Yes | Yes |
| Input modalities | Text, Image | Text, Image, Video |
| Output modalities | Text | Text |
| Input price | $0.08/M tokens | $1/M tokens |
| Output price | $0.13/M tokens | $2.70/M tokens |
| Context window | 262,144 tokens | 1,000,000 tokens |
| Latency (p50) | 0.47 s | 2.37 s |
| Throughput (p50) | 60.0 tok/s | 59.0 tok/s |

## Ternary Bonsai 2 9B or Step 5: which should you choose?

### Choose Ternary Bonsai 2 9B for:

- faster output (60.0 vs 59.0 tok/s)
- a quicker first token (0.47 s vs 2.37 s)
- lower token prices

### Choose Step 5 for:

- a longer context window (1,000,000 vs 262,144 tokens)

## Model pages

- [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))
- [Step 5](https://openrouter.ai/stepfun/step-5) ([llms.txt](https://openrouter.ai/stepfun/step-5/llms.txt))
