GLM-4.7-Flash LLM Chat Model
GLM-4.7-Flash is a 30B-A3B mixture-of-experts language model from Z.ai. It writes out its reasoning before answering, and Z.ai recommends it mainly for frontend and backend coding.
Overview
GLM-4.7-Flash is the 30B member of Z.ai's GLM-4.7 series. Z.ai labels it 30B-A3B: a mixture-of-experts model with about 30B parameters in total and roughly 3B active per token. Its published config sends each token to 4 of 64 routed experts plus one shared expert. Z.ai positions it for lightweight deployment and calls it the strongest model in the 30B class.
It thinks before it replies. For this page's default prompt, a request to explain quantum mechanics, it first writes a numbered plan (analyze the request, list key concepts, draft, refine, check the system prompt's rules) and then gives the explanation.
Z.ai compares it with Qwen3-30B-A3B-Thinking-2507 and GPT-OSS-20B: 91.6 on AIME 25 (against 85.0 and 91.7) and 75.2 on GPQA (against 73.4 and 71.5). The clearest gaps are on SWE-bench Verified (59.2 against 22.0 and 34.0) and τ²-Bench (79.5 against 49.0 and 47.7).
What you can build
- Frontend and backend coding assistants, the area where Z.ai says Flash beats similarly sized models
- One-shot explainers and Q&A tools where each request stands on its own
- Math and science tutors that show their working
- Chinese writing and translation of short passages
- Role-play and character chat driven by the system prompt
Inputs
Everything except the prompt is optional:
- System Prompt: prepended to every request. Replace the general-assistant default with your own persona or rules.
- User ID and Session ID: the page offers them for chat history, but on this model earlier turns are not sent back, so every request is answered on its own.
- Sampling: Temperature (0 to 5, default 0.7), Top P (default 0.95), Top K (0 to 100), Repetition Penalty and Do Sample (turning it off sets the temperature to 0).
- Length: Max Tokens and Stop Sequences (strings separated by semicolons; the reply ends just before the first one the model writes).
Outputs
Markdown-formatted text. Wiro returns the reasoning and the answer as separate parts of the result, so your app can show or hide the reasoning. In the page's sample the reasoning is about three times as long as the four-point explanation that follows it.
Recommended settings
- Z.ai evaluated most tasks at temperature 1.0 and top-p 0.95. This page defaults to 0.7.
- For SWE-bench Verified and Terminal Bench it used temperature 0.7 and top-p 1.0; for τ²-Bench, temperature 0.
- Leave Max Tokens at 0 for the full budget. Replies cannot pass 4,096 tokens, reasoning included, and any higher value is treated as 4,096; a lower one can end the reply before the answer starts.
- Turn Do Sample off for translation or code that should not vary between runs, as the page's note suggests.
- Stop Sequences also match inside the reasoning, where a match ends the reply before the answer. The reasoning often restates the prompt and the system prompt's rules, so pick strings that will not appear while the model thinks.
Limitations
- Text only. The page has no image, file, tool or schema inputs.
- The input this page accepts is far smaller than the checkpoint's 200K-token window, so long documents do not fit.
- Every reply includes its reasoning. On a hard problem the reasoning can use up the whole 4,096-token budget, and then the reply ends with no answer.
- The card lists English and Chinese as its languages.
- Z.ai reports 14.4 on Humanity's Last Exam, so most expert-level questions remain beyond it.
- In Z.ai's table it trails Qwen3-30B-A3B-Thinking-2507 on LiveCodeBench v6 (64.0 against 66.0).
Safety & compliance
The weights are MIT-licensed. The default system prompt tells the model to avoid harmful or illegal content and not to share false information when unsure. If you replace it, carry over the rules your product needs.
API quick start
Run GLM-4.7-Flash with a single API call.
{
"prompt": "Explain quantum mechanics clearly and con…",
"user_id": "...",
"session_id": "...",
"system_prompt": "You are a helpful, respectful and honest …"
}curl -X POST "https://api.wiro.ai/v1/Run/zai-org/glm-4-7-flash" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_WIRO_API_KEY" \
--data-binary @- <<'JSON'
{
"prompt": "Explain quantum mechanics clearly and con…",
"user_id": "...",
"session_id": "...",
"system_prompt": "You are a helpful, respectful and honest …"
}
JSONOther models you might like
Explore similar llm & chat models.



