llmrun
JetBrainsMellumMellumForCausalLM

Mellum2 12B A2.5B Base Pretrain — Hardware Requirements & GPU Compatibility

Chat

Mellum2 12B A2.5B Base Pretrain is a 12.1B-parameter open language model from JetBrains in the Mellum family. It supports a context window of up to 131,072 tokens. At BF16 it needs about 24.67 GB of VRAM — see which GPUs and Macs can run it below.

12.1B params · MoE2.4B active131K contextApache 2.0264 downloads10 likes

Doesn't fit a 24 GB GPU

Smallest consumer fit → Snapdragon X Elite Copilot+ PC · BF16 · 24.8 GB · ~17 tok/s

Macs from32 GB BF16 · ~43 tok/s

Apache 2.0

Not set up for it?

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run Mellum2 12B A2.5B Base Pretrain

One recommended way. Every other method, OS and quant is in the step-by-step guide.

Recommended

vLLM
one command · needs vLLM installed
$vllm serve JetBrains/Mellum2-12B-A2.5B-Base-Pretrain --max-model-len 16384

vLLM repo with its own quantisation

Download: Weights on Hugging Face

install, OS, other quants

Other ways

each opens step-by-step

Run in cloud

Fits on RTX PRO 4500 (32 GB) (7 GB headroom) · BF16

Generation speed
~100 tok/s
generation speed
Cost per 1M output tokens
$0.95
per 1M output tokens

How Much VRAM Does Mellum2 12B A2.5B Base Pretrain Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KOn RTX 4090 (reference)
24.7 GB24.9 GB16-bit · bfloat — Brain floating point 16 — preferred for trainingDoes not fit: needs 24.8 GB
est.calculated, no published file yet

Selected BF16

Brain floating point 16

24.8GBat 16K context

Weights
24.3 GB
KV cache
0.2 GB
Overhead
0.3 GB

Doesn't fit RTX 4090 (reference) · needs 0.8 GB more

≥50 tok/s needs ≥412 GB/s · RTX 5090 ~173, M3 Ultra ~70

Or rent RTX PRO 4500 from $0.34/hr.

Which Hardware Can Run Mellum2 12B A2.5B Base Pretrain?

BF16 · 24.7 GB

Mellum2 12B A2.5B Base Pretrain (BF16) requires 24.7 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 33+ GB is recommended. Using the full 131K context window can add up to 1.0 GB, bringing total usage to 25.7 GB. 1 GPU can run it, including NVIDIA GeForce RTX 5090. 98 devices with unified memory can run Mellum2 12B A2.5B Base Pretrain, including Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB), Mac Studio M5 Max (36 GB).

By VRAM tier · typical GPUs and Macs at BF16
8–16 GB · RTX 4060, RTX 3060 12GB, RTX 5060 Ti 16GBDoesn't fit — smallest quant needs 24.8 GB8 GB tier →12 GB tier →16 GB tier →
24 GB · RTX 4090referenceDoesn't fit — smallest quant needs 24.8 GB24 GB tier →
Mac 32 GB · Mac Mini M4BF16 · 24.8 GB · ~16 tok/s · 128KMacs →
Mac 64 GB · Mac Studio M4 MaxBF16 · 24.8 GB · ~54 tok/s · 128KMacs →

Alternatives to Mellum2 12B A2.5B Base Pretrain

Mellum family · 8 models →

Similar models

6
ModelScoreVRAMtok/sWhy it is similar
Gemma 3 12B ITGoogle74.210.9 GB~82same size
Gemma 4 12BGoogle—9 GB~80same size
Mistral Nemo Base 2407Mistral AI—11 GB~81same size
Baichuan2 13B Basebaichuan-inc—11.5 GB~76same size
Llama 2 13B Chat HFMeta—11.5 GB~76same size
Vicuna 13B V1.3LMSYS—8.6 GB~76same size

Specifications

Publisher
JetBrains
Family
Mellum
Parameters
12.1B
Active parameters
2.4B per token
Architecture
MellumForCausalLM
Context Length
131,072 tokens
Vocabulary Size
98,304
Release Date
2026-04-07
License
Apache 2.0

Frequently Asked Questions

How much VRAM does Mellum2 12B A2.5B Base Pretrain need?

Mellum2 12B A2.5B Base Pretrain requires 24.7 GB of VRAM at BF16. Full 131K context adds up to 1.0 GB (25.7 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 12.1B × 16 bits ÷ 8 = 24.3 GB

KV Cache + Overhead ≈ 0.4 GB (at 2K context + ~0.3 GB framework)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

KV Cache + Overhead ≈ 1.4 GB (at full 131K context)

VRAM usage by quantization

24.7 GB
25.7 GB

Learn more about VRAM estimation →

Can I run Mellum2 12B A2.5B Base Pretrain on a Mac?

Yes — Mac Studio M1 Max (32 GB) and 84 other Macs can run Mellum2 12B A2.5B Base Pretrain. Apple Silicon uses unified memory, so the model shares RAM with the system. At BF16 you need at least 24.7 GB of usable unified memory (RAM minus macOS overhead).

Can I run Mellum2 12B A2.5B Base Pretrain locally?

Yes — Mellum2 12B A2.5B Base Pretrain can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Mellum2 12B A2.5B Base Pretrain?

At BF16, Mellum2 12B A2.5B Base Pretrain can reach ~151 tok/s on AMD Instinct MI350X. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = 1000 ÷ (active GB ÷ (bandwidth GB/s × efficiency) × 1000 + layers × routing ms)

Mixture-of-Experts: just the active experts get read for each token, along with a fixed routing cost per layer.

Example: NVIDIA B200 → 5.0 GB active ÷ (8000 × 0.65) = 0.952 ms, plus 28 layers × 0.055 ms = 1.540 ms, so 1000 ÷ 2.492 ms = ~401 tok/s

Estimated speed at BF16 (24.7 GB)

~401 tok/s
~401 tok/s
~323 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of Mellum2 12B A2.5B Base Pretrain?

At BF16, the download is about 24.30 GB.

Which GPUs can run Mellum2 12B A2.5B Base Pretrain?

1 consumer GPU can run Mellum2 12B A2.5B Base Pretrain at BF16. Top options include NVIDIA GeForce RTX 5090.

Which devices can run Mellum2 12B A2.5B Base Pretrain?

98 devices with unified memory can run Mellum2 12B A2.5B Base Pretrain at BF16 (24.7 GB), including ASUS Ascent GX10, Beelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB), Framework Desktop (Ryzen AI Max+ 395, 128 GB), GMKtec EVO-X2 (Ryzen AI Max+ 395, 128 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.