Hormouz AIHormouzSign in

Z.ai: GLM 4.7 Flash: AI model

GLM-4.7 Flash is a 30B-class model balancing performance and efficiency, optimized for agentic coding. Fast and inexpensive, via Hormouz.

Context window:
200,000 tokens
Input:
$0.06/1M tokens
Output:
$0.4/1M tokens
Type:
text
  • Tools
  • Streaming
  • Long context

Thinking levels:

GLM-4.7 Flash is a 30B-class model that offers a balanced option between performance and efficiency. It is optimized for agentic coding use cases, strengthening coding capability, long-horizon task planning and tool collaboration.

The model has reached leading performance among open-source models of the same size on several public benchmark leaderboards. With a context window of about 200K tokens and tool calling, it fits high-volume, cost-sensitive workloads.

Pricing is very economical: $0.06 per million input tokens and $0.40 per million output tokens. GLM-4.7 Flash is served through Hormouz behind an OpenAI-compatible API with stable access from inside Iran.

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

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-4.7-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorZ.ai
TypeText
Context window200,000 tokens
Pricing$0.06/M in · $0.40/M out
APIChat Completions
CapabilitiesStreaming · Tools

Benchmarks

Reasoning

GPQA Diamond
Graduate-level scientific reasoning
45.2%
HLE
Humanity's Last Exam
5%
IFBench
Instruction-following
46.3%
AA-LCR
Long-context reasoning
20.3%
CritPt
Research-level physics reasoning
0%
AA Omniscience
Broad factual knowledge accuracy
13.1%
Non-Hallucination
Rate of avoiding fabricated answers
5.7%

Coding

Terminal-Bench Hard
Agentic coding & terminal use
3.8%

Agentic

τ²-Bench
Tool-use agents in dual-control scenarios
91.8%

Source: Artificial Analysis

3D
Top 59%
1,131Elo
Win rate: 51.2%Avg time: 117s
Code
Top 46%
1,183Elo
Win rate: 53.1%Avg time: 150s
Data Viz
Top 70%
1,132Elo
Win rate: 45.3%Avg time: 127s
Game Dev
Top 59%
1,148Elo
Win rate: 49.7%Avg time: 154s
SVG
Top 85%
1,037Elo
Win rate: 44.2%Avg time: 81.7s
UI Component
Top 37%
1,214Elo
Win rate: 57.6%Avg time: 116s
Website
Top 42%
1,201Elo
Win rate: 54%Avg time: 159s

Metrics sourced from Design Arena

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-4.7-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="z-ai/glm-4.7-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "z-ai/glm-4.7-flash",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the Z.ai: GLM 4.7 Flash API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Z.ai: GLM 4.7 Flash and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

What is GLM-4.7 Flash good for?
Agentic coding, long-horizon task planning and high-volume, cost-sensitive workloads. Because it is fast and inexpensive.
How much does GLM-4.7 Flash cost?
Pricing is very low: $0.06 per million input tokens and $0.40 per million output tokens.
What is the context window of GLM-4.7 Flash?
The model supports about 200K tokens of context and tool calling.
How is GLM-4.7 Flash different from GLM-4.7?
Flash is a smaller (30B-class), cheaper model optimized for speed and cost; the standard GLM-4.7 gives higher quality for more complex tasks.
How do I access GLM-4.7 Flash from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides stable access from inside Iran via an OpenAI-compatible API.

Updated 2026-10-13