# GLM 5 vs Step 5 Preview

As of November 23, 2026, GLM 5 and Step 5 Preview cost the same per input token ($1.00 per 1M), but GLM 5 costs 19% more per output token ($3.20 vs $2.70) and has a 200K-token context window versus 1M.

- Page: https://models.litellm.ai/compare/glm-5-vs-step-5-preview
- GLM 5: https://models.litellm.ai/models/glm-5
- Step 5 Preview: https://models.litellm.ai/models/step-5-preview

## Side by side

| | GLM 5 | Step 5 Preview |
|---|---|---|
| Input, per 1M tokens | $1.00 | $1.00 |
| Output, per 1M tokens | $3.20 | $2.70 |
| Cache read, per 1M tokens | $0.20 | $0.10 |
| Cache write, per 1M tokens | $0 | – |
| Context window | 200,000 tokens | 1,024,000 tokens |
| Max output | 128,000 tokens | 131,072 tokens |
| Image input | – | Yes |
| Tool calling | Yes | Yes |
| Structured output (JSON) | Yes | Yes |
| Prompt caching | Yes | Yes |
| Reasoning | Yes | Yes |
| Providers on LiteLLM | 10 | 5 |
| Price shown is from | Z.ai | EmpirioLabs AI |
| Added to LiteLLM | February 2026 | October 24, 2026 |

Headline prices in USD per 1M tokens, from LiteLLM's model price file.

## Cheapest provider for each

- GLM 5: DeepInfra at $0.60 input per 1M tokens (`deepinfra/zai-org/GLM-5`)
- Step 5 Preview: EmpirioLabs AI at $1.00 input per 1M tokens (`empiriolabs/step-5-preview`)

## When to pick which

- GLM 5: Available from 10 providers through LiteLLM, vs 5.
- Step 5 Preview: Costs 16% less per output token: $2.70 vs $3.20 per 1M.
- Step 5 Preview: Larger context window: 1,024,000 vs 200,000 tokens.

## FAQ

### Which is cheaper, GLM 5 or Step 5 Preview?

Step 5 Preview is cheaper at 3 input tokens per output token: $1.425 per 1M tokens blended ($1.00 input, $2.70 output), versus $1.55 ($1.00 and $3.20) for GLM 5, as of November 23, 2026.

### Which has the larger context window, GLM 5 or Step 5 Preview?

Step 5 Preview has the larger context window: 1,024,000 tokens, versus 200,000 for GLM 5.

### Can I switch from GLM 5 to Step 5 Preview without changing my code?

Yes. Through LiteLLM both use the OpenAI format, so switching means changing the model name from "zai/glm-5" to "empiriolabs/step-5-preview", or pointing a LiteLLM gateway model alias at the other model. You can also use one as a fallback for the other.
