Model reference · open weights
Mellum2.1-12B-A2.5B-Instruct is an open-weight language model from JetBrains. Mellum2.1-12B-A2.5B-Instruct (BF16) weighs 24.3 GB; the smallest configuration that runs it is 2× RTX 4060 Ti 16 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the JetBrains/Mellum2.1-12B-A2.5B-Instruct model card, 2026-12-01
What it is
| Released by | JetBrains |
|---|---|
| Released | 2026-11-13 |
| Parameters | 12.1B |
| VRAM | 24.3 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB … RTX 4090 24 GB 4 smaller cards | ||||
| RTX 5090 32 GB | 16 | 8 | all 128K | 31.0 GB |
| L40S 48 GB | 54 | 26 | all 128K | 44.0 GB |
| A100 80 GB | 156 | 76 | all 128K | 78.2 GB |
| H100 80 GB | 101 | 39 | all 128K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 134 | 51 | all 128K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 163 | 63 | all 128K | 107 GB |
| H200 141 GB | 228 | 88 | all 128K | 138 GB |
| B200 180 GB | 304 | 76 | all 128K | 176 GB |
| 2× RTX 4060 Ti 16 GB tensor parallel | 12 | 6 | all 128K | 15.4 GB a card |
| 2× RTX 4090 24 GB tensor parallel | 59 | 29 | all 128K | 23.4 GB a card |
| 2× RTX 3090 24 GB tensor parallel | 59 | 29 | all 128K | 23.4 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 25.8 GB | 26.1 GB |
| 5 | 27.1 GB | 28.9 GB |
| 8 | 28.2 GB | 31.0 GB |
| 16 | 30.9 GB | 36.5 GB |
| 32 | 36.3 GB | 47.5 GB |
| 64 | 47.1 GB | 69.6 GB |
One card, with vLLM's small-card settings.
From the model card
[!Note] Mellum2.1 Instruct answers directly, without a chain of thought. Use it for fast agentic work, such as sub-agents, tool loops, small fixes, and questions about code. For long, difficult tasks that benefit from reasoning before acting, use Mellum2.1 Thinking.
Mellum2.1 Instruct is the next version of Mellum2 Instruct and the direct-answer sibling of Mellum2.1 Thinking. The architecture is unchanged (a 12B mixture-of-experts model with 2.5B active parameters). What changed is post-training:
Mellum2.1 Instruct has the following features:
The mellum architecture is supported in transformers 5.11.0 and later.
# Without tool calling
vllm serve JetBrains/Mellum2.1-12B-A2.5B-Instruct --max-model-len 131072
# With tool calling
vllm serve JetBrains/Mellum2.1-12B-A2.5B-Instruct \
--max-model-len 131072 \
--enable-auto-tool-choice \
--tool-call-parser hermes
from openai import OpenAI
# Configured by environment variables
client = OpenAI()
messages = [
{"role": "user", "content": "Write a Python function to reverse a string."},
]
chat_response = client.chat.completions.create(
model="JetBrains/Mellum2.1-12B-A2.5B-Instruct",
messages=messages,
max_tokens=81920,
temperature=0.6,
top_p=0.95,
extra_body={"top_k": 20},
)
print("Chat response:", chat_response)
All values are percentages; higher is better except HarmBench, where lower is better. All values are self-reported by JetBrains.
| Benchmark | Mellum2.1 (Instruct / Thinking) | Mellum2 (Instruct / Thinking) | Qwen3.5 9B (non-thinking / thinking) | Gemma 4 E4B (non-thinking / thinking) |
|---|---|---|---|---|
| Coding | ||||
| LiveCodeBench v6 | 53.7 / 82.0 | 40.4 / 70.5 | 65.2 / 74.8 | 64.8 / 69.7 |
| HumanEval+ | 89.1 / 91.5 | 84.8 / 89.1 | 84.8 / 89.0 | 85.4 / 89.6 |
| MBPP+ | 74.3 / 79.4 | 72.2 / 74.6 | 63.8 / 69.0 | 65.6 / 69.5 |
| MultiPL-E (7 languages, chat mode) | 73.7 / 81.5 | 68.7 / 75.1 | 66.4 / 75.9 | 67.7 / 79.6 |
| Math | ||||
| AIME 25/26 (avg@8) | 61.1 / 83.3 | 32.3 / 56.7 | 69.2 / 79.8 | 36.7 / 44.6 |
| GSM-Plus | 86.7 / 88.3 | 80.4 / 86.8 | 89.4 / 90.8 | 85.3 / 87.4 |
| Agentic | ||||
| SWE-bench Verified | 40.4 / 47.0 | 20.2 / 3.8 | 49.8 / 55.6 | 6.4 / 16.8 |
| Terminal-Bench 2.1 | 8.2 / 17.4 | 6.7 / 1.9 | 17.6 / 18.5 | 1.9 / 3.7 |
| SWE-bench Pro | 20.0 / 28.0 | 12.0 / 0.0 | 12.7 / 33.0 | 4.7 / 7.3 |
| Tool Use | ||||
| BFCL v4 | 46.5 / 62.3 | 46.2 / 50.5 | 61.2 / 60.0 | 42.7 / 52.5 |
| WorkBench | 38.0 / 44.6 | 22.2 / 45.7 | 41.3 / 41.3 | 32.2 / 45.5 |
| ToolHop | 51.4 / 49.1 | 47.2 / 46.4 | 51.6 / 52.2 | 39.0 / 39.3 |
| Conversational | ||||
| IFEval | 87.2 / 90.6 | 80.8 / 82.0 | 87.1 / 92.2 | 89.1 / 90.8 |
| Knowledge | ||||
| GPQA Diamond | 48.6 / 64.6 | 40.0 / 53.0 | 81.3 / 81.8 | 52.1 / 56.5 |
| MMLU-Redux | 82.8 / 87.8 | 77.6 / 86.0 | 90.7 / 89.9 | 84.0 / 85.7 |
| MixEval-Hard | 31.7 / 46.4 | 28.9 / 43.8 | 35.9 / 51.0 | 28.9 / 39.8 |
| Safety | ||||
| XSTest | 72.3 / 88.8 | 82.0 / 90.0 | 91.2 / 96.4 | 86.8 / 94.8 |
| HarmBench (↓) | 15.6 / 8.5 | 21.2 / 21.5 | 26.8 / 6.9 | 28.7 / 38.4 |
Notes:
Released under the Apache 2.0 license.
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
Benchmarks
As published on the model card: the maker's own numbers, not measured by AxForge. Compare on the benchmarks page
| Model or task | Benchmark | Metric | Score | Source |
|---|---|---|---|---|
| Text Generation | LiveCodeBench v6 | pass@1 | 53.7 | The lab's own numbers |
| Text Generation | HumanEval+ | pass@1 | 89.1 | The lab's own numbers |
| Text Generation | MBPP+ | pass@1 | 74.3 | The lab's own numbers |
| Text Generation | MultiPL-E (7 languages, chat mode) | pass@1 | 73.7 | The lab's own numbers |
| Text Generation | AIME 25/26 | exact match (avg@8) | 61.1 | The lab's own numbers |
| Text Generation | GSM-Plus | exact match | 86.7 | The lab's own numbers |
| Text Generation | SWE-bench Verified | resolved rate | 40.4 | The lab's own numbers |
| Text Generation | Terminal-Bench 2.1 | resolved rate | 8.2 | The lab's own numbers |
| Text Generation | SWE-bench Pro | resolved rate | 20 | The lab's own numbers |
| Text Generation | BFCL v4 | accuracy | 46.5 | The lab's own numbers |
| Text Generation | WorkBench | task completion | 38 | The lab's own numbers |
| Text Generation | ToolHop | accuracy | 51.4 | The lab's own numbers |
| Text Generation | IFEval | accuracy | 87.2 | The lab's own numbers |
| Text Generation | GPQA Diamond | accuracy | 48.6 | The lab's own numbers |
| Text Generation | MMLU-Redux | accuracy | 82.8 | The lab's own numbers |
| Text Generation | MixEval-Hard | accuracy | 31.7 | The lab's own numbers |
| Text Generation | XSTest | safe compliance | 72.3 | The lab's own numbers |
| Text Generation | HarmBench (harmful rate, lower is better) | harmful rate | 15.6 | The lab's own numbers |