# ERNIE-5.5-Flash-Preview vs GLM 5.4

Source: https://openrouter.ai/compare/baidu/ernie-5.5-flash-preview/z-ai/glm-5.4

## Overview

| Attribute | ERNIE-5.5-Flash-Preview | GLM 5.4 |
| --- | --- | --- |
| Author | baidu | Z.ai |
| Reasoning | Yes | Yes |
| Input modalities | Text | Text, Image, Video |
| Output modalities | Text | Text |
| Input price | Pricing varies by provider | $0.40/M tokens |
| Output price | Pricing varies by provider | $2.464/M tokens |
| Context window | 1,024,000 tokens | 1,048,576 tokens |
| Latency (p50) | Not available | 0.90 s |
| Throughput (p50) | Not available | 109.0 tok/s |

## ERNIE-5.5-Flash-Preview or GLM 5.4: which should you choose?

### Choose GLM 5.4 for:

- a longer context window (1,048,576 vs 1,024,000 tokens)

ERNIE-5.5-Flash-Preview does not lead on any comparison both models report.

## Model pages

- [ERNIE-5.5-Flash-Preview](https://openrouter.ai/baidu/ernie-5.5-flash-preview) ([llms.txt](https://openrouter.ai/baidu/ernie-5.5-flash-preview/llms.txt))
- [GLM 5.4](https://openrouter.ai/z-ai/glm-5.4) ([llms.txt](https://openrouter.ai/z-ai/glm-5.4/llms.txt))
