back to local model checker

Devstral 2 123B

Popular

Mistral AI · 123B · Dense

Dense 123B coding model — 72.2% SWE-bench Verified

MRL
Downloads

17.8K

Likes

295

Released

2025-12

Context

256K tokens

Use cases

code

Your hardware

16 GB Reference Desktop

Quant
Q4_K_M
Memory
63.5 GB
Speed
--
Fit
Too heavy

Quantization options

What is quantization?
QuantBitsVRAMDiskQualityStatus
Q2_K239.9 GB37.6 GBlowToo heavy · ~1 t/s
Q3_K_M355.6 GB52.6 GBmoderateToo heavy · ~1 t/s
Q4_K_M463.5 GB60.1 GBgoodToo heavy · ~1 t/s
Q5_K_M579.3 GB75.2 GBgoodToo heavy · ~1 t/s
Q6_K695 GB90.2 GBexcellentToo heavy · ~1 t/s
Q8_08126.5 GB120.3 GBexcellentToo heavy · ~1 t/s
F1616252.5 GB240.6 GBlosslessToo heavy · ~1 t/s

About this model

Devstral 2 123B (Devstral 2) is a 123B dense transformer from Mistral AI in the Mistral family, designed primarily for code workflows. Supports up to 256K context tokens; start at 4K–8K with Q8_0 KV cache on tight GPUs.

Hardware planning baselines start at 68.7 GB minimum memory and 114.6 GB recommended memory. At Q4_K_M, weights plus baseline runtime overhead use roughly 63.5 GB of RAM/VRAM and 60.1 GB of disk space. At 123B, Devstral 2 123B belongs firmly in the workstation and multi-GPU tier. Running it comfortably requires 114.6 GB of total memory across dual RTX GPUs, high-memory Apple Silicon (Mac Studio Ultra/Max), or MoE hybrid CPU-RAM offloading—mobile devices and standard 16 GB laptops are too constrained for practical speeds.

Deploy Devstral 2 123B locally via Ollama (`devstral-2`), LM Studio, or Ollama with Flash Attention enabled. Under Mistral Research License, review official weight cards before commercial redistribution.

Highlights

  • Local Fit Baseline68.7 GB minimum and 114.6 GB recommended RAM/VRAM.
  • Primary QuantQ4_K_M targets 63.5 GB memory and 60.1 GB disk.
  • Context & Capabilities256K max context · Dense.

System requirements by device

Memory planning targets 68.7 GB minimum RAM/VRAM and 114.6 GB recommended memory. The baseline quant is Q4_K_M, estimated at 63.5 GB memory and 60.1 GB disk. Actual runtime usage shifts with context length, KV cache precision, and OS background overhead.

DeviceNotes
Mac (Apple silicon)Requires a 48 GB–192 GB Mac Studio or MacBook Pro Max/Ultra with enough unified wired budget for 63.5 GB.
Windows / Linux GPUUse dual/multi-GPU CUDA splitting (--tensor-split) or MoE CPU expert offloading (-ot) paired with 32–128 GB DDR5 system RAM.
Phones & Compact Edge BoardsNot practical on phones (68.7 GB min RAM exceeds Android LMK and iOS Jetsam limits). Pick a 2B–4B model on mobile.

Start with a short session and leave memory for the operating system. A file fitting on disk does not guarantee that it will load in memory.

Estimated memory by quantization

These are rough estimates, not tested minimum requirements. Check the actual file and runtime documentation; context, offloading and operating-system overhead can change the memory needed.

Quant TierEstimated memoryDisk SizeQuality
Q2_K39.9 GB37.6 GBlow
Q3_K_M55.6 GB52.6 GBmoderate
Q4_K_M63.5 GB60.1 GBgood
Q5_K_M79.3 GB75.2 GBgood
Q6_K95.0 GB90.2 GBexcellent
Q8_0126.5 GB120.3 GBexcellent
F16252.5 GB240.6 GBlossless

How to run Devstral 2 123B on your device

Start with a short prompt and the smallest quant that still gives the quality you need. A clean first run is more useful than loading a larger file with no memory headroom.

Windows

Run Devstral 2 123B on Multi-GPU or High-RAM Desktop

  1. Plan for 68.7 GB minimum combined memory and 114.6 GB recommended memory for Q4_K_M.
  2. Use `llama-server --split-mode layer --tensor-split` across multiple NVIDIA GPUs or high-channel DDR5 server RAM.
  3. Enable Flash Attention (`-fa on`) and Q8_0 KV cache (`-ctk q8_0 -ctv q8_0`) to prevent context buffers from exceeding GPU headroom.
  4. Avoid attempting to run workstation-scale weights on smartphones or 8 GB laptops; use a 2B–8B checkpoint on portable devices.
Device how-to guide
Mac

Run Devstral 2 123B on High-Memory Apple Silicon Mac

  1. Verify you are on a 48 GB–192 GB Mac Studio or MacBook Pro Max/Ultra capable of holding 63.5 GB in wired unified memory.
  2. Launch via `llama-server` or LM Studio with MLX/Metal enabled and set initial context conservatively to 4K–8K.
  3. Monitor Activity Monitor Memory Pressure to confirm zero SSD swap thrashing during token generation.
  4. Step down to a lighter quantization (e.g., Q3_K_M or IQ4_XS) if total memory utilization exceeds 75%.
Device how-to guide

Devstral 2 123B vs alternatives

ModelParamsContextMin RAMLicense
Devstral 2 123B123B256K68.7 GBMRL
Mistral Small 4 119B119B (6.5B active)256K66.5 GBApache 2.0
Mixtral 8x22B141B (39B active)64K78.8 GBApache 2.0
Mixtral 8x7B47B (12.9B active)32K26.3 GBApache 2.0
Devstral Small 2 24B24B256K13.4 GBApache 2.0
Mistral Small 3.1 24B24B128K13.4 GBApache 2.0

Use this table to choose the smallest nearby model that still matches the job. A related model with lower RAM can be the better local choice when the current page fits only at the edge of available memory.

Frequently asked questions

What is Devstral 2 123B?
Devstral 2 123B is a 123B dense transformer from Mistral AI, supporting up to 256K tokens with 68.7 GB minimum RAM and 114.6 GB recommended RAM.
What is the best way to run Devstral 2 locally?
Choose the smallest quant that matches the task, test one short prompt, then compare RAM, context, and nearby models before making Devstral 2 123B your default local model.
How much VRAM or RAM does Devstral 2 123B require?
At Q4_K_M, Devstral 2 123B occupies roughly 63.5 GB of active memory and 60.1 GB on disk. Add 2–6 GB of spare headroom for KV cache buffers, runtime scratch space, and OS apps (114.6 GB recommended).
What is the best way to run Devstral 2 123B locally?
Use `ollama run devstral-2` for a quick CLI/API setup, or load Q4_K_M in LM Studio or llama.cpp with Flash Attention enabled when you want explicit KV cache and layer control.
Can Devstral 2 123B run on a consumer laptop or smartphone?
No smartphone or 8–16 GB laptop can hold Devstral 2 123B cleanly in local memory. It targets multi-GPU NVIDIA workstations, high-RAM Mac Studios, or MoE CPU-RAM hybrid rigs with at least 68.7 GB total memory.
How does Devstral 2 123B compare to Mistral Small 4 119B?
Mistral Small 4 119B (119B, 66.5 GB min RAM) sits closest in size. Compare active parameters, context ceiling (256K vs 256K), and license terms (MRL) before switching.