davidau/glm-4.7-flash-neo-code-imatrix-max-gguf Q4_1 GGUF - Free GGUF Download is indexed on GraySoft with repository links, GGUF quant files, and Hugging Face metadata. This page helps you pick a local model for guIDE or other runtimes. See related models in the same shard below.
davidau/glm-4.7-flash-neo-code-imatrix-max-gguf overview
(latest Llamacpp 7789 commit, with corrected quants.) GLM-4.7-Flash-NEO-CODE-Imatrix-MAX-GGUF Specialized and Enhanced GGUF quants for the new GLM-4.7-Flash, 30B-A3B MOE, mixture of experts model. [ https://huggingface.co/zai-org/GLM-4.7-Flash ] This model can be run on the GPU(s) and/or CPU due to 4 experts activated (appox 2B parameters active). Default Settings (Most Tasks) temperature: 1.0 top-p: 0.95 max new tokens: 131072 REP PEN: 1.1 OR 1.0 (off) (if you get repeat issues) You might also try GLM 4.6 settings (unsloth): temperature = 0.8 topp = 0.6 (recommended) topk = 2 (recommended) maxgeneratetokens = 16,384 That being said, I suggest min context of 8k-16K as final outputs (post thinking) can be long and detailed and in a number of cases has been observed "polishing" the final output one or more times IN the output section. (Model can handle 200k context, non-roped.) Quants General: Quants and Imatrixes computed using latest LLAMACPP (commit: 7789, Jan 21 2026) which contains specific fixes for this model. Quants prior to this commit (as well as Imatrix generation) performed poorly (re-quanization and re-imatrix generation are required). Also note there are some issues with Flash Attn and low token generation speed (as Flash is offloaded to CPU in some cases). Disable Flash Attn until this issue is resolved / makes its way thru the "llamacpp / ai pipeline". UNCENSORED QUANTS: https://huggingface.co/DavidAU/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF Specialized Quants Specialized quants (IQ4NL, Q51, Q41, Q80) are precision balanced to address a specific tensor issues in all layers that requires a specific quant type. Other "normal" quants will also perform very well. Quant Enhancements: Imatrix is NEO and Code datasets by DavidAU - Dual Imatrix (2 imatrixes separately generated) to improve model performance. All quants (specialized and "normal") are also enhanced with 16 bit (full) precision "output tensor" to further improve model performance. Output tensor affects 10-20% of the fine output of the model - both thinking and output (final) generation. --- Using an "uncensored" (refusals removed) model VS trained "uncensored" model Usually when you a tell a model to generate horror, swear or x-rated content this is all you have to do to get said content type. In the case of this model, it will not refuse your request, however it needs to be "pushed" a bit / directed a bit more in SOME CASES. Although this model will generated x-rated content too, likewise you need to tell it to use "slang" (and include the terms you want) to get it generate the content correctly as the "expected" content level too. Without these added directive(s), the content can be "bland" by comparison to an "uncensored model" or model trained on uncensored content. Roughly, the model tries to generate the content but the "default" setting(s) are so "tame" it needs a push to generate at expected graphic, cursing or explicit levels. Even with minimal direction (ie, use these words to swear: x,y,z), this will be enough to push the model to generate the requested content in the ahh... expected format. --- Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model: In "KoboldCpp" or "oobabooga/text-generation-webui" or "Silly Tavern" ; Set the "Smoothingfactor" to 1.5 : in KoboldCpp -> Settings->Samplers->Advanced-> "SmoothF" : in text-generation-webui -> parameters -> lower right. : In Silly Tavern this is called: "Smoothing" NOTE: For "text-generation-webui" -> if using GGUFs you need to use "llamaHF" (which involves downloading some config files from the SOURCE version of this model) Source versions (and config files) of my models are here: https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be OTHER OPTIONS: Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers This a "Class 1" model: For all settings used for this model (including specifics for its "class"), including example generation(s) and for advanced settings guide (which many times addresses any model issue(s)), including methods to improve model performance for all use case(s) as well as chat, roleplay and other use case(s) please see: [ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-SamplersParameters ] You can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here: [ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]
Repository Files & Downloads
| File | Type | Quantization | Size | Link |
|---|---|---|---|---|
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-IQ2_M.gguf | GGUF | IQ2_M | 9.61 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-IQ3_M.gguf | GGUF | IQ3_M | 12.65 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-IQ4_NL.gguf | GGUF | IQ4_NL | 16.14 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-IQ4_XS.gguf | GGUF | IQ4_XS | 15.28 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q4_1.gguf | GGUF | — | 17.86 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q4_K_M.gguf | GGUF | Q4_K_M | 17.24 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q4_K_S.gguf | GGUF | Q4_K_S | 16.25 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q5_1.gguf | GGUF | — | 21.31 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q5_K_M.gguf | GGUF | Q5_K_M | 20.15 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q5_K_S.gguf | GGUF | Q5_K_S | 19.59 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q6_K.gguf | GGUF | Q6_K | 23.27 GB | Download |
| GLM-4.7-Flash-NEO-CODE-MAX-imat-D_AU-Q8_0.gguf | GGUF | — | 29.93 GB | Download |
Model Details Live
Metadata Inspector
Normalized metadata (stored in metadata_json)
{
"metadata": {},
"card_data": {
"language": [
"en",
"zh"
],
"license": "mit",
"tags": [
"GLM 4.7 Flash",
"thinking",
"reasoning",
"NEO Imatrix",
"MAX Quants",
"16 bit precision output tensor"
],
"pipeline_tag": "text-generation",
"base_model": [
"zai-org/GLM-4.7-Flash"
],
"frontmatter": {
"language": [
"en",
"zh"
],
"license": "mit",
"tags": [
"GLM 4.7 Flash",
"thinking",
"reasoning",
"NEO Imatrix",
"MAX Quants",
"16 bit precision output tensor"
],
"pipeline_tag": "text-generation",
"base_model": [
"zai-org/GLM-4.7-Flash"
]
},
"hero_image_url": "",
"summary": "(latest Llamacpp 7789 commit, with corrected quants.) GLM-4.7-Flash-NEO-CODE-Imatrix-MAX-GGUF Specialized and Enhanced GGUF quants for the new GLM-4.7-Flash, 30B-A3B MOE, mixture of experts model. [ https://huggingface.co/zai-org/GLM-4.7-Flash ] This model can be run on the GPU(s) and/or CPU due to 4 experts activated (appox 2B parameters active). Default Settings (Most Tasks) temperature: 1.0 top-p: 0.95 max new tokens: 131072 REP PEN: 1.1 OR 1.0 (off) (if you get repeat issues) You might also try GLM 4.6 settings (unsloth): temperature = 0.8 top_p = 0.6 (recommended) top_k = 2 (recommended) max_generate_tokens = 16,384 That being said, I suggest min context of 8k-16K as final outputs (post thinking) can be long and detailed and in a number of cases has been observed \"polishing\" the final output one or more times IN the output section. (Model can handle 200k context, non-roped.) Quants General: Quants and Imatrixes computed using latest LLAMACPP (commit: 7789, Jan 21 2026) which contains specific fixes for this model. Quants prior to this commit (as well as Imatrix generation) performed poorly (re-quanization and re-imatrix generation are required). Also note there are some issues with Flash Attn and low token generation speed (as Flash is offloaded to CPU in some cases). Disable Flash Attn until this issue is resolved / makes its way thru the \"llamacpp / ai pipeline\". UNCENSORED QUANTS: https://huggingface.co/DavidAU/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF Specialized Quants Specialized quants (IQ4_NL, Q5_1, Q4_1, Q8_0) are precision balanced to address a specific tensor issues in all layers that requires a specific quant type. Other \"normal\" quants will also perform very well. Quant Enhancements: Imatrix is NEO and Code datasets by DavidAU - Dual Imatrix (2 imatrixes separately generated) to improve model performance. All quants (specialized and \"normal\") are also enhanced with 16 bit (full) precision \"output tensor\" to further improve model performance. Output tensor affects 10-20% of the fine output of the model - both thinking and output (final) generation. --- Using an \"uncensored\" (refusals removed) model VS trained \"uncensored\" model Usually when you a tell a model to generate horror, swear or x-rated content this is all you have to do to get said content type. In the case of this model, it will not refuse your request, however it needs to be \"pushed\" a bit / directed a bit more in SOME CASES. Although this model will generated x-rated content too, likewise you need to tell it to use \"slang\" (and include the terms you want) to get it generate the content correctly as the \"expected\" content level too. Without these added directive(s), the content can be \"bland\" by comparison to an \"uncensored model\" or model trained on uncensored content. Roughly, the model tries to generate the content but the \"default\" setting(s) are so \"tame\" it needs a push to generate at expected graphic, cursing or explicit levels. Even with minimal direction (ie, use these words to swear: x,y,z), this will be enough to push the model to generate the requested content in the ahh... expected format. --- Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model: In \"KoboldCpp\" or \"oobabooga/text-generation-webui\" or \"Silly Tavern\" ; Set the \"Smoothing_factor\" to 1.5 : in KoboldCpp -> Settings->Samplers->Advanced-> \"Smooth_F\" : in text-generation-webui -> parameters -> lower right. : In Silly Tavern this is called: \"Smoothing\" NOTE: For \"text-generation-webui\" -> if using GGUFs you need to use \"llama_HF\" (which involves downloading some config files from the SOURCE version of this model) Source versions (and config files) of my models are here: https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be OTHER OPTIONS: Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers This a \"Class 1\" model: For all settings used for this model (including specifics for its \"class\"), including example generation(s) and for advanced settings guide (which many times addresses any model issue(s)), including methods to improve model performance for all use case(s) as well as chat, roleplay and other use case(s) please see: [ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ] You can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here: [ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]",
"quick_links": [],
"benchmark_table_html": "",
"readme_markdown": "---\nlanguage:\n- en\n- zh\nlicense: mit\ntags:\n- GLM 4.7 Flash\n- thinking\n- reasoning\n- NEO Imatrix\n- MAX Quants\n- 16 bit precision output tensor\npipeline_tag: text-generation\nbase_model:\n- zai-org/GLM-4.7-Flash\n---\n\n(latest Llamacpp 7789 commit, with corrected quants.)\n\n<h2>GLM-4.7-Flash-NEO-CODE-Imatrix-MAX-GGUF</h2>\n\nSpecialized and Enhanced GGUF quants for the new GLM-4.7-Flash, 30B-A3B MOE, mixture of experts model.\n\n[ https://huggingface.co/zai-org/GLM-4.7-Flash ]\n\nThis model can be run on the GPU(s) and/or CPU due to 4 experts activated (appox 2B parameters active).\n\nDefault Settings (Most Tasks)\n\n temperature: 1.0\n top-p: 0.95\n max new tokens: 131072\n\nREP PEN: 1.1 OR 1.0 (off) (if you get repeat issues)\n\nYou might also try GLM 4.6 settings (unsloth):\n\n temperature = 0.8\n\n top_p = 0.6 (recommended)\n\n top_k = 2 (recommended)\n\n max_generate_tokens = 16,384\n\n\nThat being said, I suggest min context of 8k-16K as final outputs (post thinking) can be long and detailed and in a number\nof cases has been observed \"polishing\" the final output one or more times IN the output section. \n\n(Model can handle 200k context, non-roped.)\n\n<B>Quants General:</B>\n\nQuants and Imatrixes computed using latest LLAMACPP (commit: 7789, Jan 21 2026) which contains specific fixes for this model.\n\nQuants prior to this commit (as well as Imatrix generation) performed poorly (re-quanization and re-imatrix generation are required).\n\nAlso note there are some issues with Flash Attn and low token generation speed (as Flash is offloaded to CPU in some cases). Disable\nFlash Attn until this issue is resolved / makes its way thru the \"llamacpp / ai pipeline\".\n\nUNCENSORED QUANTS:\n\nhttps://huggingface.co/DavidAU/GLM-4.7-Flash-Uncensored-Heretic-NEO-CODE-Imatrix-MAX-GGUF\n\n<b>Specialized Quants</B>\n\nSpecialized quants (IQ4_NL, Q5_1, Q4_1, Q8_0) are precision balanced to address a specific tensor issues in all layers\nthat requires a specific quant type.\n\nOther \"normal\" quants will also perform very well.\n\n<b>Quant Enhancements:</B>\n\nImatrix is NEO and Code datasets by DavidAU - Dual Imatrix (2 imatrixes separately generated) to improve model performance.\n\nAll quants (specialized and \"normal\") are also enhanced with 16 bit (full) precision \"output tensor\" to further improve model performance.\n\nOutput tensor affects 10-20% of the fine output of the model - both thinking and output (final) generation.\n\n---\n\n<B>Using an \"uncensored\" (refusals removed) model VS trained \"uncensored\" model</B>\n\nUsually when you a tell a model to generate horror, swear or x-rated content this is all you have to do to get said content type.\n\nIn the case of this model, it will not refuse your request, however it needs to be \"pushed\" a bit / directed a bit more in SOME CASES.\n\nAlthough this model will generated x-rated content too, likewise you need to tell it to use \"slang\" (and include the terms you want)\nto get it generate the content correctly as the \"expected\" content level too.\n\nWithout these added directive(s), the content can be \"bland\" by comparison to an \"uncensored model\" or model trained on uncensored content.\n\nRoughly, the model tries to generate the content but the \"default\" setting(s) are so \"tame\" it needs a push to generate at expected graphic,\ncursing or explicit levels.\n\nEven with minimal direction (ie, use these words to swear: x,y,z), this will be enough to push the model to generate the requested content in the ahh... expected format.\n\n---\n\n<B>Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model:</B>\n\nIn \"KoboldCpp\" or \"oobabooga/text-generation-webui\" or \"Silly Tavern\" ;\n\nSet the \"Smoothing_factor\" to 1.5 \n\n: in KoboldCpp -> Settings->Samplers->Advanced-> \"Smooth_F\"\n\n: in text-generation-webui -> parameters -> lower right.\n\n: In Silly Tavern this is called: \"Smoothing\"\n\n\nNOTE: For \"text-generation-webui\" \n\n-> if using GGUFs you need to use \"llama_HF\" (which involves downloading some config files from the SOURCE version of this model)\n\nSource versions (and config files) of my models are here:\n\nhttps://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be\n\nOTHER OPTIONS:\n\n- Increase rep pen to 1.1 to 1.15 (you don't need to do this if you use \"smoothing_factor\")\n\n- If the interface/program you are using to run AI MODELS supports \"Quadratic Sampling\" (\"smoothing\") just make the adjustment as noted.\n\n<B>Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers</B>\n\nThis a \"Class 1\" model:\n\nFor all settings used for this model (including specifics for its \"class\"), including example generation(s) and for advanced settings guide (which many times addresses any model issue(s)), including methods to improve model performance for all use case(s) as well as chat, roleplay and other use case(s) please see:\n\n[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]\n\nYou can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here:\n\n[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]",
"related_quantizations": []
},
"tags": [
"gguf",
"GLM 4.7 Flash",
"thinking",
"reasoning",
"NEO Imatrix",
"MAX Quants",
"16 bit precision output tensor",
"text-generation",
"en",
"zh",
"base_model:zai-org/GLM-4.7-Flash",
"base_model:quantized:zai-org/GLM-4.7-Flash",
"license:mit",
"endpoints_compatible",
"region:us",
"imatrix",
"conversational"
],
"likes": 7,
"downloads": 249,
"gated": false,
"private": false,
"last_modified": "2026-01-27T08:07:14.000Z",
"created_at": "2026-01-21T23:55:29.000Z",
"pipeline_tag": "text-generation",
"library_name": ""
}
Source payload excerpt (from Hugging Face API)
{
"_id": "6971677138616e3bf19792f4",
"id": "DavidAU/GLM-4.7-Flash-NEO-CODE-Imatrix-MAX-GGUF",
"modelId": "DavidAU/GLM-4.7-Flash-NEO-CODE-Imatrix-MAX-GGUF",
"sha": "c2e49d0c9809e98e7edaafe7a41ab40d21acca44",
"createdAt": "2026-01-21T23:55:29.000Z",
"lastModified": "2026-01-27T08:07:14.000Z",
"author": "DavidAU",
"downloads": 249,
"likes": 7,
"gated": false,
"private": false,
"pipeline_tag": "text-generation",
"library_name": "",
"siblings_count": 14
}