GL

GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX

GLMGGUF by DavidAUUpdated 2026-06-12
Download on Hugging Face
Parameters29.9B
Context198K
Layers47
Architecturedeepseek2
Smallest quant10.3 GB
Quick answer

GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX needs about 19.8 GB of memory at Q4_K_M (a 18.5 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 12 quants, from 10.3 GB (IQ2_M) to 32.1 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 3.4 GB.

GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX – 31B MoE model

GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX is a 31 billion‑parameter mixture‑of‑experts model based on the deepseek2 architecture. It supports up to 202 752 context tokens and is released under the MIT license. The model is optimized for coding, reasoning, and role‑play tasks.

Good at

  • Coding tasks
  • Logical reasoning
  • Role‑play scenarios

Limits

  • Requires 8 k–16 k context for best performance
  • Large VRAM needed for higher‑precision quants
  • No vision support

Best for

  • Developers needing code generation
  • Researchers testing reasoning models
  • Chatbots requiring role‑play

Who it’s for. This model is suitable for users who need a large‑scale, uncensored language model with strong coding and reasoning abilities. It is ideal for developers, researchers, and advanced chatbot creators who can allocate sufficient GPU memory.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ2_M10.3 GB 11.7 GB
Too big Get file →
IQ3_M13.6 GB 14.9 GB
Too big Get file →
IQ4_XS16.4 GB 17.7 GB
Too big Get file →
IQ4_NL17.3 GB 18.7 GB
Too big Get file →
Q4_K_S17.4 GB 18.8 GB
Too big Get file →
Q4_K_M18.5 GB 19.8 GB
Too big Get file →
Q4_119.2 GB 20.5 GB
Too big Get file →
Q5_K_S21.0 GB 22.4 GB
Too big Get file →
Q5_K_M21.6 GB 23.0 GB
Too big Get file →
Q5_122.9 GB 24.2 GB
Too big Get file →
Q6_K25.0 GB 26.3 GB
Too big Get file →
Q8_032.1 GB 33.5 GB
Too big Get file →

For 8 GB VRAM, use IQ2_M (10.31 GB) or IQ3_M (13.59 GB). With 12 GB VRAM, Q4_K_S (17.45 GB) or Q4_K_M (18.51 GB) are suitable. For 16 GB VRAM, Q5_K_S (21.04 GB) or Q5_K_M (21.64 GB) provide a good balance of size and performance. Memory estimates are approximate.

What GPU do you need for GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: the best quant that fits is IQ2_M (10.3 GB file, about 11.7 GB in use).
  • 16 GB VRAM: the best quant that fits is IQ3_M (13.6 GB file, about 14.9 GB in use).
  • 24 GB VRAM: the best quant that fits is Q5_K_M (21.6 GB file, about 23.0 GB in use).
  • 32 GB VRAM: the best quant that fits is Q6_K (25.0 GB file, about 26.3 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (32.1 GB file, about 33.5 GB in use).

Which GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX quant should you choose?

Q4_K_M is the usual starting point for GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX: it balances file size and quality well. Here it is a 18.5 GB file.

The Q8_0 file is 32.1 GB, about 1.7 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is IQ2_M at 10.3 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturedeepseek2
Parameters29.9B (approximate, mixture of experts)
Layers47
Trained context202,752 tokens
KV cache (fp16)100 KB per token

Source

Quantized byDavidAU
FamilyGLM
Licensemit
Downloads (HF)32,610
Last updated2026-06-12

Frequently asked questions about GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX

How much VRAM does GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX need?

About 19.8 GB at Q4_K_M with an 8K context window. That is the 18.5 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 11.7 GB, so you would need a larger GPU or CPU offloading.

What is the file size of GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX GGUF?

It depends on the quant: IQ2_M is 10.3 GB, IQ3_M is 13.6 GB, IQ4_XS is 16.4 GB, IQ4_NL is 17.3 GB, Q4_K_S is 17.4 GB, Q4_K_M is 18.5 GB and 6 more.

What context length does GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX support?

The GGUF header lists a trained context length of 202,752 tokens (198K). The KV cache grows with the context you use: about 0.8 GB at 8K and 3.4 GB at 32K.

Where can I download GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX GGUF?

The files are on Hugging Face in the DavidAU/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does GLM 4.7 Flash Uncensored Heretic NEO CODE Imatrix MAX use?

Hugging Face lists the license as mit. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run this model on 8 GB VRAM?

Yes, using the IQ2_M or IQ3_M quantizations, which are 10.31 GB and 13.59 GB respectively, will fit within 8 GB VRAM with some overhead.

Does this model support vision tasks?

No, the model does not include vision capabilities.

What context length should I use for best results?

A minimum of 8 k tokens is recommended, with 16 k or more for detailed outputs.

Other GGUFs of GLM-4.7-Flash-heretic

Similar models

Browse all →

More from DavidAU

All by DavidAU →

More GLM models

All GLM →

Other medium models

All medium models →