{"schema_version":"1.2.0","id":"antirez/deepseek-v4-gguf","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"deepseekv4flash","representative":"deepseek-ai/DeepSeek-V4-Flash-0731","members":8,"relation":"release"},"architecture":{"value":{"arch":"deepseek4","model_type":"deepseek4","layers":61,"hidden":7168,"heads":128,"kv_heads":1,"head_dim":512,"vocab":129280,"rope_theta":10000.0,"attn":"GQA","gqa_ratio":128.0,"experts":384,"experts_per_tok":6,"shared_experts":1,"moe_intermediate":3072,"is_moe":true,"layer_types":[{"i":0,"attn_kind":"s","mlp_kind":"?","attn":"GQA","heads":128,"kv_heads":1,"head_dim":512,"qk_rope_head_dim":64,"window":128,"kv_per_token":2048}],"layer_schedule":"0000000000000000000000000000000000000000000000000000000000000","layer_note":"sliding window 128 on every layer; expert positions not stated (layout not modelled)"},"graph":{"schema":"osynk-arch/1","root":"model","defs":{"block.0":{"kind":"block","label":"transformer block","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":"sliding attention","lines":["128 query -> 1 KV heads","window 128"],"facts":{"attn_kind":"s","attn":"GQA","heads":128,"kv_heads":1,"window":128},"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":"MLP kind not stated","lines":["width not stated"],"facts":{"mlp_kind":"?"},"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":["the config does not say which layers route to experts"]},"attention.0":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["128 query heads x 512","1 KV heads"],"facts":{"heads":128,"kv_heads":1,"head_dim":512},"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":"sliding attention","lines":["128:1 query heads share a KV head","window 128 tokens - the cache stops there","2.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":2048,"window":128},"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":"MLP kind not stated","nodes":[{"id":"ffn","kind":"ffn","label":"MLP","lines":["kind not stated"],"withheld":"the config does not say which layers route to experts, so neither shape can be drawn"}],"edges":[]}},"model":{"kind":"model","label":"deepseek4","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 1024k tokens"],"facts":{"ctx":1048576},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["129,280 x 7168"],"facts":{"vocab":129280,"hidden":7168},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"transformer block","lines":["sliding attention","MLP kind not stated"],"facts":{"attn_kind":"s","mlp_kind":"?","window":128},"ref":"block.0","count":61,"source":"layer_types[0]","withheld":"part of this block's kind is not recognised"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 7168"],"facts":{"hidden":7168},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["7168 x 129,280"],"facts":{"vocab":129280,"hidden":7168},"source":"spec.vocab/hidden"}],"facts":{"params_total":284334567511,"kv_bytes_per_token":0,"kv_window_bytes":15990784,"vocab":129280,"hidden":7168,"ctx":1048576},"edges":[["text","embedding"],["embedding","block.0"],["block.0","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"gguf-header","method":"spec-v1"}},"lineage":{"org":"antirez","tier":"C","foundational":false,"excluded_because":"repack","family":"deepseek","generation":"4","size":"100-300B","role":null,"line":null,"rungs":0,"first_of_line":false,"new_rung":false,"base_of":"deepseek-ai/DeepSeek-V4-Flash-0731"},"params":{"total":284334567511,"active":null,"active_ratio":null,"params_per_expert":null,"mtp_excluded":null,"provenance":{"class":"derived","method":"moe-subtract-v1","total_from":"gguf-header-v1","from_base":null},"withheld":[{"field":"params.active","reason":"unmodelled expert layout (hybrid/grouped/partial-layer MoE)"}]},"inference":{"kv_bytes_per_token":0,"kv_window_bytes":15990784,"max_ctx_sliding":128,"sliding_layers":61,"attn_layers":61,"gb_fp16":568.67,"ctx":1048576},"quants":[{"format":"DeepSeek-V4-Flash-Vision","bytes":932857760,"files":1,"path":"DeepSeek-V4-Flash-Vision-Encoder.gguf"},{"format":"MXFP4","bytes":311952917984,"files":2,"path":"DeepSeek-V4-Flash-MXFP4Experts-F16HC-F16Compressor-F16Indexer-Q8Attn-Q8Shared-Q8Out-chat-v2-mxfp4-0731.gguf"},{"format":"IQ2XXS","bytes":638067557216,"files":3,"path":"DeepSeek-V4-Flash-IQ2XXS-w2Q2K-AProjQ8-SExpQ8-OutQ8-chat-v2.gguf"},{"format":"Q4","bytes":1161709110496,"files":4,"path":"DeepSeek-V4-Flash-Q4KExperts-F16HC-F16Compressor-F16Indexer-Q8Attn-Q8Shared-Q8Out-chat-v2.gguf"}],"evidence":{"provider_meta":{"open_weights":true,"release_date":"2026-07-31","ctx":1000000,"cost_in":0.13,"cost_out":0.26,"reasoning":true,"tool_call":true,"measured_as":"DeepSeek V4 Flash 0731"}},"claims":[],"diagrams":{"structure":"/diagrams/antirez--deepseek-v4-gguf-structure.svg"},"history":{"points":5,"first":"2026-09-16T15:22:25Z","last":"2026-09-22T19:46:58Z"},"links":{"hf":"https://huggingface.co/antirez/deepseek-v4-gguf","papers":[],"license":"mit"},"counters":{"downloads":423906,"likes":495,"created":"2026-04-26","modified":"2026-08-31"},"flags":{"variant":true,"gated":false,"closed_weights":false}}