GLM 5.4
Compare
Z.AI logo

GLM 5.4

glm-5.4llms.txt
Z.AI
New
GLM-5.4 is Zhipu AI's flagship general-purpose LLM, delivering strong performance in coding, agentic tasks, complex reasoning, and long-context understanding. It supports a thinking mode and tool calling, making it well suited for code generation, agent workflows, long-document analysis, and multi-turn conversations.

Pricing

InputOutputCache Read
$1.1765/M tokens$4.1176/M tokens$0.2941/M tokens

Modalità di input

  • Text
  • Vision
  • Video

Modalità di output

  • Text

Max output

  • 131K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Document input
  • Structured outputs
  • Structured decision
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Fornitori

Bytedance doubao-glm-5.4
Input$1.1765/M tokens
Output$4.1176/M tokens
Cache Read$0.2941/M tokens
PrecisionⓘNot Disclosed
Latency-
Throughput-
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today
Z.AI zai-glm-5.4
Input$1.1765/M tokens
Output$4.1176/M tokens
Cache Read$0.2941/M tokens
PrecisionⓘNot Disclosed
Latency2.0S
Throughput42.1TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
100.00% uptime today

Performance for glm-5.4

Uptime è la percentuale di richieste riuscite nelle ultime 72 ore. AIHubMix monitora continuamente ogni provider e ritenta automaticamente con il successivo miglior provider quando uno restituisce un errore o risponde troppo lentamente; Latency è il tempo totale di andata e ritorno di una richiesta (più bassa è, meglio è); Throughput indica la velocità di scrittura del modello (token al secondo; più alto è, meglio è).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="glm-5.4",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is GLM 5.4?

GLM-5.4 is Zhipu AI's flagship general-purpose LLM, delivering strong performance in coding, agentic tasks, complex reasoning, and long-context understanding. It supports a thinking mode and tool calling, making it well suited for code generation, agent workflows, long-document analysis, and multi-turn conversations.