
Z AI (Zhipu AI)
PROVIDER API4 MODEL · CONTEXT MAKS 200K
GRATIS: Free (permanen)
Catatan dari sumber
Permanent free models, no credit card required.
Setup dalam 5 menit
Pilih target snippet
OPENAI SDK (NODE.JS)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://open.bigmodel.cn/api/paas/v4",
apiKey: process.env.Z_AI_ZHIPU_AI_API_KEY,
});
const response = await client.chat.completions.create({
model: "glm-4.7-flash",
messages: [{ role: "user", content: "Halo!" }],
});
console.log(response.choices[0].message.content);.ENV
Z_AI_ZHIPU_AI_API_KEY=your-api-key-hereBelum punya API key? Ambil di halaman resmi Z AI (Zhipu AI) ↗.
Cara claim API key gratis
Langkah umum — detail pastinya ikuti halaman resmi Z AI (Zhipu AI).
- 01Buka halaman API key Z AI (Zhipu AI) ↗
- 02Daftar akun baru, atau login kalau sudah punya.
- 03Generate API key di dashboard / settings.
- 04Pakai API key + Base URL
https://open.bigmodel.cn/api/paas/v4di SDK atau HTTP client.
Model tersedia (4)
| MODEL | MODALITY | CONTEXT | OUTPUT | RATE LIMIT |
|---|---|---|---|---|
| GLM-4.7-Flashglm-4.7-flash | Text (reasoning) | 200K | 128K | 1 concurrent request |
| GLM-4.5-Airglm-4-5-air | reasoning | 131K | — | — |
| GLM-4.5-Flash (retirement announced)glm-4.5-flash | Text (reasoning) | 128K | 96K | 1 concurrent request |
| GLM-4.6V-Flashglm-4.6v-flash | Multimodal | 128K | 32K | 1 concurrent request |
FAQ
Apakah API Z AI (Zhipu AI) gratis?
Ya — menurut sumber: "Permanent free models, no credit card required." Batas gratis yang tercatat: Free (permanen). Data dari mnfst/awesome-free-llm-apis, freellm.net, terakhir di-sync 31 Okt 2026 — cek sumber untuk kondisi terbaru.
Ada berapa model gratis di Z AI (Zhipu AI)?
4 model tercantum per 31 Okt 2026, termasuk GLM-4.7-Flash, GLM-4.5-Air, GLM-4.5-Flash (retirement announced).
Berapa rate limit Z AI (Zhipu AI)?
Beda-beda per model, contoh: GLM-4.7-Flash: 1 concurrent request; GLM-4.5-Flash (retirement announced): 1 concurrent request; GLM-4.6V-Flash: 1 concurrent request. Limit lengkap per model, lihat tabel di atas.
Berapa context window maksimal di Z AI (Zhipu AI)?
200K (GLM-4.7-Flash).
DISINKRON 31 OKT 2026 · SUMBER: mnfst/awesome-free-llm-apis, freellm.net