Apple has significantly expanded the capabilities of local artificial intelligence development with the release of the latest version of MLX, its open-source array framework designed specifically for Apple silicon. The updated framework empowers AI researchers, engineers, and developers to experiment with massive, frontier-class language models locally in a private, secure environment. Leveraging the unified memory architecture inherent to Apple silicon, the latest MLX release demonstrates that desktop hardware can now handle colossal neural networks that were previously restricted to massive cloud-based data centers.

At the center of this technological milestone is the newly released Muse Spark Open model, an immense mixture of experts architecture featuring nearly a trillion parameters. Operating on a cluster of four Mac Studios powered by the M5 Ultra chip, the system achieves generation speeds exceeding 36 tokens per second at a context size of 8,192 tokens. This performance comfortably surpasses average human reading speeds, bringing high-performance model inference directly to the desktop.

The achievement builds upon Apple’s custom silicon architecture, combining the high-bandwidth unified memory of the Mac Studio with advanced hardware features. By scaling from a single Mac Studio equipped with up to 512GB of unified memory out to multi-device configurations utilizing high-speed networking over Thunderbolt, developers can run a diverse ecosystem of models locally. This setup provides a viable alternative to cloud-based execution, giving enterprises and independent researchers complete data privacy and low-latency access.

Underpinning these performance gains are deep hardware optimizations found in the M5 generation of Apple silicon. The M5 Ultra introduces dedicated GPU Neural Accelerators that support specialized matrix multiplication operations, a core mathematical requirement for modern machine learning workloads. Because the time to first token—often referred to as TTFT—is heavily compute-bound, these dedicated hardware accelerators yield substantial speedups. Benchmarks show the M5 Ultra delivering up to 4.6 times faster TTFT performance compared to the previous-generation M3 Ultra, establishing the new Mac Studio as an exceptional desktop platform for handling tasks that require massive input contexts.

Concurrently, generation speed during token decoding is bounded primarily by memory bandwidth. The M5 Ultra architecture provides 1.2 terabytes per second of unified memory bandwidth, an increase from the 819 gigabytes per second offered by the M3 Ultra. This hardware enhancement results in roughly 1.6 times faster token generation speeds, allowing dense and sparse models alike to execute efficiently. Despite this immense computational capacity, the Mac Studio maintains a high degree of energy efficiency, with peak power consumption remaining around 300 watts under heavy workloads. This modest power draw allows advanced AI systems to be deployed seamlessly in standard home or office environments without specialized electrical infrastructure.

Local and Distributed Large LLM Inference with MLX and RDMA on Mac Studio

To evaluate the breadth of models supported by the platform, engineers benchmarked three distinct frontier-class architectures across varying parameter sizes. These included the massive Muse Spark Open model at 816 billion total parameters, Mistral Medium 3.5 at 128 billion parameters, and Qwen 3.8 at 27 billion parameters. Muse Spark Open employs a mixture of experts design, which activates only a fraction of its total parameters during inference to conserve computational resources. Evaluated in 4-bit NVFP4 precision, its parameter footprint is reduced to approximately 493 gigabytes, making it impossible to store entirely on a single machine. In contrast, dense architectures like Qwen 3.8 and Mistral Medium 3.5 activate all parameters and fit comfortably within the 512GB of RAM available on a single high-end Mac Studio.

Running models that exceed the memory capacity of a single machine requires sophisticated parallelization techniques. To address this, MLX introduces robust support for distributed execution across multiple Mac Studio units connected via low-latency remote direct memory access over Thunderbolt 5 drivers. This communication layer utilizes optimized collection routines, referred to as jaccl, running over dual Thunderbolt cables configured in a peer-to-peer mesh topology.

Two primary parallelization schemes are supported within the framework: pipeline parallelization and tensor parallelization. Pipeline parallelization distributes a model across its depth, meaning sequential layers of the neural network are split across different computers. The first machine computes an initial set of layers and passes the intermediate outputs to the second machine to complete the sequence. This approach requires minimal code modification and maintains decode speeds comparable to single-machine execution, while also overlapping prefill computations across large context windows to deliver accelerated time-to-first-token performance.

Tensor parallelization, conversely, distributes the model across its width, dividing individual layers among multiple devices so that per-layer computations occur simultaneously. While more complex to implement because it requires frequent, low-latency communication for every input token and layer, tensor parallelization yields substantial performance improvements when paired with high-speed Thunderbolt RDMA links. Benchmarks show that utilizing tensor parallelization across a cluster of four M5 Ultra Mac Studios allows the system to process massive frontier-class models like Muse Spark Open smoothly, sustaining high generation throughputs and rapid response times even at extended context windows reaching 65,536 tokens.

The practical applications of these local setups extend significantly into agentic artificial intelligence and automated developer tools. Developers frequently rely on agentic coding assistants that require large context windows to analyze extensive codebases and execute complex workflows. By coupling the distributed MLX framework with standard server tools, users can spin up local inference endpoints capable of serving massive models directly to compatible client applications. This integration ensures that sensitive source code and private data never leave the local hardware environment, addressing critical security and privacy concerns that often accompany cloud-based artificial intelligence solutions.

The convergence of these hardware and software advancements marks a major step forward for local machine learning. By combining the high-bandwidth unified memory and GPU Neural Accelerators of the M5 Ultra chip with advanced distributed communication protocols running over Thunderbolt, Apple has transformed the desktop workstation into a capable node for frontier-class artificial intelligence research and deployment.