Z.ai

Z.ai GLM 5.2 (batch)

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,...

Context window
1.0Mtokens
Max output
944Ktokens
Input
$0.322/ 1M
Output
$0.989/ 1M

Quick start

from openai import OpenAI

client = OpenAI(
    base_url="https://neurongate.net/v1",
    api_key="sk-ng-your-api-key",
)

completion = client.chat.completions.create(
    model="z-ai/glm-5.2:batch",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)

Cost

Example requestTokensCost
Short prompt1K in$0.000322
Typical chat turn1K in · 500 out$0.000817
Document analysis10K in · 2K out$0.005198
Long context100K in · 10K out$0.04209
Estimated cost per request$0.000817

Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.

Frequently asked questions

What is Z.ai GLM 5.2 (batch)?

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,...

How much does Z.ai GLM 5.2 (batch) cost?

Z.ai GLM 5.2 (batch) is priced at $0.322 per 1 million input tokens and $0.989 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).

Does Z.ai GLM 5.2 (batch) support streaming?

Yes, Z.ai GLM 5.2 (batch) supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.

What is the context window of Z.ai GLM 5.2 (batch)?

Z.ai GLM 5.2 (batch) has a context window of 1.0M tokens (~786K words). Maximum output is 944K tokens.

Does Z.ai GLM 5.2 (batch) support function calling (tools)?

Yes, Z.ai GLM 5.2 (batch) supports function calling / tool use via NeuronGate's standard API.

How do I use Z.ai GLM 5.2 (batch) with NeuronGate?

Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id z-ai/glm-5.2:batch in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.