it's free*.ai

Z.ai (Zhipu)

Z.ai는 Zhipu(智譜)의 API로, GLM 뒤에 있는 랩입니다. Flash 라인이 영구 무료 티어 — glm-4.7-flash와 glm-4.5-flash. GLM-5, GLM-5.2, glm-4.7은 토큰 과금입니다. OpenAI 호환 주소는 open.bigmodel.cn/api/paas/v4.

Z.ai는 Zhipu(智譜)의 API로, GLM 뒤에 있는 랩입니다. Flash 라인이 영구 무료 티어 — glm-4.7-flash와 glm-4.5-flash. GLM-5, GLM-5.2, glm-4.7은 토큰 과금입니다. OpenAI 호환 주소는 open.bigmodel.cn/api/paas/v4.

open.bigmodel.cn은 중국 본토 전화번호를 원합니다. z.ai의 국제 포털은 이메일만으로 되며 별개 계정입니다. 동시성은 계정·모델별로 콘솔에 표시됩니다. Flash 채팅은 200K까지입니다.

무료 모델
4
최대 컨텍스트
200K
무료 요금제
GLM Flash 모델 무료
요구사항
전화번호 인증, 카드 불필요

엔드포인트

기본 URLhttps://open.bigmodel.cn/api/paas/v4
환경 변수ZHIPU_API_KEY
속도 제한Concurrency set per account in the console

코드 예시

npm install openai
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://open.bigmodel.cn/api/paas/v4',
  apiKey: process.env.ZHIPU_API_KEY
})

const response = await client.chat.completions.create({
  model: 'glm-4.7-flash',
  messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})

console.log(response.choices[0].message.content)

알아두면 좋은 점

무료로 받는 모델4