Advisor / Can it run? / Flint 40B-A2.5B on MacBook Pro 14/16 M5 Max 128GB

Can MacBook Pro 14/16 M5 Max 128GB run Flint 40B-A2.5B?

Estimated speed and memory fit for Flint 40B-A2.5B (39.79B MoE, 2.5B active) on MacBook Pro 14/16 M5 Max 128GB. We have no measured run for this pair yet, so the speed is an estimate; submit yours.

86generation tok/s (Q8_0, estimated from 614 GB/s memory bandwidth)
42.8 GBQ8_0 + 16k f16 KV, fits fully
89 GBusable on this hardware

Short answer

Yes. Flint 40B-A2.5B Q8_0 fits fully on MacBook Pro 14/16 M5 Max 128GB at 16k context, using 42.8 of 89.1 GB usable, and generates about ~86 tokens/s (estimated, not measured). For Q8_0, our bandwidth-only estimate was ~127 tok/s against a measured median of ~86 (48% too optimistic).

Measured generation speed by quantization

No measured rows for Flint 40B-A2.5B on MacBook Pro 14/16 M5 Max 128GB yet. The ~86 tok/s above is a bandwidth estimate (614 GB/s × 0.77 efficiency). Have this machine? Submit a llama-bench result and this page will switch to measured data.

Generation = tg128 (128 generated tokens, short context). Public rows are medians of community llama.cpp results (sources); our own runs use llama-bench on a rented GPU.

Alternatives

Less memory that still fits Flint 40B-A2.5B

Smaller memory usually means a cheaper card or Mac (we do not list prices).

Faster for Flint 40B-A2.5B

Other models on MacBook Pro 14/16 M5 Max 128GB, similar size

Memory and context limits

Q8_0 weights are 42.3 GB; the 16k f16 KV cache adds 0.51 GB. Largest context that fits in 89.1 GB usable:

KV cache typeMax context
f16256k
q8_0256k
q4_0256k

Native limit 256k. Full KV cache table for Flint 40B-A2.5B.

Copy-paste commands

The advisor's pick for this hardware: Q8_0, 16k context.

llama.cpp
llama-server -hf unsloth/flint-GGUF:Q8_0 -c 16384 -fa on --jinja -ngl 99
ollama
OLLAMA_CONTEXT_LENGTH=16384 ollama serve
ollama run hf.co/unsloth/flint-GGUF:Q8_0

MLX: no MLX conversion yet for this model (none verified in mlx-community), so use llama.cpp or ollama above.

MLX on this Mac

MLX is Apple's machine-learning framework for Apple Silicon. Where an mlx-community conversion exists, the commands above include an MLX block next to llama.cpp and ollama.

Repos are checked against the Hugging Face API (how).

FAQ

How fast is Flint 40B-A2.5B on MacBook Pro 14/16 M5 Max 128GB?

About 85.6 tokens/s for generation (Q8_0, estimated from 614 GB/s memory bandwidth). Speed drops as the context fills; see the depth table on this hardware's other pages.

How much memory does Flint 40B-A2.5B need on MacBook Pro 14/16 M5 Max 128GB?

The advisor's pick, Q8_0, is 42.3 GB of weights plus 0.51 GB of KV cache at 16k context (42.8 GB), against 89.1 GB usable.

Is the Flint 40B-A2.5B speed on MacBook Pro 14/16 M5 Max 128GB measured or estimated?

Estimated. No measured llama.cpp run for this pair is on file yet, so the figure comes from memory bandwidth and our calibration against measured hardware.

What can I use instead of MacBook Pro 14/16 M5 Max 128GB for Flint 40B-A2.5B?

With less memory, RTX 5090 32GB (~391 tok/s), MacBook Pro 14/16 M5 Pro 48GB (~89 tok/s), Mac mini (2024) M4 Pro 64GB (~47 tok/s) also fit it fully. Faster: 2x RTX 3090 (48GB total) (~191 tok/s), MacBook Pro 14/16 (2024) M4 Max 128GB (~122 tok/s), RTX PRO 6000 96GB (~215 tok/s).

What is the maximum context for Flint 40B-A2.5B on MacBook Pro 14/16 M5 Max 128GB?

With an f16 KV cache about 256k tokens, 256k with q8_0 and 256k with q4_0, bounded by the model's own limit.

Related

All models on MacBook Pro 14/16 M5 Max 128GB · Flint 40B-A2.5B on all hardware · VRAM tier · all measured pages · leaderboard

Compare: MacBook Pro 14/16 M5 Max 128GB vs MacBook Pro 14/16 (2024) M4 Max 128GB