z-ai
Z.ai GLM 5.2
z-ai/glm-5.2
Input$1.20 /1M tokens
·Output$3.20 /1M tokens
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
Code Examples
import requests
response = requests.post(
"https://neurongate.net/v1/chat/completions",
headers={
"Authorization": "Bearer ng-your-api-key",
"Content-Type": "application/json"
},
json={
"model": "z-ai/glm-5.2",
"messages": [
{"role": "user", "content": "Hello!"}
]
}
)
print(response.json()["choices"][0]["message"]["content"])Pricing Details
| Example | Cost |
|---|---|
| 1K input tokens (short prompt) | $0.00120 |
| 1K in + 500 out (typical response) | $0.00280 |
| 10K in + 2K out (document analysis) | $0.0184 |
| 100K in + 10K out (large context) | $0.1520 |
Prices in USD. Billed per actual token usage. Prepay with USDT, USDC, ETH, or BTC.
Frequently Asked Questions
Capabilities
Streaming
YesFunction Calling / Tools
YesVision (Image Input)
NoAudio Processing
NoContext Window
1.0M tokens
~786K words of text
Max output
131K tokens
Modalities
Input
text
Output
text