Skip to Content
API ReferenceLlmGLM 4 7B Flash

GLM 4 7B Flash

A highly optimized 7B parameter model designed for fast, high-quality conversational responses and general assistance.

Endpoint

POST https://z.os7.site/api/llm/glm-4-7b-flash

Request Parameters

ParameterTypeRequiredDescription
apikeystringYesYour secret Zapi API key.
promptstringYesThe core instruction or question.
systempromptstringNoSystem-level instructions for persona.

Example Request

curl -X POST https://z.os7.site/api/llm/glm-4-7b-flash \ -H "Content-Type: application/json" \ -d '{ "apikey": "zp_your_secret_api_key", "prompt": "Tell me a joke about AI.", "systemprompt": "You are a witty assistant." }'

Example Response

{ "status": 200, "data": { "text": "Why did the AI go to therapy? Because it had too many 'processing' issues!", "model": "glm-4-7b-flash" } }
Last updated on