IntermediateAI

JetBrains Ships Mellum2.1, a 12B Open Model for Coding Agents

JetBrains released Mellum2.1 on October 8, 2026 — the next version of the 12-billion-parameter mixture-of-experts model it open-sourced in June. The architecture is unchanged, the license is still Apache 2.0, and the weights are on Hugging Face. What changed is everything after pre-training: JetBrains says the update was driven by scaling up reinforcement learning in real repository environments, and the largest gains landed in agentic coding.

Bar chart comparing Mellum2.1 Thinking with Mellum2 Thinking, Gemma 4 E4B and Qwen3.5 9B across coding, math, agentic, tool use, conversational and knowledge benchmarks
Image credit: JetBrains

What Changed

Mellum began as a 4B dense model for in-IDE code completion. Version 2 moved it to a 12B mixture-of-experts design that activates only 2.5B parameters per token; version 2.1 keeps that skeleton — 28 layers, 64 experts with 8 activated per token, grouped-query attention (32 query heads, 4 key/value heads), a 131,072-token context window and a 1,024-token sliding window on three of every four layers. As Bulat Salimzianov writes on the JetBrains blog, “The architecture hasn’t changed since version 2.”

Instead, the release is a post-training story. In a post summarizing the launch, JetBrains researcher Nikita Pavlichenko described it as “a significant scaling of our RL post-training to enable agentic coding workflows.” The company says RL went from a short final stage to the main part of training, with new tasks in math, competitive programming, science, tool use and software engineering — combining open RL datasets with tasks built in-house, each source filtered before training because public data often ships with broken tests or unverifiable answers.

The agentic work runs in real environments rather than static prompts: the model trains inside actual repositories with a shell and file-editing tools, and is rewarded when tests pass. JetBrains says it ran “millions of sandboxed runs across thousands of environments” over the course of training. The stated result is a model that can “explore a codebase, edit files, and check its own changes” — capabilities its predecessor lacked.

Benchmark Results

The headline movement is on software-engineering tasks. On SWE-bench Verified, which pairs a model with a repository and a real issue to fix, Mellum2.1 scores 47.0% against 2.0% for Mellum2 — a jump the company attributes almost entirely to the new RL stage rather than to any change in size. On SWE-bench Pro it reports 28.0% (up from 0.0%), and on Terminal-Bench 2.1 it reports 17.4% (up from 0.6%).

Benchmark Mellum2.1 Mellum2 Gemma 4 (E4B) Qwen3.5 (9B)
LiveCodeBench v6 82.0 69.4 69.4 75.4
SWE-bench Verified 47.0 2.0 23.0 50.0
SWE-bench Pro 28.0 0.0 4.0 38.0
Terminal-Bench 2.1 17.4 0.6 3.4 21.7
AIME 25/26 83.3 60.1 45.0 86.7
GPQA Diamond 64.6 51.0 53.1 77.8
HarmBench (lower is better) 8.5 21.5 38.1 6.6

Two caveats apply to every number. They are self-reported by JetBrains, and the agentic scores depend on scaffolding: the company evaluated all four models through the same open-source harness (Pi v0.73.1, with shell and file tools), a 114K-token context and up to 16K tokens per turn. Read across the rows, Mellum2.1 leads the two similarly-sized comparison models on most coding and reasoning tasks, but Qwen3.5 9B still edges it on SWE-bench Verified, Terminal-Bench and general knowledge.

Scorecard graphic showing Mellum2.1 reaching 47 percent on SWE-bench Verified compared with lower scores for prior and competing models
Image credit: JetBrains

Speed and Deployment

Because post-training left the architecture alone, JetBrains says Mellum2.1 is as fast as Mellum2 — and multi-token prediction (MTP) makes it faster still. The company reports that under heavy load Mellum2.1 is “the fastest model in the group” and serves almost twice as many tokens per second as Qwen3.5 9B on a single H200, while MTP speeds up a single request by about 1.6x.

Bar chart of output tokens per second on a single H200 for Mellum2.1, Qwen3.5 9B and Gemma 4 E4B
Image credit: JetBrains

The intended roles are the ones a small, fast model fills well inside agentic systems: acting as a sub-agent that diagnoses a failing test or drafts and checks a fix, routing and orchestrating work between larger models, and running fully self-hosted so that proprietary code and internal data never leave a user’s infrastructure. The weights are already on Hugging Face in both full and GGUF formats; JetBrains says GGUF builds for llama.cpp, Ollama and LM Studio — plus the MTP head for speculative decoding in vLLM — are “coming soon.”

What This Means

The interesting signal here is not the absolute scores but where the improvement came from. Mellum2.1 is the same size, on the same hardware, as the model it replaces — and it went from near-zero to mid-40s on SWE-bench Verified purely through reinforcement learning in sandboxed environments. That is a concrete demonstration that agentic coding ability is increasingly a post-training property rather than something that requires a bigger base model. For teams weighing self-hosted coding agents, it also reframes the trade-off: a 2.5B-active model that is fast and cheap to serve may be good enough for the sub-tasks that dominate an agent’s token budget, even when it trails the best small models on raw benchmarks.

The limits are worth stating as plainly as the gains. Every benchmark figure is self-reported with no third-party replication, and agentic evaluations are unusually sensitive to the harness, tool definitions and turn budget — the same model can move several points under a different scaffold. Two of the four models compared are older than Mellum2.1, and the strongest comparable open model, Qwen3.5 9B, still leads on several agentic and knowledge tasks. Mellum2.1’s case rests less on being the best small model than on being a fast, openly licensed one that a team can run on its own machines.

This post was drafted with AI assistance and reviewed by RITS staff.

Sources

Related stories

agentic ai

JetBrains Ships Junie Local: A 27B Coding Agent That Runs Offline

JetBrains has released Junie Local, a version of its agentic coding assistant that runs entirely on the developer’s own machine — no cloud endpoint, no token quota, and no source code leaving the laptop. Announced in August 2026, it ships a pre-tuned Qwen3.6-27B at 4-bit quantization, installs with a single /local command inside Junie, and […]

alibaba

Qwen3.8-27B: Frontier Agentic Scores on a Single Consumer GPU

Alibaba released Qwen3.8-27B on August 14, 2026 — a 27-billion-parameter dense vision-language model under Apache 2.0, published on Hugging Face and ModelScope. It is the small sibling of the 2.4-trillion-parameter Qwen3.8-Max whose weights went up the day before, and on several agentic benchmarks it does not behave like a small model at all: 61.7 on […]

benchmark

IFM Releases K2 Horizon: Six Open Models With Data, Code, and Logs

The Institute of Foundation Models (IFM), launched by Mohamed bin Zayed University of Artificial Intelligence, released K2 Horizon on September 3, 2026 — six Apache 2.0 models spanning 0.9B to 375B parameters, published alongside the training data, code, configurations, intermediate checkpoints, and training logs that produced them. The flagship 375B-A23B scores 47 on the Artificial […]

Never miss a RITS update

Subscribe to the RSS feed for AI, emerging technology, and digital scholarship news curated for the NYU Shanghai community, or get in touch to suggest a story.