{"schema_version":"1.2.0","id":"unsloth/GLM-4.5-GGUF","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"glm45","representative":"zai-org/GLM-4.5","members":2,"relation":"mirror"},"architecture":{"value":{"arch":"glm4moe","model_type":"glm4moe","layers":93,"hidden":5120,"heads":96,"kv_heads":8,"head_dim":128,"rope_theta":1000000.0,"attn":"GQA","gqa_ratio":12.0,"moe_layers":90,"experts":160,"experts_per_tok":8,"shared_experts":1,"moe_intermediate":1536,"is_moe":true,"layer_types":[{"i":0,"attn_kind":"a","mlp_kind":"d","attn":"GQA","heads":96,"kv_heads":8,"head_dim":128,"qk_rope_head_dim":64,"kv_per_token":4096},{"i":1,"attn_kind":"a","mlp_kind":"m","attn":"GQA","heads":96,"kv_heads":8,"head_dim":128,"qk_rope_head_dim":64,"experts":160,"experts_per_tok":8,"expert_width":1536,"shared_experts":1,"kv_per_token":4096}],"layer_schedule":"000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111","layer_note":"experts from the sparse-step rule"},"graph":{"schema":"osynk-arch/1","root":"model","defs":{"block.0":{"kind":"block","label":"block type 0","nodes":[{"id":"in","kind":"io","label":"in","lines":["residual stream"]},{"id":"norm1","kind":"norm","label":"norm","lines":["type not stated"],"withheld":"no norm key in the config, so the type cannot be told"},{"id":"attention","kind":"use","label":"full attention","lines":["96 query -> 8 KV heads"],"facts":{"attn_kind":"a","attn":"GQA","heads":96,"kv_heads":8},"ref":"attention.0","source":"layer_types[0].attn/kv_lora_rank/heads/kv_heads/window"},{"id":"add1","kind":"add","label":"+","lines":["residual"]},{"id":"norm2","kind":"norm","label":"norm","lines":["same as above"]},{"id":"mlp","kind":"use","label":"dense MLP","lines":["width not stated"],"facts":{"mlp_kind":"d"},"ref":"mlp.0","source":"layer_types[0].mlp_kind/experts/experts_per_tok/ffn_dense"},{"id":"add2","kind":"add","label":"+","lines":["residual"]},{"id":"out","kind":"io","label":"out","lines":["to the next layer"]}],"edges":[["in","norm1"],["norm1","attention"],["attention","add1"],["add1","norm2"],["norm2","mlp"],["mlp","add2"],["add2","out"],["in","add1"],["add1","add2"]],"omissions":[]},"block.1":{"kind":"block","label":"block type 1","nodes":[{"id":"in","kind":"io","label":"in","lines":["residual stream"]},{"id":"norm1","kind":"norm","label":"norm","lines":["type not stated"],"withheld":"no norm key in the config, so the type cannot be told"},{"id":"attention","kind":"use","label":"full attention","lines":["96 query -> 8 KV heads"],"facts":{"attn_kind":"a","attn":"GQA","heads":96,"kv_heads":8},"ref":"attention.1","source":"layer_types[1].attn/kv_lora_rank/heads/kv_heads/window"},{"id":"add1","kind":"add","label":"+","lines":["residual"]},{"id":"norm2","kind":"norm","label":"norm","lines":["same as above"]},{"id":"mlp","kind":"use","label":"MoE MLP","lines":["8 of 160 experts","width 1536"],"facts":{"mlp_kind":"m","experts":160,"experts_per_tok":8},"ref":"mlp.1","source":"layer_types[1].mlp_kind/experts/experts_per_tok/ffn_dense"},{"id":"add2","kind":"add","label":"+","lines":["residual"]},{"id":"out","kind":"io","label":"out","lines":["to the next layer"]}],"edges":[["in","norm1"],["norm1","attention"],["attention","add1"],["add1","norm2"],["norm2","mlp"],["mlp","add2"],["add2","out"],["in","add1"],["add1","add2"]],"omissions":[]},"attention.0":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["96 query heads x 128","8 KV heads"],"facts":{"heads":96,"kv_heads":8,"head_dim":128},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"rope","kind":"rope","label":"rope","lines":["decoupled dim 64"],"facts":{"qk_rope_head_dim":64},"source":"layer_types[0].qk_rope_head_dim"},{"id":"attention","kind":"attention","label":"full attention","lines":["12:1 query heads share a KV head","4.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":4096},"source":"layer_types[0].attn/kv_lora_rank/window/kv_per_token"},{"id":"proj","kind":"proj","label":"output projection","lines":["back to hidden"]}],"edges":[["qkv","attention"],["attention","proj"],["rope","attention"]]},"mlp.0":{"kind":"mlp","label":"dense MLP","nodes":[{"id":"ffn","kind":"ffn","label":"dense FFN","lines":["width not stated"],"source":"layer_types[].ffn_dense/expert_width","withheld":"the config states one FFN width and this model uses it for the experts, so the dense width is unknown"}],"edges":[]},"attention.1":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["96 query heads x 128","8 KV heads"],"facts":{"heads":96,"kv_heads":8,"head_dim":128},"source":"layer_types[1].heads/kv_heads/head_dim/qkv_bias"},{"id":"rope","kind":"rope","label":"rope","lines":["decoupled dim 64"],"facts":{"qk_rope_head_dim":64},"source":"layer_types[1].qk_rope_head_dim"},{"id":"attention","kind":"attention","label":"full attention","lines":["12:1 query heads share a KV head","4.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":4096},"source":"layer_types[1].attn/kv_lora_rank/window/kv_per_token"},{"id":"proj","kind":"proj","label":"output projection","lines":["back to hidden"]}],"edges":[["qkv","attention"],["attention","proj"],["rope","attention"]]},"mlp.1":{"kind":"mlp","label":"MoE MLP","nodes":[{"id":"router","kind":"router","label":"router","lines":["top 8/160"],"facts":{"experts_per_tok":8},"source":"layer_types[1].router_*/experts_per_tok","withheld":"the config does not state the score function or the top-k normalisation"},{"id":"experts","kind":"use","label":"160 experts","lines":["width 1536 each","8 fire per token"],"facts":{"experts":160,"expert_width":1536,"experts_per_tok":8},"ref":"ffn.1","source":"layer_types[1].experts/expert_width/experts_per_tok"},{"id":"shared","kind":"expert","label":"1 shared expert","lines":["always on, every token"],"facts":{"shared_experts":1},"source":"layer_types[1].shared_experts/shared_width"}],"edges":[["router","experts"],["router","shared"]]},"ffn.1":{"kind":"ffn","label":"the expert FFN","edges":[],"nodes":[{"id":"ffn","kind":"ffn","label":"feed-forward","lines":["up -> gate * act -> down","width 1536"],"facts":{"expert_width":1536},"source":"layer_types[].expert_width","withheld":"the config states no activation, so the gating shape is not stated either"}]}},"model":{"kind":"model","label":"glm4moe","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 128k tokens"],"facts":{"ctx":131072},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["embedding"],"facts":{"hidden":5120},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"block type 0","lines":["full attention","dense MLP"],"facts":{"attn_kind":"a","mlp_kind":"d"},"ref":"block.0","count":3,"source":"layer_types[0]"},{"id":"block.1","kind":"use","label":"block type 1","lines":["full attention","MoE MLP"],"facts":{"attn_kind":"a","mlp_kind":"m","experts":160,"experts_per_tok":8},"ref":"block.1","count":90,"source":"layer_types[1]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 5120"],"facts":{"hidden":5120},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["vocabulary projection"],"facts":{"hidden":5120},"source":"spec.vocab/hidden"}],"facts":{"params_total":358337791296,"params_active":35586098496,"kv_bytes_per_token":380928,"hidden":5120,"ctx":131072},"edges":[["text","embedding"],["embedding","block.0"],["block.0","block.1"],["block.1","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"gguf-header","method":"spec-v1"}},"lineage":{"org":"unsloth","tier":"C","foundational":false,"excluded_because":"repack","family":"glm","generation":"4.5","size":"300B-1T","role":null,"line":null,"rungs":0,"first_of_line":false,"new_rung":false,"base_of":"zai-org/GLM-4.5"},"params":{"total":358337791296,"active":35586098496,"active_ratio":0.0993,"params_per_expert":23592960,"mtp_excluded":null,"provenance":{"class":"derived","method":"moe-subtract-v1","total_from":"gguf-header-v1","from_base":null},"withheld":null},"inference":{"kv_bytes_per_token":380928,"attn_layers":93,"gb_fp16":716.68,"gb_active_fp16":71.17,"ctx":131072},"quants":[{"format":"TQ1_0","bytes":84336839360,"files":1,"path":"GLM-4.5-UD-TQ1_0.gguf"},{"format":"IQ1_S","bytes":97047546752,"files":2,"path":"UD-IQ1_S/GLM-4.5-UD-IQ1_S-00001-of-00002.gguf"},{"format":"IQ1_M","bytes":107717995520,"files":3,"path":"UD-IQ1_M/GLM-4.5-UD-IQ1_M-00001-of-00003.gguf"},{"format":"IQ2_XXS","bytes":115912821760,"files":3,"path":"UD-IQ2_XXS/GLM-4.5-UD-IQ2_XXS-00001-of-00003.gguf"},{"format":"IQ2_M","bytes":122440207360,"files":3,"path":"UD-IQ2_M/GLM-4.5-UD-IQ2_M-00001-of-00003.gguf"},{"format":"Q2_K","bytes":131159649248,"files":3,"path":"Q2_K/GLM-4.5-Q2_K-00001-of-00003.gguf"},{"format":"Q2_K_L","bytes":131341511648,"files":3,"path":"Q2_K_L/GLM-4.5-Q2_K_L-00001-of-00003.gguf"},{"format":"Q2_K_XL","bytes":135199411168,"files":3,"path":"UD-Q2_K_XL/GLM-4.5-UD-Q2_K_XL-00001-of-00003.gguf"},{"format":"IQ3_XXS","bytes":145181404160,"files":3,"path":"UD-IQ3_XXS/GLM-4.5-UD-IQ3_XXS-00001-of-00003.gguf"},{"format":"Q3_K_S","bytes":155021880416,"files":4,"path":"Q3_K_S/GLM-4.5-Q3_K_S-00001-of-00004.gguf"},{"format":"Q3_K_XL","bytes":158742441056,"files":4,"path":"UD-Q3_K_XL/GLM-4.5-UD-Q3_K_XL-00001-of-00004.gguf"},{"format":"Q3_K_M","bytes":171268787296,"files":4,"path":"Q3_K_M/GLM-4.5-Q3_K_M-00001-of-00004.gguf"},{"format":"IQ4_XS","bytes":191562951808,"files":4,"path":"IQ4_XS/GLM-4.5-IQ4_XS-00001-of-00004.gguf"},{"format":"IQ4_NL","bytes":202456345792,"files":5,"path":"IQ4_NL/GLM-4.5-IQ4_NL-00001-of-00005.gguf"},{"format":"Q4_0","bytes":203036339424,"files":5,"path":"Q4_0/GLM-4.5-Q4_0-00001-of-00005.gguf"},{"format":"Q4_K_S","bytes":203679902912,"files":5,"path":"Q4_K_S/GLM-4.5-Q4_K_S-00001-of-00005.gguf"},{"format":"Q4_K_XL","bytes":204407250176,"files":5,"path":"UD-Q4_K_XL/GLM-4.5-UD-Q4_K_XL-00001-of-00005.gguf"},{"format":"Q4_K_M","bytes":216455572672,"files":5,"path":"Q4_K_M/GLM-4.5-Q4_K_M-00001-of-00005.gguf"},{"format":"Q4_1","bytes":224605547712,"files":5,"path":"Q4_1/GLM-4.5-Q4_1-00001-of-00005.gguf"},{"format":"Q5_K_S","bytes":247003704544,"files":5,"path":"Q5_K_S/GLM-4.5-Q5_K_S-00001-of-00005.gguf"},{"format":"Q5_K_XL","bytes":253121858944,"files":6,"path":"UD-Q5_K_XL/GLM-4.5-UD-Q5_K_XL-00001-of-00006.gguf"},{"format":"Q5_K_M","bytes":254246825344,"files":6,"path":"Q5_K_M/GLM-4.5-Q5_K_M-00001-of-00006.gguf"},{"format":"Q6_K","bytes":294371691840,"files":6,"path":"Q6_K/GLM-4.5-Q6_K-00001-of-00006.gguf"},{"format":"Q6_K_XL","bytes":300232904128,"files":7,"path":"UD-Q6_K_XL/GLM-4.5-UD-Q6_K_XL-00001-of-00007.gguf"},{"format":"Q8_0","bytes":380966784608,"files":8,"path":"Q8_0/GLM-4.5-Q8_0-00001-of-00008.gguf"},{"format":"Q8_K_XL","bytes":391470567040,"files":8,"path":"UD-Q8_K_XL/GLM-4.5-UD-Q8_K_XL-00001-of-00008.gguf"},{"format":"BF16","bytes":716837146688,"files":15,"path":"BF16/GLM-4.5-BF16-00001-of-00015.gguf"}],"evidence":{"provider_meta":{"open_weights":true,"release_date":"2025-07-28","ctx":128000,"cost_in":0.6,"cost_out":2.2,"reasoning":true,"tool_call":true,"measured_as":"GLM 4.5"}},"claims":[],"diagrams":{"structure":"/diagrams/unsloth--GLM-4.5-GGUF-structure.svg"},"history":{"points":1,"first":"2026-11-16T11:01:30Z","last":"2026-11-16T11:01:30Z"},"links":{"hf":"https://huggingface.co/unsloth/GLM-4.5-GGUF","papers":[],"license":"mit"},"counters":{"downloads":10659,"likes":54,"created":"2025-08-05","modified":"2025-12-26"},"flags":{"variant":true,"gated":false,"closed_weights":false}}