GLM-4 Long
glm-4-longExtended context model supporting up to 1M tokens
Pricing
Includes our margin. Charged per request from your balance.
- Input
- $0.221 per 1M tokens
- Output
- $0.221 per 1M tokens
- Typical message
- $0.0012
Details
- Provider
- Z.ai
- Context
- 1M tokens
- Max output
- 4.1K tokens
- Added
- Jan 1, 2024
Use it from the API
Replace $HIDE_API_KEY with a key from the Developers page. Base URL https://hide.st/api/v1.
curl https://hide.st/api/v1/chat/completions \
-H "Authorization: Bearer $HIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4-long",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'