Skip to content

Eligible new accounts get $0.10 in free API credit. Once per account; abuse limits apply. Create an account

GLM-5.4 API pricing

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

Input per 1M tokens

$0.96

below the list price

Output per 1M tokens

$3.36

below the list price

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 IDglm-5.4

GLM-5.4 prices, USD per 1M tokens
Token typeOutrunper 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 tested469,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)
Capabilities
CapabilitySupported
Tool callingYes
StreamingYes
ReasoningAlways on
Structured outputYes
Parallel toolsYes
Image inputYes

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.

Setup values for glm-5.4
Set this valueValue
API formatOpenAI compatible
Base URL
Model ID
StreamingYes
Image supportYes

How does GLM-5.4 compare on cost?

1,000 chat turns at standard-tier rates.

Cost of 1,000 chat turns by model
ModelInput / outputper 1M tokens1,000 chat turns
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 glm-5.3-flash-cybersecurity$0.30 / $1.00 per 1M tokens$0.60 per 1,000 chat turns
GLM-5.3 glm-5.3$0.66 / $2.06 per 1M tokens$1.28 per 1,000 chat turns
GLM-5.4This 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.

How does GLM-5.4 score on benchmarks?

GLM-5.4 next to well-known models on three tests run by Artificial Analysis, an independent tester. Higher is better.

AA-OmniscienceAdmits when it doesn't know
  1. 88.06%GLM‑5.4
  2. 49.66%Claude Opus 5.5
  3. 50.22%GPT‑6 Astra
  4. 20.65%GPT‑6 Luna
  5. 65.77%Claude Haiku 5.5
AutomationBench-AATasks in business apps
  1. 69.4%GLM‑5.4
  2. 69.5%Claude Opus 5.5
  3. 68.5%GPT‑6 Astra
  4. 53.2%GPT‑6 Luna
  5. 35.4%Claude Haiku 5.5
MMMU-ProQuestions about images and charts
  1. 79%GLM‑5.4
  2. 88%Claude Opus 5.5
  3. 87%GPT‑6 Astra
  4. 80%GPT‑6 Luna

Results by Artificial Analysis (read 6 Dec 2026), each model at the highest reasoning setting it lists: AA-Omniscience · AutomationBench-AA · MMMU-Pro. Artificial Analysis tested GLM-5.4 at its Max setting. AA-Omniscience here is the non-hallucination rate: how often a model admits it doesn’t know instead of answering wrongly, not how many questions it gets right. These are three of the tests Artificial Analysis runs; on its overall Intelligence Index v5.0.2 GLM-5.4 scores 42 and Claude Opus 5.5 scores 59. Outrun doesn’t run these tests.

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