How to use from
Pi
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit"
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "mlx-lm": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit

This model was converted to MLX format from mistralai/Devstral-Small-2-24B-Instruct-2512 at revision c599e8e56f3f9110e97f0dc0450ce248e3334d84.

It was generated from the current mlx-vlm source checkout on the JarvisLabs conversion instance.

Use with mlx-vlm

pip install -U mlx-vlm
mlx_vlm.generate --model mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
Downloads last month
111,153
Safetensors
Model size
5B params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mlx-community/Devstral-Small-2-24B-Instruct-2512-4bit