Summary

GLM-4.7-Flash is Z.ai's 30B-A3B mixture-of-experts text model under the MIT license, with a configured context of 202,752 tokens and tool-calling support in its serving examples. Refusal-reduced variants include huihui-ai's abliterated weights, a Heretic build that Venice serves, and a HauhauCS GGUF release with an undisclosed method.

Developer
Z.ai
Parameters
31.2B3B active per token
Context
202,752From config.json
License
MITOpen download
Input
Text
Variants
32 hosted refusal-reduced offerings

What the base model is

GLM-4.7-Flash is Z.ai’s lightweight model, which its card calls “a 30B-A3B MoE model”: about 31 billion parameters in total, of which about 3 billion are active per token, chosen from 64 experts with 4 used at a time. It is text-only. Its card shows serving commands for vLLM and SGLang with a GLM tool-call parser and a reasoning parser, and recommends a “Preserved Thinking” mode for multi-turn agentic work.

Its attention uses multi-head latent attention, which stores a compressed KV cache. That makes long contexts cheaper in memory than a standard model of the same size, but it also means the usual per-head formula does not apply, so the VRAM estimator shows weights and overhead for this model and leaves the cache out rather than guess.

The configuration allows 202,752 tokens of context. The card does not state a limit; hosted offerings of the standard model in our price data list 200,000 or 202,752 tokens.

The variants at a glance

  • huihui-ai abliterated. Made with the remove-refusals-with-transformers approach, per the card, which does not say which layers were changed. GGUF files by mradermacher, a 4-bit MLX build for Apple silicon, and an Ollama build are linked from the card.
  • Olafangensan heretic. Made with Heretic 1.1.0. The creator reports 15/100 refusals against 50/100 for the original on Heretic’s prompt set, with a KL divergence of 0.0039, which is very low: the outputs barely moved from the original. Note the starting point: the original refused only half of those prompts.
  • HauhauCS Balanced (GGUF). The card says “no changes to datasets or capabilities” and calls the release lossless, without describing the method or a test. It recommends Balanced over its Aggressive sibling for agentic coding and warns that the model does not work well in Ollama because of chat-template issues.

Which one for which need

  • Hosted, with long context and a published method: Venice serves Olafangensan’s Heretic build at $0.07 input and $0.40 output per 1M tokens, with a 200,000-token context and a cached-input rate. Among the refusal-reduced rows in our price data, no model above 20B parameters has a lower rate.
  • Local on a single GPU: a 4-bit GGUF of huihui-ai’s release or the HauhauCS file (its card lists 17 GB at Q4_K_M). Follow the runtime notes on each card.
  • Through one API with other models: MolochAI lists glm-4.7-flash-uncensored, without naming the weights.

Limits and open questions

The Heretic build’s very low KL divergence is encouraging, but its refusal count was measured against an original that already refused only 50 of 100 prompts, so the change is smaller than for the Gemma and gpt-oss builds in this catalogue. The HauhauCS repo has no base_model field in its metadata, although its card names GLM-4.7-Flash as the base; we record the base from the card.

MIT is the most permissive license among the bases here: keep the copyright and license notice if you redistribute. See how the licenses compare.

Base model

GLM-4.7-Flash

zai-org/GLM-4.7-Flash

  • Base model
  • Open download
Creator
Z.ai
Input
TextSource: zai-org/GLM-4.7-Flash (Hugging Face model API)
Architecture
Mixture of expertsSource: zai-org/GLM-4.7-Flash model cardThe card calls it a "30B-A3B MoE model": 64 routed experts, 4 used per token (config.json).
Parameters
31.2BSource: zai-org/GLM-4.7-Flash (Hugging Face model API)The card rounds this to 30B.
Active per token
3BSource: zai-org/GLM-4.7-Flash model cardAbout 3B, from the card's "30B-A3B".
Configured context
202,752 tokensSource: zai-org/GLM-4.7-Flash config.json
Stated context
Not statedThe card does not state a context limit.
License tag
MITSource: zai-org/GLM-4.7-Flash (Hugging Face model API)
Languages
English, ChineseSource: zai-org/GLM-4.7-Flash (Hugging Face model API)
Weights
Hosted API
  • Reasoning mode
  • Tool use

Creator claims (reported on the card, not tested by Atlas)

  • The card recommends turning on "Preserved Thinking" mode for multi-turn agentic tasks.
  • The vLLM and SGLang serving examples on the card use a GLM tool-call parser and reasoning parser.

Read from the model card and Hugging Face metadata on 14 November 2026.

Refusal-reduced variants

Ordered as catalogued. Method, layers and claims are as each creator states them; Atlas has not tested any of these variants.

Huihui GLM-4.7-Flash abliterated

huihui-ai/Huihui-GLM-4.7-Flash-abliterated

  • Abliteration
  • Open download
Creator
huihui-ai
Derived from
zai-org/GLM-4.7-Flash
Method
AbliterationSource: huihui-ai/Huihui-GLM-4.7-Flash-abliterated model cardAbliteration with the remove-refusals-with-transformers approach, without TransformerLens, per the card.
Input
TextSource: huihui-ai/Huihui-GLM-4.7-Flash-abliterated (Hugging Face model API)
Architecture
Mixture of expertsSource: zai-org/GLM-4.7-Flash config.json
Parameters
31.2BSource: huihui-ai/Huihui-GLM-4.7-Flash-abliterated (Hugging Face model API)
Active per token
3BSource: zai-org/GLM-4.7-Flash model cardInherited from the base model.
Configured context
202,752 tokensSource: zai-org/GLM-4.7-Flash config.jsonSame configuration as the base model.
Stated context
Not stated
License tag
MITSource: huihui-ai/Huihui-GLM-4.7-Flash-abliterated (Hugging Face model API)
Languages
English, ChineseSource: huihui-ai/Huihui-GLM-4.7-Flash-abliterated (Hugging Face model API)
Weights
Hosted API
No provider in our data serves this exact repo.
  • Reasoning mode

Creator claims (reported on the card, not tested by Atlas)

  • The creator calls it "a crude, proof-of-concept implementation to remove refusals".
  • The card links an Ollama build, huihui_ai/glm-4.7-flash-abliterated, and asks for Ollama 0.15.1 or later.

Read from the model card and Hugging Face metadata on 14 November 2026.

GLM-4.7-Flash heretic (Olafangensan)

Olafangensan/GLM-4.7-Flash-heretic

  • Heretic (automated abliteration)
  • Open download
Creator
Olafangensan
Derived from
zai-org/GLM-4.7-Flash
Method
Heretic (automated abliteration)Source: Olafangensan/GLM-4.7-Flash-heretic model cardMade with Heretic v1.1.0.Automated abliteration with Heretic, which searches ablation parameters while tracking refusals and KL divergence from the original model.
Input
TextSource: Olafangensan/GLM-4.7-Flash-heretic (Hugging Face model API)
Architecture
Mixture of expertsSource: zai-org/GLM-4.7-Flash config.json
Parameters
29.9BSource: Olafangensan/GLM-4.7-Flash-heretic (Hugging Face model API)Hugging Face count for this repo, lower than the base repo count.
Active per token
3BSource: zai-org/GLM-4.7-Flash model cardInherited from the base model.
Configured context
Not stated
Stated context
Not stated
License tag
MITSource: Olafangensan/GLM-4.7-Flash-heretic (Hugging Face model API)
Languages
English, ChineseSource: Olafangensan/GLM-4.7-Flash-heretic (Hugging Face model API)
Weights
Hosted API
  • Venice as olafangensan-glm-4.7-flash-heretic
  • Reasoning mode

Creator claims (reported on the card, not tested by Atlas)

  • The creator reports 15/100 refusals versus 50/100 for the original model on Heretic's prompt set, with a KL divergence of 0.0039.

Read from the model card and Hugging Face metadata on 14 November 2026.

GLM-4.7-Flash Uncensored HauhauCS Balanced (GGUF)

HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced

  • Not disclosed
  • Open download
Creator
HauhauCS
Derived from
zai-org/GLM-4.7-Flash
Method
Not disclosedSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced model cardThe card does not describe how refusals were removed.Published only as GGUF files. A more permissive "Aggressive" sibling exists; the card recommends "Balanced" for agentic coding.
Input
TextSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced model card
Architecture
Mixture of expertsSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced model cardThe card lists "30B-A3B MoE".
Parameters
29.9BSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced (Hugging Face model API)Parameter count in the GGUF metadata.
Active per token
3BSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced model cardThe card says "~3B active per forward pass".
Configured context
202,752 tokensSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced (Hugging Face model API)context_length in the GGUF metadata.
Stated context
202KSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced model card
License tag
MITSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced (Hugging Face model API)
Languages
English, ChineseSource: HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced (Hugging Face model API)
Weights
Hosted API
No provider in our data serves this exact repo.
  • Reasoning mode
  • Coding (claimed)

Creator claims (reported on the card, not tested by Atlas)

  • The creator says there were "no changes to datasets or capabilities" and calls the releases "lossless". Neither claim is backed by published measurements on the card.
  • The card says the model is not recommended for Ollama because of chat template issues, and suggests llama.cpp (with --jinja), LM Studio or Jan.

Read from the model card and Hugging Face metadata on 14 November 2026.

Hosted API access

Rows marked names the exact repo serve a specific variant from the list above. A provider's own build is refusal-reduced by its own statement but does not name its weights, so you cannot check which variant it is.

Provider and model idWhat is servedInput / 1MOutput / 1MCached input / 1MContextMax output100K in + 20K outChecked
Venice
olafangensan-glm-4.7-flash-heretic
Names the exact Hugging Face repo$0.07$0.40$0.035200,00024,000$0.015014 November 2026
MolochAIPartner
glm-4.7-flash-uncensored
Own refusal-reduced build, weights not named
GLM-4.7-Flash-Uncensored
$0.50$2.00not listed200,7049,000$0.090014 November 2026
USD per 1M tokens as published by each provider. Sorted by the cost of the 100K in + 20K out workload, lowest first; the workload column applies the same formula to every row and ignores caching.
Standard (not refusal-reduced) offerings of GLM-4.7-Flash, for reference (2)
Provider and model idWhat is servedInput / 1MOutput / 1MCached input / 1MContextMax output100K in + 20K outChecked
OpenRouter
z-ai/glm-4.7-flash
Standard model, not refusal-reduced$0.0605$0.40not listed200,000Not stated$0.014014 November 2026
Featherless
zai-org/GLM-4.7-Flash
Standard model, not refusal-reduced$0.06525$0.40not listed202,752Not stated$0.014514 November 2026
USD per 1M tokens as published by each provider. Sorted by the cost of the 100K in + 20K out workload, lowest first; the workload column applies the same formula to every row and ignores caching.

Memory to run it yourself

Estimate for GLM-4.7-Flash with 32,768 tokens of context, one sequence, FP16 KV cache and 10% overhead. Variants of the same architecture need about the same.

WeightsWeightsKV cache (32K)Total with overhead
Q4_K_M (4.8944 bits/weight)17.8 GiBnot estimated19.6 GiB
Q8_0 (or FP8) (8.5008 bits/weight)30.9 GiBnot estimated34.0 GiB
BF16 / FP16 (16.0005 bits/weight)58.2 GiBnot estimated64.0 GiB
KV cache not estimated. Multi-head latent attention (kv_lora_rank 512 in config.json) stores a compressed KV cache. The per-head formula would overestimate it. Adjust in the VRAM estimator.

Sources

  1. zai-org/GLM-4.7-Flash model card, Hugging Face. Checked 14 November 2026.
  2. zai-org/GLM-4.7-Flash config.json, Hugging Face. Checked 14 November 2026.
  3. huihui-ai/Huihui-GLM-4.7-Flash-abliterated model card, Hugging Face. Checked 14 November 2026.
  4. Olafangensan/GLM-4.7-Flash-heretic model card, Hugging Face. Checked 14 November 2026.
  5. HauhauCS/GLM-4.7-Flash-Uncensored-HauhauCS-Balanced model card, Hugging Face. Checked 14 November 2026.
  6. Heretic, GitHub (p-e-w)