Configure your build
Pick the modules you actually need. The configurator generates a bun build --compile command and
estimates the resulting binary size. Defaults to everything checked — uncheck what you don't need.
~130 MB
estimated binary size
12 / 12
modules included
your build command
Notes: sizes are debug-build estimates; release builds are roughly 40% smaller after stripping.
bun:gpu uses system Metal / CUDA via FFI and adds no static-link weight; same for
bun:camera (V4L2 / AVFoundation / Media Foundation are all OS-provided).
bun:llm piggybacks on bun:gpu+bun:simd so it's free if you've already
included those.
Scope. The added modules target typed-array numeric work, embarrassingly-parallel loops, and
GPU-friendly matrix shapes. HTTP handlers, JSON parsing, and ordinary application code go through the same paths
as upstream Bun — no changes in performance or behavior are expected there.