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
| Parameter | Type | Required | Description |
|---|---|---|---|
apikey | string | Yes | Your secret Zapi API key. |
prompt | string | Yes | The core instruction or question. |
systemprompt | string | No | System-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