Mindket

Mellum2.1-12B-A2.5B-Thinking

Newversion 1 · updated

Overview

A 12B mixture-of-experts thinking model with 2.5B active parameters, trained with reinforcement learning on real repositories for coding agents, math and hard reasoning. Built by JetBrains, with a 131,072-token context.

Mellum2.1-12B-A2.5B-Thinking is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python and the Hugging Face command line
  • A GPU with room for about 24.3 GB of BF16 weights, or about 6.1 GB at 4-bit, which is an estimate
  • vLLM for the serving examples
Runs in
  • A vLLM server, with or without tool calling
  • Python code that talks to an OpenAI-compatible endpoint
  • Agents that explore code, run shell commands and call tools
  • Windows, macOS or Linux with Python, to download the files
Start with
pip install -U huggingface_hub
hf download JetBrains/Mellum2.1-12B-A2.5B-Thinking

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

Mellum2.1 Thinking is a reasoning model from JetBrains with 12B parameters in total and 2.5B active per token. It is the next version of Mellum2 Thinking with the same architecture, and nearly all the changes came from post-training. Reinforcement learning became the main training stage, including runs inside real repositories where it earns a reward when tests pass.

Who it suits

It suits developers who build coding agents or want a compact thinking model for hard coding, math and reasoning problems.

IndustryWho uses itHow they use itExample
Software developmentTeams that build coding agentsServe it with vLLM and turn on tool callingLet it explore a repository, edit files and check its changes
Developer toolsMakers of coding assistantsUse thinking mode for hard coding questionsAsk it to find a bug in a short function and explain the fix
AI researchResearchers who study reinforcement learningRead how RL became the main training stageCompare its scores with those of Mellum2

If you want short replies without a thinking phase, you can skip it.

Where to use it

  • A vLLM server, with or without tool calling
  • Python code that talks to an OpenAI-compatible endpoint
  • Agents that explore code, run shell commands and call tools
  • Windows, macOS or Linux with Python, to download the files
Use caseWhoWhat they get back
Repository workAgent buildersSteps that explore code, edit files and check results
Hard coding and mathDevelopersReasoning first, then an answer
Tool useAutomation teamsTool calls from a server with a tool parser enabled

How to set it up

What you need first:

  • Python and the Hugging Face command line
  • A GPU with room for about 24.3 GB of BF16 weights, or about 6.1 GB at 4-bit, which is an estimate
  • vLLM for the serving examples
  1. Install the Hugging Face tools with pip.
  2. Download the model files to your computer.
  3. Start a vLLM server with the model name.
pip install -U huggingface_hub
hf download JetBrains/Mellum2.1-12B-A2.5B-Thinking

How to use it

Start a vLLM server with a context of 131,072 tokens and the qwen3 reasoning parser. Add the tool choice flags if the model should call tools. Then talk to the server from Python with an OpenAI-style client.

# Without tool calling
vllm serve JetBrains/Mellum2.1-12B-A2.5B-Thinking \
  --max-model-len 131072 \
  --reasoning-parser qwen3

# With tool calling
vllm serve JetBrains/Mellum2.1-12B-A2.5B-Thinking \
  --max-model-len 131072 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser hermes
from openai import OpenAI
# Configured by environment variables
client = OpenAI()

messages = [
    {"role": "user", "content": "Find the bug in this function and explain the fix: def mean(xs): return sum(xs) / len(xs) - 1"},
]

chat_response = client.chat.completions.create(
    model="JetBrains/Mellum2.1-12B-A2.5B-Thinking",
    messages=messages,
    max_tokens=81920,
    temperature=0.6,
    top_p=0.95,
    extra_body={"top_k": 20},
)
print("Chat response:", chat_response)
ToolWhat it does
vllm serveStarts the model server with the reasoning parser, and optionally tool calling
OpenAI clientSends chat requests to that server and prints the response

Example

You send a short function that computes a mean but subtracts one at the end, and ask for the bug and the fix. The model reasons first, then points to the stray subtraction and explains how to correct it.

For newcomers and experts

A good first try is the short bug-finding request above against a local server. It shows you the thinking step before the answer.

For experts, the model has 28 layers, a hidden size of 2304, 64 experts with 8 active, and grouped query attention with 32 query heads and 4 key-value heads. Three of every four layers use a sliding window of 1,024 tokens. Training included millions of sandboxed attempts inside actual code repositories, where the model had a shell and editing tools. The card says agentic results rose sharply over Mellum2.

  1. Start from the Mellum2 architecture
  2. Train with RL on math, code, science and tool tasks
  3. Run sandboxed attempts in real repositories
  4. Reward the model when the tests pass

Good to know

SWE-bench Verified score
Mellum2.1 Thinking47.0%
Mellum2 Thinking2.0%
Gemma 4 (E4B)23.0%
Qwen3.5 (9B)50.0%
Selected scores, higher is better
BenchmarkMellum2.1 ThinkingMellum2 ThinkingQwen3.5 (9B)
LiveCodeBench v682.069.475.4
AIME 25/2683.360.186.7
Terminal-Bench 2.117.40.621.7
BFCL v462.349.658.5
  • Scores: JetBrains reports every value itself, using one pipeline in thinking mode.
  • Context: 131,072 tokens.
  • Coming soon: the card promises GGUF files for use in llama.cpp, Ollama and LM Studio, plus a vLLM speculative decoding head.
  • Language: English.
  • License: Apache 2.0
  • Cost to run: no API key or paid service named. You need a GPU.
  • Data it reaches: it downloads files from Hugging Face, and the example client sends requests to a server you run, with settings from environment variables.
  • Not for: none named.

README and files

README

Mellum2.1-12B-A2.5B-Thinking

A 12B mixture-of-experts thinking model with 2.5B active parameters, trained with reinforcement learning on real repositories for coding agents, math and hard reasoning. Built by JetBrains, with a 131,072-token context.

Made by JetBrains on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: Mellum2.1 Thinking is a reasoning model from JetBrains with 12B parameters in total and 2.5B active per token. It is the next version of Mellum2 Thinking with the same architecture, and nearly all the changes came from post-training. Reinforcement learning became the main training stage, including runs inside real repositories where it earns a reward when tests pass.

Who it suits: It suits developers who build coding agents or want a compact thinking model for hard coding, math and reasoning problems.

Industry | Who uses it | How they use it | Example
Software development | Teams that build coding agents | Serve it with vLLM and turn on tool calling | Let it explore a repository, edit files and check its changes
Developer tools | Makers of coding assistants | Use thinking mode for hard coding questions | Ask it to find a bug in a short function and explain the fix
AI research | Researchers who study reinforcement learning | Read how RL became the main training stage | Compare its scores with those of Mellum2

If you want short replies without a thinking phase, you can skip it.

Where to use it:

  • A vLLM server, with or without tool calling
  • Python code that talks to an OpenAI-compatible endpoint
  • Agents that explore code, run shell commands and call tools
  • Windows, macOS or Linux with Python, to download the files
Use case | Who | What they get back
Repository work | Agent builders | Steps that explore code, edit files and check results
Hard coding and math | Developers | Reasoning first, then an answer
Tool use | Automation teams | Tool calls from a server with a tool parser enabled

How to set it up: What you need first:

  • Python and the Hugging Face command line
  • A GPU with room for about 24.3 GB of BF16 weights, or about 6.1 GB at 4-bit, which is an estimate
  • vLLM for the serving examples
  1. Install the Hugging Face tools with pip.
  2. Download the model files to your computer.
  3. Start a vLLM server with the model name.
pip install -U huggingface_hub
hf download JetBrains/Mellum2.1-12B-A2.5B-Thinking

How to use it: Start a vLLM server with a context of 131,072 tokens and the qwen3 reasoning parser. Add the tool choice flags if the model should call tools. Then talk to the server from Python with an OpenAI-style client.

# Without tool calling
vllm serve JetBrains/Mellum2.1-12B-A2.5B-Thinking \
  --max-model-len 131072 \
  --reasoning-parser qwen3

# With tool calling
vllm serve JetBrains/Mellum2.1-12B-A2.5B-Thinking \
  --max-model-len 131072 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser hermes
from openai import OpenAI
# Configured by environment variables
client = OpenAI()

messages = [
    {"role": "user", "content": "Find the bug in this function and explain the fix: def mean(xs): return sum(xs) / len(xs) - 1"},
]

chat_response = client.chat.completions.create(
    model="JetBrains/Mellum2.1-12B-A2.5B-Thinking",
    messages=messages,
    max_tokens=81920,
    temperature=0.6,
    top_p=0.95,
    extra_body={"top_k": 20},
)
print("Chat response:", chat_response)
Tool | What it does
vllm serve | Starts the model server with the reasoning parser, and optionally tool calling
OpenAI client | Sends chat requests to that server and prints the response

Example: You send a short function that computes a mean but subtracts one at the end, and ask for the bug and the fix. The model reasons first, then points to the stray subtraction and explains how to correct it.

For newcomers and experts: A good first try is the short bug-finding request above against a local server. It shows you the thinking step before the answer.

For experts, the model has 28 layers, a hidden size of 2304, 64 experts with 8 active, and grouped query attention with 32 query heads and 4 key-value heads. Three of every four layers use a sliding window of 1,024 tokens. Training included millions of sandboxed attempts inside actual code repositories, where the model had a shell and editing tools. The card says agentic results rose sharply over Mellum2.

Start from the Mellum2 architecture
Train with RL on math, code, science and tool tasks
Run sandboxed attempts in real repositories
Reward the model when the tests pass

Good to know:

Title: SWE-bench Verified score
Mellum2.1 Thinking: 47.0%
Mellum2 Thinking: 2.0%
Gemma 4 (E4B): 23.0%
Qwen3.5 (9B): 50.0%
Title: Selected scores, higher is better
Benchmark | Mellum2.1 Thinking | Mellum2 Thinking | Qwen3.5 (9B)
LiveCodeBench v6 | 82.0 | 69.4 | 75.4
AIME 25/26 | 83.3 | 60.1 | 86.7
Terminal-Bench 2.1 | 17.4 | 0.6 | 21.7
BFCL v4 | 62.3 | 49.6 | 58.5
  • Scores: JetBrains reports every value itself, using one pipeline in thinking mode.
  • Context: 131,072 tokens.
  • Coming soon: the card promises GGUF files for use in llama.cpp, Ollama and LM Studio, plus a vLLM speculative decoding head.
  • Language: English.
  • License: Apache 2.0
  • Cost to run: no API key or paid service named. You need a GPU.
  • Data it reaches: it downloads files from Hugging Face, and the example client sends requests to a server you run, with settings from environment variables.
  • Not for: none named.

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 12.1B
  • Weights: about 24.3 GB in BF16; about 6.1 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 14,512
  • Likes: 197
  • License: apache-2.0
  • Languages: en
  • Based on: JetBrains/Mellum2-12B-A2.5B-Base
  • Quantized versions: 26
  • Fine-tunes: 2
  • Tags: transformers, safetensors, mellum, text-generation, conversational, model-index

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download JetBrains/Mellum2.1-12B-A2.5B-Thinking

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
Mellum2.1-12B-A2.5B-Thinking This page14,51219712.1Bapache-2.0
Mellum2.1-12B-A2.5B-Thinking-GGUFShares mellum · text-generation · conversational422,63517212.1Bapache-2.0
Kvark-Sparkle-1.0-27BShares model-index · conversational · transformers3151527.4Bapache-2.0
KVARK Sparkle 1.1 (27B)Shares model-index · conversational · transformers59327.4Bapache-2.0
Qwen3.6-35B-A3B-Claude-4.6-Opus-Reasoning-Distilled-GGUFShares model-index · text-generation · conversational17,17929634.7Bapache-2.0
Qwen 3.6 35B-A3B REAP-48 v2 GGUFShares model-index · text-generation · conversational2,4273419.2Bapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New

Pixel Art XL

nerijs · Kit

A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…

New

VibeVoice-1.5B

microsoft · Kit

Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…

New

Similar in Developer

See all in Developer

voicetut-egyptian-tashkeel

masterofaudio2077 · Kit

Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…

New

Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…

New

Ru-Jev

besktech · Kit

Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…

New