VARIANTE · Z.ai / GLM

GLM glm-4.5 API

Eine Modellvariante über RunAPIs einheitliche KI-API.

Betriebsbereit · text · Kommerzielle Nutzung unterstützt
runapi.ai
# Base URL
https://runapi.ai

# Endpoints
POST /v1/chat/completions
curl https://runapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $RUNAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "glm-4.5",
  "messages": [
    {
      "role": "user",
      "content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."
    }
  ]
}'
from openai import OpenAI

client = OpenAI(
    base_url="https://runapi.ai/v1",
    api_key="your-runapi-key"
)

response = client.chat.completions.create(
    model="glm-4.5",
    messages=[{"role": "user", "content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."}]
)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://runapi.ai/v1",
  apiKey: "your-runapi-key"
});

const response = await client.chat.completions.create({
  model: "glm-4.5",
  messages: [{ role: "user", content: "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause." }]
});
https://runapi.ai /v1/chat/completions
Variante wechseln
ÜBERBLICK

GLM glm-4.5 ist über dieselbe RunAPI-Authentifizierung, denselben Model-Skill-Workflow und nutzungsbasierte Preise verfügbar.

  • Einheitlicher API Key
  • Model-Skill-Setup
  • Modell-ID-Referenz
  • Fehlgeschlagene Generierungen werden nicht berechnet
PREISE

PREISE

Fehlgeschlagene Generierungen werden nicht berechnet
Chat completion
Input $0.30 / 1M tokens
Output $1.10 / 1M tokens
Cache read $0.06
Cache write 5m Free
DATENBLATT

DATENBLATT

Modell-ID glm-4.5
Anbieter Z.ai
Modalität text
Task-Typ synchronous
Abrechnung 1K tokens
Endpoint /v1/chat/completions
Kommerziell Ja
Status Betriebsbereit
MODELS

Modell-Skill — glm-4.5

Installiere den Skill einmal und verwende dann die Varianten-ID von dieser Seite beim Entwickeln.

Endpoint Protocol
/v1/chat/completions OpenAI compatible
SO FUNKTIONIERT ES

glm-4.5 verwenden

01

Modell wählen

Wähle Modell und Variante passend zu deinem App-Workflow.

02

Modell-ID übergeben

Nutze diese Varianten-ID im Request Body.

03

Task ausführen

Sende den Request und speichere die zurückgegebene Task ID.

04

Ausgabe abrufen

Frage ab oder empfange den Callback, wenn der Task fertig ist.

UNTERSCHIEDE

Vergleich von glm-4.5

VS GLM-4.5-AIR

355B / 32B active; 128K context; flagship open-weight MoE baseline

Lighter GLM-4.5 tier for fast, lower-cost everyday work

VS GLM-4.6

355B / 32B active; 128K context; flagship open-weight MoE baseline

200K context; first GLM on Cambricon chips; sharper code generation

VS GLM-4.7

355B / 32B active; 128K context; flagship open-weight MoE baseline

200K context; 73.8% SWE-bench; persistent thinking across turns

ANWENDUNGSFÄLLE

Einsatzbereiche dieser Variante

Chat

Nutze LLMs für Chat und Reasoning.

Code

Generiere und prüfe Implementierungsarbeit.

Automatisierung

Verbinde Modelle mit Backend-Tasks.

FAQ

Häufige Fragen zu glm-4.5

Wie wähle ich glm-4.5 aus?

Übergib die im Quickstart angezeigte Modell-ID.

Sind die Preise nutzungsbasiert?

Ja. Preise werden pro Aufruf oder Einheit gemessen.

JETZT STARTEN

Starte heute mit GLM.