Z.ai

Z.ai GLM 4.7 Flash

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...

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

Cost

Example requestTokensCost
Short prompt1K in$0.000061
Typical chat turn1K in · 500 out$0.00026
Document analysis10K in · 2K out$0.001405
Long context100K in · 10K out$0.01005
Estimated cost per request$0.00026

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.7 Flash?

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...

How much does Z.ai GLM 4.7 Flash cost?

Z.ai GLM 4.7 Flash is priced at $0.0605 per 1 million input tokens and $0.4 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.7 Flash support streaming?

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

Z.ai GLM 4.7 Flash has a context window of 200K tokens (~150K words). Maximum output is 118K tokens.

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

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

How do I use Z.ai GLM 4.7 Flash 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.7-flash in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.