Lewati ke konten
Logo Z AI (Zhipu AI)

Z AI (Zhipu AI)

Provider API4 modelcontext maks 200KGratis: Free (permanen)

Catatan dari sumber

Permanent free models, no credit card required.

Setup dalam 5 menit

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 ikutin halaman resmi Z AI (Zhipu AI).

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

Model tersedia (4)

GLM-4.7-Flash
glm-4.7-flash
Modality
Text
Context
200K
Output
128K
Rate limit
1 concurrent request
GLM-4.5-Air
glm-4-5-air
Modality
reasoning
Context
131K
GLM-4.5-Flash
glm-4-5-flash
Modality
text
Context
128K
Output
96K
Rate limit
1 concurrent request
GLM-4.6V-Flash
glm-4.6v-flash
Modality
Text + Image
Context
128K
Output
~4K
Rate limit
1 concurrent request

Model ini di provider lain (1)

Nama model yang sama juga muncul di provider lain menurut sumber masing-masing — versi/kuantisasi bisa beda.

FAQ

Apakah API Z AI (Zhipu AI) gratis?

Ya — Free (permanen). Data dari mnfst/awesome-free-llm-apis, freellm.net, models.dev, terakhir di-sync 28 Jul 2026 — cek sumber untuk kondisi terbaru.

Ada berapa model gratis di Z AI (Zhipu AI)?

4 model tercantum per 28 Jul 2026, termasuk GLM-4.7-Flash, GLM-4.5-Air, GLM-4.5-Flash.

Berapa rate limit Z AI (Zhipu AI)?

Beda-beda per model, contoh: GLM-4.7-Flash: 1 concurrent request; GLM-4.5-Flash: 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).