About Unified-Memory AI Box Planner

An independent static sizing tool and theoretical physical performance matrix for 256-bit unified-memory AI workstations and Apple Silicon platforms.

Project Purpose & Problem Space

Personal local Large Language Model (LLM) inference has entered an architectural transition. Traditional hardware sizing calculators were engineered specifically for discrete PCIe GPU topologies (such as a 24 GB NVIDIA GeForce RTX 4090 or dual RTX 3090 configurations), where GPU VRAM is isolated from system DRAM by a PCIe bus.

The emergence of unified-memory platforms—including the Sipeed MaixStation (Axera AX8860P), NVIDIA DGX Spark, and AMD Ryzen AI Halo, alongside Apple Mac Studio M2 Ultra—introduces shared addressable memory pools from 128 GB to 192 GB with theoretical peak memory bandwidth from 256 GB/s to 800 GB/s. On these machines, CPU, GPU, and NPU cores share a single physical memory architecture.

Unified-Memory AI Box Planner was developed to explore this distinct technical space. It provides local developers, AI researchers, and workstation builders with a mathematical calculation engine to model whether large models (such as Llama 3.1 70B, Qwen 2.5 32B, DeepSeek V2 Lite, and GPT-OSS 120B) can fit in addressable memory and what theoretical decode speed upper bounds could be achieved under batch-1 workloads.

How the Calculation Engine Works

The sizing engine models memory footprint and theoretical bandwidth limits:

1. Theoretical Memory Bandwidth Upper Bound for Decoding

In batch-1 autoregressive token generation, when a workload is memory-bandwidth bound, computing each subsequent token requires streaming active model parameters and reading the accumulated Key-Value (KV) cache through the memory controllers. Under ideal bus saturation, the theoretical physical upper bound is expressed as:

Decode Ceiling (tok/s) = Peak Memory Bandwidth (GB/s) / Total Bytes Read per Token (GB)

This formula represents an ideal theoretical ceiling, not a guaranteed empirical benchmark. Real-world decode speeds are typically lower due to runtime framework overhead, kernel launch latency, memory controller efficiency, and compute boundaries during prompt prefill.

2. Attention KV Cache Memory Sizing

Memory requirements scale with sequence context length ($N$). The engine calculates KV cache footprint across three distinct attention architectures:

3. Deterministic 95% Modeling Threshold

Unified RAM is shared with operating system kernel tasks, display servers, dynamic driver allocations, and runtime activations. A flat 4 GB baseline reserve is modeled for base OS processes. To help users assess memory allocations, the planner evaluates configurations against a 95% modeling threshold:

Dual-Status Matrix & Provenance Standards

The planner audits 120 potential configurations (5 model architectures × 8 quantization formats × 3 KV precisions) into two explicit categories:

Whenever empirical benchmark calibration is missing (such as prefill compute or device-level kernel efficiency factors), numerical estimates are suppressed with an explicit evidence gap notification rather than presenting ungrounded guesses.

Release History

Release 1.0.0 (October 31, 2026)

Privacy & Data Handling Practices

The privacy practices of this website are based on its local code and standard web hosting architecture:

Client-Side Calculation

All sizing mathematics, context clamping, and bandwidth ceiling calculations run locally in your web browser via static JavaScript. There is no remote computation backend executing inference or processing user parameters.

URL State & Host Transmission

Local UI adjustments update the address bar via history.replaceState without triggering network calls at that moment. However, when a URL with query parameters (e.g. ?model=...) is initial loaded, refreshed, or opened from a link, those parameters are transmitted in the HTTP request line received by the hosting server.

Codebase Tracking & Cookies

Inspection of local site code confirms that no HTTP cookies are set, no local or session storage is used for user tracking, and no third-party analytics libraries (such as Google Analytics) are loaded.

Hosting Infrastructure

The site is statically hosted on Cloudflare Pages. As with standard web servers, edge servers receive incoming HTTP connections (including client IP, User-Agent, and requested URL). Cloudflare internal server logging configuration and retention have not been independently audited.

To inspect the references and documentation citations used across this planner, visit the Sources & Evidence Directory.

Contact & Feedback

For inquiries, technical corrections, or feedback regarding hardware specifications and sizing calculations, contact: dorykriesel869@gmail.com.