# GLM-5.4 API pricing

> GLM-5.4 via one OpenAI-compatible key: $0.96 in / $3.36 out per 1M tokens. Model ID glm-5.4.

Call it with model ID `glm-5.4` at `https://api.outrun.to/v1` using one prepaid Outrun key.

**$0.96** in **$3.36** out per 1M tokens

`glm-5.4`

[Get a key](https://outrun.to/overview) [See the request](https://outrun.to/model/glm-5.4#quickstart)

Context tested

469,000 tokens

Max output tested

at least 16,384 tokens

Input

Text + images

Capabilities

Tool calling, Reasoning, Structured output

## How much does GLM-5.4 cost per 1M tokens?

Main ID `glm-5.4`

| Token type | Outrun per 1M tokens |
| --- | --- |
| Input per 1M tokens | $0.96 |
| Cached input per 1M tokens | $0.24 |
| Cache write per 1M tokens | $0.96 |
| Output per 1M tokens | $3.36 |

## What is GLM-5.4?

GLM-5.4 is a text model in the Outrun catalog. The standard rate is $0.96 in / $3.36 out per 1M tokens.

## What are the GLM-5.4 model details?

Context tested **469,000** tokens

Max output tested

**at least 16,384** tokens

Kind

Text

Developer input

Text, Images

Output speed

## How do I call GLM-5.4?

Use your Outrun key and the exact model ID. Requests use prepaid USD credit.

POST **/v1/chat/completions**

```
curl https://api.outrun.to/v1/chat/completions \
  -H "Authorization: Bearer $OUTRUN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "glm-5.4",
  "messages": [
    {
      "role": "user",
      "content": "Hello!"
    }
  ],
  "max_tokens": 8192
}'
```

```
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.outrun.to/v1",
    api_key=os.environ["OUTRUN_API_KEY"],
)
reply = client.chat.completions.create(
    model="glm-5.4",
    messages=[{"role": "user", "content": "Hello!"}],
    max_tokens=8192,
)
print(reply.choices[0].message.content)
```

| Capability | Supported |
| --- | --- |
| Tool calling | Yes |
| Streaming | Yes |
| Reasoning | Always on |
| Structured output | Yes |
| Parallel tools | Yes |
| Image input | Yes |

## Which tools work with GLM-5.4?

Any client that accepts an OpenAI-compatible base URL and a model ID can use `glm-5.4`.

Use these setup values for this model ID. Recommended output settings can be lower than the route maximum.

| Set this value | Value |
| --- | --- |
| API format | `OpenAI compatible` |
| Base URL | `https://api.outrun.to/v1` |
| Model ID | `glm-5.4` |
| Streaming | `Yes` |
| Image support | `Yes` |

## How does GLM-5.4 compare on cost?

1,000 chat turns at standard-tier rates.

| Model | Input / output per 1M tokens | 1,000 chat turns |
| --- | --- | --- |
| [GLM-5.3 Flash](https://outrun.to/model/glm-5.3-flash) `glm-5.3-flash` | $0.12 / $0.42 per 1M tokens | $0.25 per 1,000 chat turns |
| [GLM-5.3 Flash Cybersecurity](https://outrun.to/model/glm-5.3-flash-cybersecurity) `glm-5.3-flash-cybersecurity` | $0.30 / $1.00 per 1M tokens | $0.60 per 1,000 chat turns |
| [GLM-5.3](https://outrun.to/model/glm-5.3) `glm-5.3` | $0.66 / $2.06 per 1M tokens | $1.28 per 1,000 chat turns |
| [GLM-5.4](https://outrun.to/model/glm-5.4) This model `glm-5.4` | $0.96 / $3.36 per 1M tokens | $1.97 per 1,000 chat turns |

Assumes 1,000 input + 300 output tokens per turn, repeated 1,000 times, at standard-tier rates without caching. Input / output shown per 1M tokens, rounded up to the cent.

## Which similar models can I try?

- ### [GLM-5.3](https://outrun.to/model/glm-5.3)
  `glm-5.3`
  **$0.66** in / **$2.06** out per 1M tokens
- ### [GLM-5.3 Flash](https://outrun.to/model/glm-5.3-flash)
  `glm-5.3-flash`
  **$0.12** in / **$0.42** out per 1M tokens
- ### [Kimi K3.1 Pro](https://outrun.to/model/kimi-k3.1-pro)
  `kimi-k3.1-pro`
  **$1.20** in / **$1.20** out per 1M tokens

## Where can I find more models?

- [Zhipu GLM guide](https://outrun.to/glm-api)
- [All model prices](https://outrun.to/pricing)
- [Model docs](https://outrun.to/docs/models)
- [All model pages](https://outrun.to/model/)

## Common questions about GLM-5.4

### How much does the GLM-5.4 API cost?

GLM-5.4 costs $0.96 per 1M input tokens and $3.36 per 1M output tokens (cached input $0.24). Prices as of December 6, 2026.

### What model ID and base URL do I use for GLM-5.4?

Use the model ID `glm-5.4` with the base URL `https://api.outrun.to/v1` and your Outrun API key.

### Does GLM-5.4 accept images?

Yes. GLM-5.4 accepts text and image input.

### Does Outrun store my prompts when I use GLM-5.4?

Outrun does not store your prompts, images or outputs unless you choose to save them.

## GLM-5.4 on one prepaid key

**$0.96** in **$3.36** out per 1M tokens `glm-5.4`

[Get a key](https://outrun.to/overview) [All model prices](https://outrun.to/pricing)

---
Source: https://outrun.to/model/glm-5.4
Outrun: https://outrun.to/ | API base: https://api.outrun.to/v1 | Prices (JSON): https://api.outrun.to/pricing | Docs: https://outrun.to/docs/
