JACK RYAN

Projects / Boltz-2 MLX

Open source · MIT · Apple Silicon

Boltz-2 MLX

Boltz-2, the open biomolecular structure and binding-affinity model, ported to Apple MLX. Free, runs locally on any M-series Mac, as an app or as a CLI that coding agents can drive.

Benchmarks

Structure + affinity, seconds (lower is better)

NVIDIA's affinity times exceed its structure times, which suggests they include structure, so they are compared with the sum of our structure and affinity times.

  • Our build (Boltz-MLX, Fast, M5 Max)
  • boltz-community (M5 Max)
  • H100 TensorRT (NVIDIA)
  • H100 OSS PyTorch (NVIDIA)
Structure plus affinity time, seconds, lower is better Grouped bars for four cases. 8eil: Our build (Boltz-MLX, Fast, M5 Max) 5.76 s, boltz-community (M5 Max) 37.20 s, H100 TensorRT (NVIDIA) 6.21 s, H100 OSS PyTorch (NVIDIA) 18.52 s; 7qsj: Our build (Boltz-MLX, Fast, M5 Max) 10.94 s, boltz-community (M5 Max) 103.66 s, H100 TensorRT (NVIDIA) 7.89 s, H100 OSS PyTorch (NVIDIA) 23.44 s; 8cpk: Our build (Boltz-MLX, Fast, M5 Max) 18.64 s, boltz-community (M5 Max) 116.86 s, H100 TensorRT (NVIDIA) 8.89 s, H100 OSS PyTorch (NVIDIA) 24.43 s; 8gpp: Our build (Boltz-MLX, Fast, M5 Max) 39.53 s, boltz-community (M5 Max) 223.61 s, H100 TensorRT (NVIDIA) 13.24 s, H100 OSS PyTorch (NVIDIA) 34.03 s. 8eil194 tokens 8eil, Our build (Boltz-MLX, Fast, M5 Max): 5.76 s5.76 8eil, boltz-community (M5 Max): 37.20 s37.20 8eil, H100 TensorRT (NVIDIA): 6.21 s6.21 8eil, H100 OSS PyTorch (NVIDIA): 18.52 s18.52 7qsj399 tokens 7qsj, Our build (Boltz-MLX, Fast, M5 Max): 10.94 s10.94 7qsj, boltz-community (M5 Max): 103.66 s103.66 7qsj, H100 TensorRT (NVIDIA): 7.89 s7.89 7qsj, H100 OSS PyTorch (NVIDIA): 23.44 s23.44 8cpk410 tokens 8cpk, Our build (Boltz-MLX, Fast, M5 Max): 18.64 s18.64 8cpk, boltz-community (M5 Max): 116.86 s116.86 8cpk, H100 TensorRT (NVIDIA): 8.89 s8.89 8cpk, H100 OSS PyTorch (NVIDIA): 24.43 s24.43 8gpp628 tokens 8gpp, Our build (Boltz-MLX, Fast, M5 Max): 39.53 s39.53 8gpp, boltz-community (M5 Max): 223.61 s223.61 8gpp, H100 TensorRT (NVIDIA): 13.24 s13.24 8gpp, H100 OSS PyTorch (NVIDIA): 34.03 s34.03
Show as a table
Structure plus affinity, seconds
caseOur build (Boltz-MLX, Fast, M5 Max)boltz-community (M5 Max)H100 TensorRT (NVIDIA)H100 OSS PyTorch (NVIDIA)
8eil5.7637.206.2118.52
7qsj10.94103.667.8923.44
8cpk18.64116.868.8924.43
8gpp39.53223.6113.2434.03

Structure only, seconds (lower is better)

Ours runs 200 structure steps on 8eil and 8gpp (the small-ligand rule) and 20 on the others; boltz-community runs 200.

  • Our build (Boltz-MLX, Fast, M5 Max)
  • boltz-community (M5 Max)
  • H100 TensorRT (NVIDIA)
  • H100 OSS PyTorch (NVIDIA)
Structure time, seconds, lower is better Grouped bars for four cases. 8eil: Our build (Boltz-MLX, Fast, M5 Max) 2.88 s, boltz-community (M5 Max) 11.23 s, H100 TensorRT (NVIDIA) 1.72 s, H100 OSS PyTorch (NVIDIA) 11.07 s; 7qsj: Our build (Boltz-MLX, Fast, M5 Max) 7.06 s, boltz-community (M5 Max) 62.30 s, H100 TensorRT (NVIDIA) 3.81 s, H100 OSS PyTorch (NVIDIA) 7.76 s; 8cpk: Our build (Boltz-MLX, Fast, M5 Max) 12.21 s, boltz-community (M5 Max) 69.82 s, H100 TensorRT (NVIDIA) 5.47 s, H100 OSS PyTorch (NVIDIA) 7.93 s; 8gpp: Our build (Boltz-MLX, Fast, M5 Max) 34.08 s, boltz-community (M5 Max) 185.54 s, H100 TensorRT (NVIDIA) 8.23 s, H100 OSS PyTorch (NVIDIA) 15.40 s. 8eil194 tokens · ours at 200 steps 8eil, Our build (Boltz-MLX, Fast, M5 Max): 2.88 s2.88 8eil, boltz-community (M5 Max): 11.23 s11.23 8eil, H100 TensorRT (NVIDIA): 1.72 s1.72 8eil, H100 OSS PyTorch (NVIDIA): 11.07 s11.07 7qsj399 tokens 7qsj, Our build (Boltz-MLX, Fast, M5 Max): 7.06 s7.06 7qsj, boltz-community (M5 Max): 62.30 s62.30 7qsj, H100 TensorRT (NVIDIA): 3.81 s3.81 7qsj, H100 OSS PyTorch (NVIDIA): 7.76 s7.76 8cpk410 tokens 8cpk, Our build (Boltz-MLX, Fast, M5 Max): 12.21 s12.21 8cpk, boltz-community (M5 Max): 69.82 s69.82 8cpk, H100 TensorRT (NVIDIA): 5.47 s5.47 8cpk, H100 OSS PyTorch (NVIDIA): 7.93 s7.93 8gpp628 tokens · ours at 200 steps 8gpp, Our build (Boltz-MLX, Fast, M5 Max): 34.08 s34.08 8gpp, boltz-community (M5 Max): 185.54 s185.54 8gpp, H100 TensorRT (NVIDIA): 8.23 s8.23 8gpp, H100 OSS PyTorch (NVIDIA): 15.40 s15.40
Show as a table
Structure, seconds
caseOur build (Boltz-MLX, Fast, M5 Max)boltz-community (M5 Max)H100 TensorRT (NVIDIA)H100 OSS PyTorch (NVIDIA)
8eil2.8811.231.7211.07
7qsj7.0662.303.817.76
8cpk12.2169.825.477.93
8gpp34.08185.548.2315.40

How to read it

  • An H100 with TensorRT is faster on structure in every case, by up to 4.1× at 628 tokens.
  • Against boltz-community (the fastest previously available way to run Boltz-2 on a Mac), our build is 7.0× faster on average (5.7 to 9.5× across the four complexes) on structure + affinity.
  • Against NVIDIA's own published PyTorch numbers, structure + affinity is faster on 8eil, 7qsj, and 8cpk, and slower on 8gpp.
  • Step counts, precision, and implementation all differ across columns. See experimental setup and limitations and caveats in the full report.

H100 cost vs. local Mac

$0/hr · ~$6K-$6.5K Mac Demo 128 GB M5 Max laptop (zero hourly fee, runs on M1–M5; M1 Air speeds)
~$35K-$40K+ · ~$3.41/hr Single NVIDIA H100 SXM GPU ($40K+ in a server; $3.41/hr SemiAnalysis cloud average; $2.75/hr our screening H100)
~526 ligands/hr Cold virtual screening on M5 Max (6.84 s/ligand across 199 ligands)
~614 ligands/hr Unbatched cloud H100 baseline (5.86 s/ligand; ~$5.55 per 1,000 ligands at $3.41/hr)

Zero software license fee, zero cloud queue, and inputs stay on 127.0.0.1 by default.

What it is

Boltz-2 predicts the 3D structure of protein, nucleic-acid and ligand complexes and, for one ligand, a binding affinity. Boltz-MLX ports inference to Apple's MLX so it runs on the GPU of an Apple Silicon Mac with no cloud, no queue, no account, and no license fee.

  • Free and open sourceMIT license. Weights converted from the official checkpoints.
  • Local and privateOne-time 6.2 GB weights download. Runs offline on 127.0.0.1 with opt-in ColabFold MSA.
  • App and agent CLILocal GUI with UniProt/PDB search and 3D viewer, plus a --json CLI and AGENTS.md for coding agents.
  • Any M-series MacM1 to M5 on macOS 26+. Fast is default on M5; M1 Air runs 117 tokens in 24.2 s (Full default on M1–M4).

The app