z-ai

Z.ai GLM 4.7 Flash

z-ai/glm-4.7-flash

Input$0.060 /1M tokens
·
Output$0.400 /1M tokens

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

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-4.7-flash",
        "messages": [
            {"role": "user", "content": "Hello!"}
        ]
    }
)

print(response.json()["choices"][0]["message"]["content"])

Pricing Details

ExampleCost
1K input tokens (short prompt)< $0.0001
1K in + 500 out (typical response)$0.00026
10K in + 2K out (document analysis)$0.00140
100K in + 10K out (large context)$0.0100

Prices in USD. Billed per actual token usage. Prepay with USDT, USDC, ETH, or BTC.

Frequently Asked Questions

Capabilities

Streaming
Yes
Function Calling / Tools
Yes
Vision (Image Input)
No
Audio Processing
No

Context Window

203K tokens

~152K words of text

Max output
16K tokens

Modalities

Input
text
Output
text

Ready to build?

Pay with crypto. No subscriptions.

Get Started Free

Similar Models