The Research Report
JetBrains Mellum2 Goes Open Source
Source: https://blog.jetbrains.com/ai/2026/06/mellum2-goes-open-source-a-fast-model-for-ai-workflows/
For End Users
JetBrains open-sourced Mellum2, a 12B-parameter AI model built for software engineering. It runs under the Apache 2.0 license, meaning you can use it commercially, modify it, and deploy it on your own hardware with no strings attached.
Mellum2 is not another general-purpose chatbot. It is a "focal model" designed for specific, high-frequency tasks in AI workflows. Think routing prompts to the right tool, summarizing retrieved context, or powering fast sub-agents that handle quick steps in a larger pipeline. These are tasks where sending every request to GPT-5.5 or Claude Opus is overkill.
The model uses a Mixture-of-Experts architecture. It has 12 billion total parameters but only activates 2.5 billion per token. That means it runs fast and cheap while keeping a larger knowledge base to draw from. JetBrains claims inference time is less than half of comparable models at the same size.
If you use JetBrains IDEs, Mellum2 already powers code completion inside them. Now you can also run it locally for private AI features, embed it in your own RAG pipelines, or use it as a fast router in agent systems.
You can find the model on Hugging Face under the JetBrains collection.
For Engineers and Researchers
Mellum2 is a 12B MoE model with 2.5B active parameters per token, released under Apache 2.0. Key technical details:
- Architecture: Mixture-of-Experts, 12B total / 2.5B active
- Training: Trained from scratch on natural language and code data, not multimodal
- License: Apache 2.0 (commercial use, modification, redistribution all permitted)
- Technical report: arxiv.org/abs/2605.31268
JetBrains benchmarks Mellum2 against similar-sized models across code generation, science, math, and reasoning. The blog shows competitive results on LiveCodeBench v6, BFCL V4, AIME 25/26, GSMPlus, GPQA Diamond, MMLU-Redux, and JetBrains' internal pairwise evaluations. The key advantage is inference speed, claimed at less than half the latency of comparable models.
The "focal model" philosophy is the framing to notice. JetBrains argues that modern AI systems need coordinated models, not single monoliths. Frontier models handle hard reasoning. Focal models handle the high-frequency, latency-sensitive steps. Mellum2 targets the latter.
Use cases JetBrains highlights:
- Route and orchestrate AI workloads (prompt classification and tool selection)
- Low-latency RAG pipelines (retrieve and summarize)
- Fast sub-agents in complex workflows (context gathering, planning, validation)
- Private local deployment (self-hosted, data stays on your hardware)
The model is text-and-code only. No vision, no audio. That specialization is intentional. By skipping multimodal training, Mellum2 stays lean and fast for its target domain.
On Hugging Face: JetBrains/Mellum2-12B-A2.5B-Base and JetBrains/mellum-2 collection.
The Skeptical Take
Mellum2 competes in a crowded field of small open models. Qwen, DeepSeek, and Microsoft all offer models in this parameter range with broader capabilities. Mellum2's specialization in text and code is a strength, but it also means no multimodal understanding. The "less than half inference time" claim needs independent verification, and the benchmarks shown are JetBrains-curated. The real test is whether developers adopt it outside the JetBrains ecosystem or stick with more general-purpose alternatives.
Word count: 478
Written at: 2026-06-07T01:27:00Z