Skip to content

glm-4-6 ​

This page lists parameters from the ModelFold model catalog.

Overview ​

FieldValue
Model IDglm-4-6
Family slugglm-4-6
ModalityChat Models (chat)
EndpointPOST /v1/chat/completions

Request example ​

bash
export API_BASE="https://modelfold.ai/v1"
export MODELFOLD_API_KEY="mf-..."   # 在控制台 API Key 页面创建
curl -X POST "$API_BASE/chat/completions" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"glm-4-6","messages":[{"role":"user","content":"Explain what a diffusion model does in two sentences."}],"max_tokens":512}'

See also ​

ModelFold — one API for all the best AI models.