Mellum 2.1 Instruct: Power-User Guide to Local Setup, MTP and Benchmarks

Last updated: November 27, 2026

Mellum 2.1 Instruct is JetBrains’ open coding model released November 25, 2026. It is a 12B mixture-of-experts model with 2.5B active parameters that answers without a chain of thought, uses about half the tokens of Mellum 2.1 Thinking, and scores 40.4% on SWE-bench Verified. Weights are free under Apache 2.0.

Contents

What changed in Mellum 2.1 Instruct

In October, JetBrains released Mellum 2.1 Thinking, a reasoning model trained to work as a coding agent. Mellum 2.1 Instruct is its sibling: the same architecture and the same training, but it gives direct answers without showing a chain of thought (JetBrains blog).

Compared with the earlier Mellum 2 Instruct, the architecture is unchanged. What changed is post-training. The model went through large-scale reinforcement learning, including agentic training inside real repositories with shell and file tools, rewarded only when tests passed (Hugging Face model card) (JetBrains blog).

For Instruct, JetBrains also tuned a length penalty to keep answers short (JetBrains blog).

Why it matters: much of a coding agent’s work is simple, such as a small fix, a command to run or a question about the code. JetBrains says reasoning adds time there without adding quality, especially on local hardware where every extra token is waiting time (JetBrains blog). The New Stack reports that in JetBrains’ agentic tests the model averaged 5,600 tokens per task against 10,100 for Thinking, a 45% reduction (The New Stack).

Specifications and files

The model has 12B total parameters with 2.5B active, 64 experts with 8 active per token, a 1,024-token sliding window on 3 of every 4 layers, and a 131,072-token context. It ships in bfloat16, and the mellum architecture needs transformers 5.11.0 or later (model card).

JetBrains publishes three repositories: the main Instruct weights, a GGUF repository for local runtimes, and an MTP repository with the multi-token prediction head included (JetBrains blog). The GGUF files available are (GGUF model card):

GGUF quantization Size Notes from JetBrains
BF16 24.3 GB Unquantized reference
Q8_0 12.9 GB Effectively lossless (96.2% top-token match)
Q6_K 10.9 GB Recommended; 94.3% top-token match
Q4_K_M 8.1 GB Balanced; 87.4% top-token match
MXFP4_MOE 7.0 GB Smallest; 84.3% top-token match

Benchmarks: Instruct, Thinking and Qwen3.5 9B

All scores below are self-reported by JetBrains, with thinking turned off for Qwen3.5 9B in the Instruct comparison (model card).

Benchmark Mellum 2.1 Instruct Mellum 2.1 Thinking Mellum 2 Instruct Qwen3.5 9B (non-thinking)
SWE-bench Verified 40.4 47.0 20.2 49.8
LiveCodeBench v6 53.7 82.0 40.4 65.2
HumanEval+ 89.1 91.5 84.8 84.8
MultiPL-E 73.7 81.5 68.7 66.4
AIME 25/26 61.1 83.3 32.3 69.2
WorkBench 38.0 44.6 22.2 41.3

The pattern is clear: Instruct doubled its predecessor on SWE-bench Verified and leads its class on code generation, but Thinking stays well ahead on LiveCodeBench and AIME. Qwen3.5 9B scores higher on SWE-bench Verified, while JetBrains says Mellum generates tokens about 1.4x faster than Qwen3.5 9B for a single request and about 1.8x faster under load (JetBrains blog).

How to run Mellum 2.1 Instruct locally

  1. Pick a quantization. JetBrains recommends Q6_K (10.9 GB); Q4_K_M (8.1 GB) or MXFP4_MOE (7.0 GB) fit smaller machines (GGUF card).
  2. With llama.cpp, run llama serve -hf JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF:Q6_K, or llama cli with the same argument to chat in the terminal. Add --temp 0.6 --top-p 0.95 --top-k 20, the recommended sampling settings (GGUF card).
  3. Point any OpenAI-compatible client at http://localhost:9931/v1, the address the llama.cpp server exposes in JetBrains’ example (GGUF card).
  4. With Ollama, run ollama run hf.co/JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF:Q6_K (GGUF card).
  5. On a GPU server, run vllm serve JetBrains/Mellum2.1-12B-A2.5B-Instruct --max-model-len 131072. For agents, add --enable-auto-tool-choice --tool-call-parser hermes to turn on tool calling (model card).
  6. In requests, use temperature 0.6, top_p 0.95 and top_k 20 (passed in extra_body with the OpenAI client), as in JetBrains’ quickstart (model card).

If you already run local models, our llama.cpp 1.1 guide to Llama Chat and auto-quantization, Ollama 0.40.17 guide to parallel requests and vLLM 0.34 guide to the extensible KV cache cover the runtimes used above.

Speeding up generation with the MTP head

The multi-token prediction (MTP) head is one extra transformer block that drafts the next token; the full model verifies every draft, so output does not change. JetBrains says decoding runs 1.4 to 1.8x faster with about 90% of drafts accepted (MTP model card).

  • vLLM 0.33 or newer (with transformers 5.20 or newer): serve JetBrains/Mellum2.1-12B-A2.5B-Instruct-MTP with --speculative-config '{"method": "mtp", "num_speculative_tokens": 1}'. vLLM 0.32 and earlier refuse the checkpoint (MTP card).
  • transformers 5.20 or newer: pass use_mtp=True to generate (MTP card).
  • llama.cpp: add --spec-type draft-mtp --spec-draft-n-max 1. Combined model-plus-head files need build b11747 or newer (GGUF card).

Measure before you rely on it. In llama.cpp benchmarks of the same-shaped Thinking head on an Apple M2 Max, one drafted token gave only 1.05x speed (1.04 to 1.10x on code), and two or more drafted tokens were slower than plain decoding. Check draft_n_accepted in the server’s timings (GGUF card).

Workflows and prompt patterns

  • Fast worker next to a stronger model. JetBrains positions Instruct as a sub-agent that handles delegated tasks for a larger model (JetBrains blog). Route small edits, file lookups and command generation to it, and escalate root-cause debugging to Thinking or a frontier model.
  • Tool loops. Turn on the hermes tool parser in vLLM and keep tool descriptions short, since the model does not reason before calling tools (model card).
  • Prompt pattern. State the file, the expected change and the test to run in one message, for example: “In utils/date.py, make parse_date accept ISO week dates. Return only the diff, then the pytest command to verify it.”
  • IDE agents. JetBrains’ own agent tooling is covered in our JetBrains Air in IDEs guide and Junie CLI 26.11.1 guide; the Mellum announcement itself only describes downloads from Hugging Face (JetBrains blog).

Limitations

  • Hard algorithmic and math tasks favor Mellum 2.1 Thinking, which scores 82.0 versus 53.7 on LiveCodeBench v6 (model card).
  • Knowledge benchmarks are modest: 48.6 on GPQA Diamond against 81.3 for Qwen3.5 9B (model card).
  • All published benchmark figures are self-reported, and JetBrains’ announcement lists no hosted API or per-token price.

Frequently asked questions

What is Mellum 2.1 Instruct?

It is an open coding model from JetBrains, released November 25, 2026. It is a 12B mixture-of-experts model with 2.5B active parameters and a 131,072-token context, and it answers directly without a chain of thought. It is the non-reasoning sibling of Mellum 2.1 Thinking.

Is Mellum 2.1 Instruct free to use?

Yes. JetBrains publishes the weights on Hugging Face under the Apache 2.0 license, including GGUF builds for local use and a version with a multi-token prediction head. You pay only for the hardware you run it on.

Should I use Mellum 2.1 Instruct or Thinking?

Use Instruct for small fixes, commands, questions about code, sub-agents and tool loops, where it uses about half as many tokens. Use Thinking for hard algorithmic, math and debugging tasks, where it scores clearly higher on LiveCodeBench and AIME.

Can I run Mellum 2.1 Instruct in Ollama or LM Studio?

Yes. The GGUF repository lists llama.cpp, Ollama and LM Studio. In Ollama, run ollama run hf.co/JetBrains/Mellum2.1-12B-A2.5B-Instruct-GGUF:Q6_K. The combined model-plus-MTP files need llama.cpp build b11747 or newer.

How does Mellum 2.1 Instruct compare with Qwen3.5 9B?

In JetBrains’ self-reported tests, Qwen3.5 9B scores higher on SWE-bench Verified (49.8% versus 40.4%), while Mellum 2.1 Instruct leads on HumanEval+, MBPP+ and MultiPL-E. JetBrains says Mellum generates tokens about 1.4x faster for a single request.

Sources

Featured image: JetBrains company logo, public domain, via Wikimedia Commons. JetBrains and Mellum are trademarks of JetBrains s.r.o. FreeAnswers is not affiliated with JetBrains.

Related answers

Leave a Comment