RavenX-Trade-8B-MAP-128k-mlx-4bit
on a Mac: what it actually needs

For Gabe Garcia. Worked out from your repo, no sign-up, nothing to click.

quantized
36 layers
8 KV heads
head dim 128
7 likes
173 downloads
16.4 GB
measureddownload size, summed from the 4 safetensors files in your repo
32 GB Mac
computedthe smallest machine that holds it at 8k context, assuming MLX can wire 75% of unified memory

What it needs as context grows

4k context0.60 GB KV + 16.4 GB weights + 1.2 GB runtime = 18.2 GB, smallest Mac 32 GB
8k context1.21 GB KV + 16.4 GB weights + 1.2 GB runtime = 18.8 GB, smallest Mac 32 GB
32k context4.83 GB KV + 16.4 GB weights + 1.2 GB runtime = 22.4 GB, smallest Mac 32 GB
128k context19.33 GB KV + 16.4 GB weights + 1.2 GB runtime = 36.9 GB, smallest Mac 64 GB

KV cache = 2 tensors x 36 layers x 8 KV heads x 128 head dim x 2 bytes (fp16) x tokens. Read straight off your config.json. Runtime overhead is the 1.2 GB I see for Python, MLX, the tokenizer and activations on my own runs.

Mac by Mac

ContextNeeds81618243236486496128
4k18.2 GBnonononoyesyesyesyesyesyes
8k18.8 GBnonononoyesyesyesyesyesyes
32k22.4 GBnonononotightyesyesyesyesyes
128k36.9 GBnononononononoyesyesyes

Columns are unified memory in GB. "Tight" means it fits but leaves under 2 GB for anything else, so expect swap once a browser is open.

Run it

pip install mlx-lm
mlx_lm.generate --model deadbydawn101/RavenX-Trade-8B-MAP-128k-mlx-4bit \
  --prompt "hello" --max-tokens 100

What is not on this page

not measuredTokens per second. That needs a real run on real silicon and I will not print a number I have not seen. If you want it, reply and I will run RavenX-Trade-8B-MAP-128k-mlx-4bit on an M5 and add the result here with the command I used.
Speed, measured: this page is about memory. For how fast models actually run on Apple Silicon, with the tasks and judging open, see the Agent-12 local agent leaderboard.

Built by Matt Macosko, who publishes 29 MLX quants and wrote claude-code-local, which runs Claude Code fully on-device on Apple Silicon. Source for this page: your model repo and its config.