← DIREKTORI
Z AI (Zhipu AI)

Z AI (Zhipu AI)

PROVIDER API

4 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-here

Belum 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).

  1. 01Buka halaman API key Z AI (Zhipu AI) ↗
  2. 02Daftar akun baru, atau login kalau sudah punya.
  3. 03Generate API key di dashboard / settings.
  4. 04Pakai API key + Base URL https://open.bigmodel.cn/api/paas/v4 di SDK atau HTTP client.

Model tersedia (4)

MODELMODALITYCONTEXTOUTPUTRATE LIMIT
GLM-4.7-Flashglm-4.7-flashText (reasoning)200K128K1 concurrent request
GLM-4.5-Airglm-4-5-airreasoning131K——
GLM-4.5-Flash (retirement announced)glm-4.5-flashText (reasoning)128K96K1 concurrent request
GLM-4.6V-Flashglm-4.6v-flashMultimodal128K32K1 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