AI agents

JetBrains releases token-efficient Mellum2.1 Instruct for faster agentic coding

JetBrains launched Mellum2.1 Instruct, an open-source coding model that reduces token usage by 45% compared to its reasoning counterpart by skipping explicit chain-of-thought steps.

A metallic gear with fewer teeth meshing with a glowing circuit board
Illustration generated for this article

JetBrains has released Mellum2.1 Instruct, a new variant of its open-source coding model designed to accelerate routine agent tasks by eliminating explicit reasoning steps. Launched in late November 2026, this 12-billion-parameter mixture-of-experts model targets sub-agents and tool loops, offering significant reductions in latency and token consumption for standard code edits.

What happened

The new model extends the repository-level training introduced in last month’s Mellum2.1 Thinking release but applies it to a non-reasoning architecture. While the Thinking variant uses reinforcement learning to navigate codebases and pass hidden tests through explicit chain-of-thought processes, the Instruct variant generates answers directly. This approach addresses developer feedback requesting a less verbose alternative for moderately hard tasks that do not require deep investigative reasoning.

JetBrains trained the model using Nvidia’s NeMo RL and NeMo Megatron-Bridge libraries, leveraging infrastructure capable of running 10,000 concurrent sandboxes. The resulting model is optimized for speed and efficiency, specifically targeting the repetitive operations that constitute much of an AI coding agent’s workload, such as modifying small code sections or retrieving information from a codebase.

In benchmark testing, Mellum2.1 Instruct demonstrated substantial improvements over its predecessor. It doubled its score on SWE-bench Verified, rising from 20.2% to 40.4%, and outperformed competitors like Alibaba’s Qwen3.5 9B and Google’s Gemma 4 E4B on the MultiPL-E code generation benchmark. However, it still trails Qwen3.5 9B on SWE-bench Verified, which scored 49.8%, indicating that while efficient, it may not match the raw problem-solving power of larger or reasoning-enabled models on complex issues.

How it works

Mellum2.1 Instruct relies on a mixture-of-experts (MoE) architecture that activates only 2.5 billion of its 12 billion parameters for each token generated. This selective activation allows the model to generate tokens approximately 1.4 times faster than Qwen3.5 9B for individual requests and 1.8 times faster under load. By avoiding the computational overhead of generating intermediate reasoning steps, the model significantly reduces the time developers wait for responses, particularly when running locally.

To further enhance performance, JetBrains is releasing a multi-token prediction (MTP) head alongside the model. This component predicts multiple tokens ahead, accelerating generation speeds by up to 1.8 times according to company data. The combination of MoE efficiency and MTP acceleration makes the model particularly suitable for local execution on hardware with limited memory, supported by the availability of a GGUF version.

Key details

  • Mellum2.1 Instruct uses 45% fewer tokens per task than its Thinking sibling, dropping from an average of 10,100 to 5,600 tokens.
  • When excluding tokens associated with tool calls, the reduction in token usage rises to 73%.
  • The model is released under an Apache 2.0 license and is available on Hugging Face, including a GGUF version for local use.
  • It achieved a 40.4% score on SWE-bench Verified, doubling the performance of the previous Mellum2 Instruct model.
  • The architecture activates only 2.5 billion parameters per token, enabling faster generation speeds compared to dense models of similar size.
  • Performance gaps remain on hard algorithmic and math problems, where the Thinking variant remains the superior choice.

Why it matters

For software engineers building AI-driven development tools, the trade-off between reasoning depth and latency is becoming a critical design constraint. As agents delegate more tasks to sub-agents, the cumulative cost of verbose reasoning can slow down entire workflows. Mellum2.1 Instruct provides a practical solution for these lower-complexity interactions, allowing systems to maintain responsiveness without sacrificing too much accuracy on routine tasks.

This release highlights a growing trend toward specialized model selection within multi-agent systems. Rather than relying on a single large language model for all tasks, developers can now route simple code edits and tool calls to efficient, non-reasoning models while reserving heavier reasoning capabilities for complex debugging or algorithmic challenges. This stratification helps manage inference costs and improves the overall user experience by reducing wait times for immediate feedback.

What you can do

  • Download Mellum2.1 Instruct from Hugging Face to test its performance on your local hardware using the provided GGUF version.
  • Evaluate the model on your specific agentic workflows to determine if the 45% token reduction translates to meaningful latency improvements for your use case.
  • Compare its performance against your current baseline models on routine tasks like code refactoring or simple bug fixes to assess accuracy trade-offs.
  • Implement routing logic in your agent orchestration framework to direct simple tasks to Mellum2.1 Instruct and complex problems to reasoning-enabled models.
  • Experiment with the multi-token prediction head to see if the additional acceleration benefits your specific deployment environment.
  • Monitor token usage metrics in your production agents to identify opportunities where switching to a non-reasoning model could reduce costs.
  • #jetbrains
  • #llm
  • #coding agents
  • #open source
  • #model optimization

Tools from the Bytechap store

Keep reading

All stories