Z.ai

Z.ai GLM 4.5

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...

Context window
131Ktokens
Max output
98Ktokens
Input
$0.60/ 1M
Output
$2.20/ 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-4.5",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)

Cost

Example requestTokensCost
Short prompt1K in$0.0006
Typical chat turn1K in · 500 out$0.0017
Document analysis10K in · 2K out$0.0104
Long context100K in · 10K out$0.082
Estimated cost per request$0.0017

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 4.5?

GLM-4.5 is our latest flagship foundation model, purpose-built for agent-based applications. It leverages a Mixture-of-Experts (MoE) architecture and supports a context length of up to 128k tokens. GLM-4.5 delivers significantly...

How much does Z.ai GLM 4.5 cost?

Z.ai GLM 4.5 is priced at $0.6 per 1 million input tokens and $2.2 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 4.5 support streaming?

Yes, Z.ai GLM 4.5 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 4.5?

Z.ai GLM 4.5 has a context window of 131K tokens (~98K words). Maximum output is 98K tokens.

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

Yes, Z.ai GLM 4.5 supports function calling / tool use via NeuronGate's standard API.

How do I use Z.ai GLM 4.5 with NeuronGate?

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