The Research Report
JetBrains Open-Sources Mellum2: A Fast, Focused MoE Model Built for Production AI
JetBrains has released Mellum2, a 12B parameter mixture-of-experts model with only 2.5B active parameters per token. Built from scratch and licensed under Apache 2.0, Mellum2 is designed for routing, Q&A, sub-agents, and private AI deployment in software engineering workflows. It is not multimodal. It handles natural language and code only.
The technical report is on arxiv (2605.31268). The model is available on Hugging Face.
For End Users: What This Means in Practice
If you use JetBrains tools like IntelliJ or DataGrip, Mellum2 is the engine under the hood. It started as a code completion model and has expanded into a general-purpose reasoning component for AI-assisted workflows.
The key practical benefit is speed. Because only 2.5B parameters activate per token, inference runs at roughly half the latency of dense models in the same size class. That matters for:
- Routing decisions — classifying what a user is asking and picking the right tool or model
- RAG pipelines — summarizing retrieved context and generating responses fast enough to feel real-time
- Sub-agent tasks — context gathering, planning, and validation steps inside agentic systems
If you are building private AI systems for a team or yourself, Mellum2 can run locally on decent hardware. You keep code and data under your control. No API calls, no data leaving your infrastructure.
The Apache 2.0 license means you can embed this in commercial products without paying JetBrains or disclosing your own code.
For Engineers and Researchers: MoE Architecture and Production Tradeoffs
Mellum2 uses a standard MoE architecture: 12B total parameters across expert layers, with a gating mechanism that activates roughly 2.5B parameters per token. This is similar in spirit to Mixtral and the Grok series, but in a smaller size class.
The design choices are deliberate:
Active parameter count — 2.5B active is small enough to run on a single GPU in many configurations, which cuts deployment cost significantly compared to a 70B dense model.
Specialization — no vision, no audio, no multimodal capabilities. The training data is natural language and code. This is not a limitation; it is a focused bet on the software engineering use case.
Benchmark results — JetBrains shows competitive numbers on LiveCodeBench, BFCL V4, AIME 2026, GSMPlus, GPQA Diamond, MMLU-Redux, MixEval-1, and IFEval. The claim is sub-50% inference time reduction compared to similar-sized dense models. Independent replication is not yet available.
Apache 2.0 — this is the important part for researchers and companies. It is a permissive license with no field-of-use restrictions. You can fine-tune it, quantize it, serve it behind an API, embed it in a product, or use it as a teacher model for distillation. No royalties, no attribution requirements beyond the license text.
For production deployment, the focal model philosophy JetBrains describes is worth considering: not every step in an AI pipeline needs the largest, most expensive model. Fast, reliable, specialized models for high-frequency tasks reduce cost at scale while freeing frontier models for genuinely hard problems.
The Skeptical Take: Small Model, Quiet Company
A few things worth scrutinizing:
12B is modest by 2026 standards. Front Porch AI, Qwen3, and Llama 4 are all in the 30B+ range for their instruction-tuned variants. JetBrains is not claiming Mellum2 beats those on raw capability. The claim is efficiency and specialization, not supremacy. That is a fair position but it limits the comparison baseline.
JetBrains is not a mainstream AI provider. They make IDEs. They have a loyal developer following but no established track record in model development at scale. The benchmarks are self-reported. Independent eval sets and community feedback do not exist yet. Treat the numbers as directional, not confirmed.
Apache 2.0 is good, but what about support? With Meta (Llama), Mistral, or>Qwen, you get a rapidly evolving ecosystem, fine-tuning guides, and active community support. JetBrains is a tools company that happens to have released a model. The update cadence, fine-tuning documentation, and community tooling are unknown. If the model stagnates or falls behind, you are on your own.
MoE expert collapse — not unique to Mellum2, but MoE models are prone to load imbalance where only a subset of experts get used. This can degrade performance on edge cases. JetBrains does not disclose routing details or whether they addressed this in training.
The bottom line: Mellum2 is a credible, well-licensed model for specific use cases. It is not a general-purpose replacement for frontier models. Evaluate it on your workload, not on JetBrains benchmarks.
Model: JetBrains Mellum2
Parameters: 12B total / 2.5B active (MoE)
License: Apache 2.0
Training: Natural language + code, no multimodal
Availability: Hugging Face (collections/JetBrains/mellum-2)
Paper: arxiv.org/abs/2605.31268