{"as_of":"2026-11-19","license":"CC-BY-4.0","license_url":"https://creativecommons.org/licenses/by/4.0/","cite_as":"The Local Bench (thelocalbench.com), data as of 2026-11-19, CC BY 4.0","source_url":"https://thelocalbench.com","model":{"id":"gemma-4-31b-it","name":"Gemma 4 31B IT","org":"Google DeepMind","task":"general","hf_repo":"google/gemma-4-31B-it","gguf_repo":"unsloth/gemma-4-31B-it-GGUF","license":{"value":"Apache-2.0","flag":"verified","source":"https://ai.google.dev/gemma/docs/gemma_4_license"},"datasheet":"TLB-M-0012","rev":"2026.11","as_of":"2026-11-25","summary":"The other Issue 001 24 GB model. Q4_K_M is 18.32 GB. Fifty of the sixty layers only look at the last 1,024 tokens, so the KV cache stays smaller as context grows.","arch":{"params_total":{"value":31.27,"flag":"verified","unit":"B","source":"https://huggingface.co/api/models/google/gemma-4-31B-it","note":"safetensors.total from the HF API. The model card lists 30.7B for the text model and about 550M for the vision encoder; this total is the whole checkpoint."},"params_active":{"value":31.27,"flag":"verified","unit":"B","source":"https://huggingface.co/api/models/google/gemma-4-31B-it","note":"Dense: all parameters active."},"layers":{"value":60,"flag":"verified","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json"},"kv_heads":{"value":16,"flag":"verified","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json","note":"Sliding-window layers use this KV shape. Full-attention layers use num_global_key_value_heads (4) and global_head_dim 512. The fit formula applies this shape to every layer."},"q_heads":{"value":32,"flag":"verified","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json"},"head_dim":{"value":256,"flag":"verified","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json"},"hidden_size":{"value":5376,"flag":"verified","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json"},"context":{"value":262144,"flag":"verified","unit":"tokens","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json","note":"max_position_embeddings. The model card calls this a 256K context."},"sliding_window":{"value":1024,"flag":"verified","unit":"tokens","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json","note":"Local attention window."},"sliding_layers":{"value":50,"flag":"verified","source":"https://huggingface.co/google/gemma-4-31B-it/blob/main/config.json","note":"Count of layer_types entries equal to sliding_attention (50 of 60). The other 10 are full_attention."}},"quants":{"Q3_K_M":{"bpw":3.91,"file_gb":{"value":14.74,"flag":"verified","unit":"GB","source":"https://huggingface.co/unsloth/gemma-4-31B-it-GGUF/tree/main","note":"Sum of GGUF file sizes (Q3_K_M) from the HF API tree listing. Multi-token-prediction sidecar files (mtp-*) are not included."}},"Q4_K_M":{"bpw":4.85,"file_gb":{"value":18.32,"flag":"verified","unit":"GB","source":"https://huggingface.co/unsloth/gemma-4-31B-it-GGUF/tree/main","note":"Sum of GGUF file sizes (Q4_K_M) from the HF API tree listing. Multi-token-prediction sidecar files (mtp-*) are not included."}},"Q5_K_M":{"bpw":5.69,"file_gb":{"value":21.66,"flag":"verified","unit":"GB","source":"https://huggingface.co/unsloth/gemma-4-31B-it-GGUF/tree/main","note":"Sum of GGUF file sizes (Q5_K_M) from the HF API tree listing. Multi-token-prediction sidecar files (mtp-*) are not included."}},"Q6_K":{"bpw":6.56,"file_gb":{"value":25.2,"flag":"verified","unit":"GB","source":"https://huggingface.co/unsloth/gemma-4-31B-it-GGUF/tree/main","note":"Sum of GGUF file sizes (Q6_K) from the HF API tree listing. Multi-token-prediction sidecar files (mtp-*) are not included."}},"Q8_0":{"bpw":8.5,"file_gb":{"value":32.64,"flag":"verified","unit":"GB","source":"https://huggingface.co/unsloth/gemma-4-31B-it-GGUF/tree/main","note":"Sum of GGUF file sizes (Q8_0) from the HF API tree listing. Multi-token-prediction sidecar files (mtp-*) are not included."}},"F16":{"bpw":16,"file_gb":{"value":61.41,"flag":"verified","unit":"GB","source":"https://huggingface.co/unsloth/gemma-4-31B-it-GGUF/tree/main","note":"Sum of GGUF file sizes (BF16) from the HF API tree listing. Multi-token-prediction sidecar files (mtp-*) are not included."}}},"quality":{"arena_text":{"value":1442.9,"flag":"sourced","source":"https://huggingface.co/datasets/lmarena-ai/leaderboard-dataset","note":"LMArena text, overall, entry 'Gemma 4 31B': 1442.9 (95% CI 1435.5–1450.3, 6,118 votes), leaderboard published 2026-11-22. CC-BY-4.0."}}},"runs":[]}