JetBrains just released Mellum2, a 12B-parameter Mixture-of-Experts model that activates only 2.5B parameters per token. It is trained on natural language and code, ships under Apache 2.0, and is designed for a specific job: powering the middleware layer of AI systems rather than competing at the frontier.

This is not a GPT-5 killer. It is not trying to be.

What Mellum2 Actually Is

Mellum2 is a focal model, in JetBrains' terminology. That means it is built for the high-frequency, latency-sensitive operations that happen inside larger AI systems: routing, retrieval, summarization, tool selection, and intermediate reasoning steps.

The numbers tell the story:

  • 12B total parameters
  • 2.5B active per token (64 experts, 8 active)
  • 128K context window
  • Apache 2.0 license
  • Three variants: Base, Instruct, Thinking

The model was trained on approximately 10.6 trillion tokens through a three-phase curriculum that progressively shifts from web data to curated code and math. Code ratio moves from 23% to 42% to 59% across phases. The base is extended to 128K context via layer-selective YaRN scaling.

Architecture decisions include Grouped-Query Attention with 4 KV heads, Sliding Window Attention on three of every four layers, and a single Multi-Token Prediction head that doubles as an auxiliary pre-training objective and a built-in draft model for speculative decoding.

Why This Matters for AI Infrastructure

Modern AI systems are not monolithic. They route, retrieve, summarize, validate, plan, and call tools. Many of these operations happen dozens or hundreds of times per task. They do not require a frontier model. They require something fast, reliable, and cheap to serve at scale.

Mellum2 is JetBrains' answer to that problem. The claim is that it delivers competitive benchmark performance against other 4B-14B open models while running at the per-token compute of a 2.5B dense model. That is the MoE value proposition in concrete terms.

On LiveCodeBench v6, the Thinking variant scores 69.9%. On BFCL-V4 (tool use), AIME 2026 (math), GSMPlus, GPQA Diamond, MMLU-Redux, and MixEval-1, JetBrains shows competitive results against similar-sized open models. The inference speed claim is more than 2x faster than comparable dense models.

The Focal Model Argument

JetBrains makes a clear case for why focal models matter. As AI systems scale, bottlenecks shift from raw capability to latency and throughput cost. Not every step in an AI pipeline needs the largest available model. Many steps are repetitive, high-frequency, and latency-sensitive.

The focal model philosophy is straightforward: let frontier models handle complex reasoning, and use specialized fast models for everything else. This is not a new idea. It is how most production AI systems already work. Mellum2 is a purpose-built option for that layer.

Use cases JetBrains identifies:

  • Routing and orchestration in multi-model systems
  • Latency-sensitive RAG pipelines
  • Sub-agent tasks like planning, validation, and context preparation
  • Private, self-hosted deployment for proprietary code environments

The Contrarian View

The focal model framing is compelling, but it is worth asking what problems Mellum2 actually solves that do not already have solutions.

The 12B MoE space is crowded. Qwen3-Coder-30B-A3B and Ling-Coder-Lite occupy a similar position. The benchmark claims are self-reported, and competitive performance against other 4B-14B models is a low bar. Frontier capability is not the goal, but it raises a question: if you are building a fast routing layer, why not use an even smaller dense model at lower cost?

The MoE advantage depends heavily on serving infrastructure. Experts that are not active still consume memory. The 12B total parameter count means significant VRAM requirements even though only 2.5B activate per token. For teams without GPU infrastructure, this is not obviously better than a smaller dense model that fits in a single consumer GPU.

There is also a question of whether the focal model category needs another entrant. JetBrains has a clear IDE integration story, and that is probably the more interesting angle than general infrastructure.

The Developer Ecosystem Play

Mellum2 ships with six open-weight variants covering Base, Instruct, and Thinking models in different contexts. The Apache 2.0 license removes the friction that has held back adoption of other models in enterprise and research settings.

For JetBrains, the model serves a dual purpose: it can run in their own IDEs as a fast local option, and it can be deployed in external AI systems that need a reliable middle-layer model. The company that built your IDE is now also offering your infrastructure layer.

That is a coherent strategy. Whether the model stands on its own outside the JetBrains ecosystem is the more interesting question.

Getting Started

Models are available on Hugging Face at the JetBrains collection. Technical report is on arxiv (2605.31268). The Base, Instruct, and Thinking checkpoints all ship under Apache 2.0.

If you are building AI systems for software engineering, this is worth evaluating against your current middle-layer choice. The benchmark claims are directionally plausible, the license is clean, and JetBrains has a real incentive to make this work in IDE contexts.

The focal model bet is reasonable. Whether Mellum2 wins that bet depends on whether the serving economics actually work out in practice.