GLM-5.3-Flash
Z.ai
256K ctx
GLM-5.3-Flash — cepat dan sangat hemat.
texttool-callingfunction-callingjson-mode+4
fastbudget
$0.10/M masuk·$0.40/M keluar
LihatGLM 4.6 tersedia di Hostlinku lewat satu API yang kompatibel dengan OpenAI.
GLM 4.6 tersedia di Hostlinku lewat satu API yang kompatibel dengan OpenAI.
Hubungi GLM 4.6 lewat OpenAI SDK — cukup arahkan base URL ke Hostlinku dan gunakan kunci API kamu.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.hostlinku.dev/v1",
apiKey: process.env.HOSTLINKU_API_KEY,
});
const reply = await client.chat.completions.create({
model: "glm-4-6",
messages: [
{ role: "system", content: "You are a helpful assistant." },
{ role: "user", content: "Halo, GLM 4.6!" },
],
});
console.log(reply.choices[0].message.content);import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.hostlinku.dev/v1",
api_key=os.environ["HOSTLINKU_API_KEY"],
)
reply = client.chat.completions.create(
model="glm-4-6",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Halo, GLM 4.6!"},
],
)
print(reply.choices[0].message.content)curl https://api.hostlinku.dev/v1/chat/completions \
-H "Authorization: Bearer $HOSTLINKU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4-6",
"messages": [
{ "role": "user", "content": "Halo, GLM 4.6!" }
]
}'Model lain dari Zhipu yang bisa kamu pakai tanpa mengubah kode.
GLM-5.3-Flash
Z.ai
GLM-5.3-Flash — cepat dan sangat hemat.
GLM-5.3-FlashX
Z.ai
GLM-5.3-FlashX — versi dipercepat dari Flash.
GLM-5.3
Z.ai
GLM-5.3 — flagship Z.ai.