{"slug": "model-mellum2-1-12b-a2-5b-instruct", "title": "Model: Mellum2.1 12B-A2.5B Instruct", "summary": "JetBrains released Mellum2.1 12B-A2.5B Instruct, a non-thinking instruction variant of its Mellum2.1 code model for code generation and tool-calling agents, under the Apache 2.0 license. The model keeps the 12.15B mixture-of-experts layout (64 routed experts, 8 active per token, about 2.5B active parameters) and hybrid sliding-window cache of the Thinking checkpoint; JetBrains' official GGUF files need about 8.6 GB at 4K context in Q4_K_M and about 13.6 GB in Q8_0, fitting 12 GB and 16 GB cards respectively. Only 7 of 28 layers keep a KV cache that grows with context, so moving from 4K to 32K adds about 0.38 GB, and holding the full 128K native window at Q4_K_M would need about 10 GB.", "body_md": "JetBrains Mellum\n\nJetBrains' non-thinking instruction variant of Mellum2.1 for code generation and tool-calling agents, released under Apache 2.0. It shares the 12.15B MoE layout (64 routed experts, 8 active per token, about 2.5B active parameters) and hybrid sliding-window cache of the Thinking checkpoint. Using JetBrains' official GGUF files, Q4_K_M needs about 8.6 GB at 4K and 10.4 GB at 128K, comfortable on a 12 GB card; Q8_0 needs about 13.6 GB at 4K, comfortable on a 16 GB card.\n\n## Quick Launch Command\n\nVerified command for GGUF Q4_K_M at 4K context · full options in CLI Generator\n\n```\n# Prerequisites: a CUDA toolkit matching your driver (nvcc --version), Python 3\n# Install on Linux (with CUDA)\nsudo apt install -y build-essential cmake git\ngit clone https://github.com/ggml-org/llama.cpp && cd llama.cpp\ncmake -B build -DGGML_CUDA=ON\ncmake --build build --config Release -j$(nproc)\n\n# Download the model (installs the hf CLI the next line needs)\npip install -U huggingface_hub\nhf download JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF --include \"Mellum2.1-12B-A2.5B-Instruct-Q4_K_M.gguf\" --local-dir ./models\n\n# Run\n./build/bin/llama-server \\\n  -m ./models/Mellum2.1-12B-A2.5B-Instruct-Q4_K_M.gguf \\\n  --host 127.0.0.1 --port 8080 \\\n  -ngl 99 \\\n  -c 4096 \\\n  -t 8\n```\n\n## Quantization Variants\n\nPer-quant VRAM, quality loss, and inference speed on RTX 4090\n\nMeasured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports\n\n| Format | Level | BPW | VRAM | PPL Loss | Speed | Source | Actions | \n|---|---|---|---|---|---|---|---|\n| GGUF | Q4_K_M | 5.31 | 8.6 GB | — | — | Estimated |  | \n| GGUF | Q6_K | 7.16 | 11.5 GB | — | — | Estimated |  | \n| GGUF | Q8_0 | 8.51 | 13.6 GB | — | — | Estimated |  | \n\n### Which file each size is for\n\nWeights use recorded file bytes where available, otherwise BPW. Both receive a separate 2% planning allowance. VRAM at 4K includes KV and a 10% activation buffer (GiB). Downloads use decimal GB. Separate vision projectors are excluded from this table.\n\n- GGUF Q4_K_M[JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF](https://huggingface.co/JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF) · Mellum2.1-12B-A2.5B-Instruct-Q4_K_M.gguf · 8.07 GB (8,071,294,048 bytes) · listing read 2026-11-26\n- GGUF Q6_K[JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF](https://huggingface.co/JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF) · Mellum2.1-12B-A2.5B-Instruct-Q6_K.gguf · 10.88 GB (10,879,833,184 bytes) · listing read 2026-11-26\n- GGUF Q8_0[JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF](https://huggingface.co/JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF) · Mellum2.1-12B-A2.5B-Instruct-Q8_0.gguf · 12.93 GB (12,925,416,544 bytes) · listing read 2026-11-26\n\n## Running Mellum2.1 12B-A2.5B Instruct locally\n\nAt Q4_K_M and 4K of context, Mellum2.1 12B-A2.5B Instruct needs about 8.6 GB — 7.7 GB of weights, 0.12 GB of KV cache and a 0.8 GB activation buffer. The smallest cards in this index that clear that comfortably are 10 GB ones — 2 of them, from the Arc B570 10G up — and 89 of the 122 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.\n\n## What longer context costs\n\nGoing from 4K to 32K adds about 0.38 GB, taking the total to 9.0 GB. That is gentler than the parameter count suggests: only 7 of 28 layers keep a KV cache that grows with context, and 21 more cap theirs at a sliding window, so the cache scales at a fraction of the usual rate. The model's native window is 128K; holding all of it at Q4_K_M would need about 10 GB.\n\n## Which build to download\n\nThis index only tracks Mellum2.1 12B-A2.5B Instruct in GGUF, across 3 levels (Q4_K_M, Q6_K, Q8_0). No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving.\n\n## Common questions\n\n- How much VRAM does Mellum2.1 12B-A2.5B Instruct need?\n- About 8.6 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 9.0 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.\n- Will Mellum2.1 12B-A2.5B Instruct run on a 10GB GPU?\n- Yes — at Q4_K_M and 4K context it needs about 8.6 GB, which leaves 1.4 GB spare on a Arc B570 10G, or on any of the other 10 GB cards here (2 in all). That is the smallest size in this index that clears it comfortably; 89 of 122 do.\n- Which quantization of Mellum2.1 12B-A2.5B Instruct should I use?\n- No published quality comparison exists for this model, so pick by footprint: Q4_K_M is the level most people run, and a higher bits-per-weight level is more faithful. All 3 levels in the index are Q4_K_M, Q6_K, Q8_0. Note this is a mixture-of-experts model — all parameters must be resident even though only a fraction are active per token, so the memory cost follows the total, not the active count.\n\n## Where this model fits\n\nSized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.\n\n## How to actually run this\n\nDeployment guides for this model and this class of hardware.\n\n## Similar models\n\n[Compare with Mellum2.1 12B-A2.5B](https://quantized.uk/tools/compare/?a=mellum2-1-12b-a2-5b-instruct&b=mellum2-1-12b-a2-5b)\n\n[12B-A2.5BConsumer GPUMac / Apple SiliconQ4_K_M8.6 GB—perplexity rise](https://quantized.uk/quant-hub/mellum2-1-12b-a2-5b/)\n\n### Mellum2.1 12B-A2.5B Thinking\n\nJetBrains Mellum\n\nJetBrains' open coding model for agents and fast sub-agents, released in October under Apache 2.0. It is a 12B mixture-of-experts model with about 2.5B parameters active per token, so it generates at roughly the speed of a 3B model. At Q4_K_M it needs about 8.6 GB at 4K context and 10.5 GB even at its full 128K window, because only 7 of its 28 layers keep a growing cache. That is comfortable on a 10 or 12 GB card; an 8 GB card cannot hold it. Q8_0 fits a 16 GB card. llama.cpp supports it as `mellum`. Sizes come from JetBrains' own GGUF files; JetBrains publishes KL divergence rather than perplexity, so no quality-loss figure is shown.\n\n[14BConsumer GPUMac / Apple SiliconQ4_K_M10.1 GB+2.9%perplexity rise](https://quantized.uk/quant-hub/qwen2.5-14b/)\n\n### Qwen2.5 14B Instruct\n\nAlibaba Qwen2.5\n\nThe sweet spot between performance and resource usage. 16GB VRAM with Q4.\n\n[16B-A2.4BConsumer GPUMac / Apple SiliconQ4_K_M10.1 GB+3.1%perplexity rise](https://quantized.uk/quant-hub/deepseek-coder-v2-lite/)\n\n### DeepSeek-Coder-V2-Lite Instruct\n\nDeepSeek\n\nMoE architecture coding model. Active params ~2.4B, total ~16B. Exceptional code quality. Its attention is MLA: a GGUF converted by current llama.cpp (tensors attn_k_b / attn_v_b) caches about 1 GB at 32K, which is what the estimates here assume. An older conversion with a single attn_kv_b tensor caches full keys and values instead — about 8.4 GB at 32K.\n\n[14BConsumer GPUMac / Apple SiliconQ4_K_M9.7 GB+3.0%perplexity rise](https://quantized.uk/quant-hub/phi-3-medium-14b/)\n\n### Phi-3 Medium 14B Instruct\n\nMicrosoft Phi\n\nMicrosoft's mid-size Phi-3. Excellent quality-per-GB on 16GB cards.\n\nThis page's figures change when the model or the runtime does.Last updated 2026-11-26 [RSS → /feed.xml](https://quantized.uk/feed.xml)", "url": "https://wpnews.pro/news/model-mellum2-1-12b-a2-5b-instruct", "canonical_source": "https://quantized.uk/quant-hub/mellum2-1-12b-a2-5b-instruct/", "published_at": "2026-11-26 00:00:00+00:00", "updated_at": "2026-11-27 01:44:33.943573+00:00", "lang": "en", "topics": ["large-language-models", "ai-tools", "ai-infrastructure", "developer-tools", "generative-ai"], "entities": ["JetBrains", "Mellum2.1 12B-A2.5B Instruct", "llama.cpp", "Hugging Face", "RTX 4090", "Arc B570 10G"], "also_reported_by": [], "takeaway": "Mellum2.1 12B-A2.5B Instruct's hybrid sliding-window cache keeps only 7 of 28 layers growing with context, so Q4_K_M runs in about 8.6 GB at 4K and about 10 GB at the full 128K window.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/model-mellum2-1-12b-a2-5b-instruct", "markdown": "https://wpnews.pro/news/model-mellum2-1-12b-a2-5b-instruct.md", "text": "https://wpnews.pro/news/model-mellum2-1-12b-a2-5b-instruct.txt", "jsonld": "https://wpnews.pro/news/model-mellum2-1-12b-a2-5b-instruct.jsonld"}}