{"schema_version":"1.2.0","id":"moonshotai/Kimi-Linear-48B-A3B-Instruct","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"kimilinear48ba3b","representative":"moonshotai/Kimi-Linear-48B-A3B-Instruct","members":2,"relation":"original"},"architecture":{"value":{"arch":"KimiLinearForCausalLM","model_type":"kimi_linear","layers":27,"hidden":2304,"heads":32,"kv_heads":32,"head_dim":72,"vocab":163840,"act":"silu","rope_theta":10000.0,"tied_embeddings":false,"attn":"MLA","gqa_ratio":1.0,"moe_layers":26,"experts":256,"shared_experts":0,"moe_intermediate":1024,"ffn_dense":9216,"is_moe":true,"layer_types":[{"i":0,"attn_kind":"a","mlp_kind":"d","attn":"MLA","heads":32,"kv_heads":32,"head_dim":72,"kv_lora_rank":512,"qk_rope_head_dim":64,"ffn_dense":9216,"ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu","norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":1152},{"i":1,"attn_kind":"a","mlp_kind":"m","attn":"MLA","heads":32,"kv_heads":32,"head_dim":72,"kv_lora_rank":512,"qk_rope_head_dim":64,"ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu","experts":256,"expert_width":1024,"router_topk_groups":1,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":1152}],"layer_schedule":"011111111111111111111111111","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":"RMSNorm","lines":["inferred from rms_norm_eps"],"facts":{"norm":"rmsnorm"},"source":"layer_types[0].norm (rms_norm_eps)","derived":"rms_norm_eps"},{"id":"attention","kind":"use","label":"attention - MLA","lines":["latent 512 + rope 64"],"facts":{"attn_kind":"a","attn":"MLA","heads":32,"kv_heads":32},"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 9216","silu"],"facts":{"mlp_kind":"d","ffn_dense":9216},"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":"RMSNorm","lines":["inferred from rms_norm_eps"],"facts":{"norm":"rmsnorm"},"source":"layer_types[1].norm (rms_norm_eps)","derived":"rms_norm_eps"},{"id":"attention","kind":"use","label":"attention - MLA","lines":["latent 512 + rope 64"],"facts":{"attn_kind":"a","attn":"MLA","heads":32,"kv_heads":32},"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":["? of 256 experts","width 1024"],"facts":{"mlp_kind":"m","experts":256},"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":"MLA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 72"],"facts":{"heads":32,"kv_heads":32,"head_dim":72},"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":"attention - MLA","lines":["latent 512 + rope 64","a learned latent, not full K/V","1.1 KB per token"],"facts":{"attn":"MLA","kv_lora_rank":512,"kv_per_token":1152},"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 9216","silu"],"facts":{"ffn_dense":9216,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}],"edges":[]},"attention.1":{"kind":"attention","label":"MLA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 72"],"facts":{"heads":32,"kv_heads":32,"head_dim":72},"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":"attention - MLA","lines":["latent 512 + rope 64","a learned latent, not full K/V","1.1 KB per token"],"facts":{"attn":"MLA","kv_lora_rank":512,"kv_per_token":1152},"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":["score function not stated"],"facts":{"router_topk_groups":1},"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":"256 experts","lines":["width 1024 each"],"facts":{"experts":256,"expert_width":1024},"ref":"ffn.1","source":"layer_types[1].experts/expert_width/experts_per_tok"}],"edges":[["router","experts"]]},"ffn.1":{"kind":"ffn","label":"the expert FFN","edges":[],"nodes":[{"id":"ffn","kind":"ffn","label":"SwiGLU","lines":["up -> gate * act -> down","width 1024","silu"],"facts":{"expert_width":1024,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}]}},"model":{"kind":"model","label":"KimiLinearForCausalLM","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["input"],"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["163,840 x 2304"],"facts":{"vocab":163840,"hidden":2304,"tied_embeddings":false},"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":1,"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":256},"ref":"block.1","count":26,"source":"layer_types[1]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 2304"],"facts":{"hidden":2304},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["2304 x 163,840"],"facts":{"vocab":163840,"hidden":2304},"source":"spec.vocab/hidden"}],"facts":{"params_total":49122681728,"params_active":2196284288,"vocab":163840,"hidden":2304},"edges":[["text","embedding"],["embedding","block.0"],["block.0","block.1"],["block.1","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"moonshotai","tier":"A","foundational":false,"excluded_because":"role","family":"kimi linear","generation":null,"size":"48B 3B","role":"instruct","line":null,"ladder":["2","2.5","2.6","2.7","3","3.1"],"rungs":6,"first_of_line":false,"new_rung":false},"params":{"total":49122681728,"active":2196284288,"active_ratio":0.0447,"params_per_expert":7077888,"mtp_excluded":null,"provenance":{"class":"derived","method":"moe-subtract-v1","total_from":"safetensors-header-v1","from_base":null},"withheld":[{"field":"inference.kv_bytes_per_token","reason":"hybrid (SSM/linear attention) layer mix not stated; only full-attention layers hold a KV cache"}]},"inference":{"attn_layers":27,"gb_fp16":98.25,"gb_q4":27.02,"gb_active_fp16":4.39},"quants":null,"evidence":null,"claims":[{"field":"params.total","claim":"48B","derived":49122681728,"delta":-0.0229,"quote":"48B","source":"repo-name","source_url":"https://huggingface.co/moonshotai/Kimi-Linear-48B-A3B-Instruct"},{"field":"params.active","claim":"A3B","derived":2196284288,"delta":0.3659,"quote":"A3B","source":"repo-name","source_url":"https://huggingface.co/moonshotai/Kimi-Linear-48B-A3B-Instruct"}],"diagrams":{"structure":"/diagrams/moonshotai--Kimi-Linear-48B-A3B-Instruct-structure.svg"},"history":{"points":2,"first":"2026-09-16T15:22:25Z","last":"2026-09-21T09:42:55Z"},"links":{"hf":"https://huggingface.co/moonshotai/Kimi-Linear-48B-A3B-Instruct","papers":["https://arxiv.org/abs/2510.26692","https://arxiv.org/abs/2412.06464"],"license":"mit"},"counters":{"downloads":36223,"likes":618,"created":"2025-10-30","modified":"2025-12-16"},"flags":{"variant":false,"gated":false,"closed_weights":false}}