zc · local LLM hardware predictor · macOS, Linux, Windows

zc measures your machine in about two seconds, then predicts decode speed, time to first token and maximum usable context for local LLMs. No account, no upload, no telemetry.

curl -fsSL https://raw.githubusercontent.com/DEEPESH-845/ZeroCloud/main/install.sh | sh

Windows .exeRead the source

under 5 MBno runtime depsApache-2.0opens no connection

zc check --top 8 elapsed 0.00s
$ zc check --top 8

real capture · Apple M5, 16 GiB · predictions are ranges, never points

why measure

Spec sheets are wrong in exactly the ways that matter on cheap hardware.

Every one of them is invisible from a model name and a RAM figure. A two-second benchmark catches all seven at once: RAM bandwidth above cache, random reads on the volume your models actually live on, and f32 and int8 compute.

  1. RAM
    Single-channel memory.Half the bandwidth the spec implies. Extremely common on budget laptops.
  2. RAM
    An iGPU quietly holding 1–2 GB of system memory.Your 8 GB machine has less than it says.
  3. DISK
    A DRAM-less SSD reading 4× slower than advertised.Weights that spill past RAM stream at this speed.
  4. OS
    WSL2 defaulting to half your host RAM.The budget is what the guest can see, not the sticker.
  5. HEAT
    Thermal throttling that is already happening.A benchmark on the machine as it is, not as it was when new.
  6. DISK
    Windows Defender or FileVault in the read path.Measured on the real volume, through the real filesystem.
  7. DISK
    Models stored in OneDrive or iCloud.The files are stubs that re-download.

the arithmetic

Same model, four quantisations, one measured budget.

Decode is memory-bound: every token reads the active weights once, so the whole question is what fits and how fast it can be read.

qwen3-8b32K context · KV F16
weights-GiB
KV-GiB
total-of 12.80 GiB budget
needs-GB/s for 10 tok/s
measured131GB/s on this machine
on this machine12.80 GiB budget, measured on an idle machine

GiB is memory, however it is provided -- RAM, VRAM or unified. 'needs' is the bandwidth for 10 tok/s at eta 0.875, low confidence.

the house rule

A number is measured, derived from measured inputs, or printed as -.

No fallback constants. Predictions are ranges with the confidence tier their evidence earns. Ranges narrow as the dataset grows; they are never narrowed by hand.

# decode is memory-bound:
# every token reads the active weights once
t_token  = resident·bytes/BW_ram + (1−resident)·bytes/BW_disk
tok/s    = η(backend, quant) / t_token
max_ctx  = (usable − weights − compute_buffers) / kv_bytes_per_token

η is the one term that cannot be derived. It comes from real measured runs, collected by zc verify.

$ zc check Qwen/Qwen3-32B

== Qwen/Qwen3-32B ==  (published weights, not a quantisation)

  geometry     64L  n_embd 5120  vocab 151936  GQA 8x128
  parameters   32.76B  from the repo's safetensors metadata
  weights      61.02 GiB  as published in BF16
  budget       12.80 GiB  measured on this machine, idle

  WON'T FIT    the published weights alone are 48.48 GiB over budget

  decode       -   speed needs the byte count of the quantised file you
                   would actually load, which lives in a separate GGUF
                   repo. Memory above is arithmetic over numbers the
                   repo states; a speed here would not be.

The dash is the point. Any model on Hugging Face, and the one number it would have to invent is the one it refuses to print.

what it does

A browsable table, when a human is watching.

zc with no arguments opens the same data as a table where every row explains itself. Piped, redirected, or with --json, it prints plain text exactly as it always has, so scripts and agents are unaffected.

$ zc

  zc 0.1.0  Apple M5 · metal · 16 GiB
  129 GB/s ram · 5.0 GB/s disk · 429 GFLOPS · KV f16
──────────────────────────────────────────────────────────────────────────────
    MODEL         QUANT    decode t/s   ctx  TTFT conf   %RAM
> ◐ qwen3-30b-a3b Q4_K_M     8.3-13.9    2K  1.2s low     84%
──────────────────────────────────────────────────────────────────────────────
  qwen3-30b-a3b · Q4_K_M   8.3-13.9 tok/s

  weights       17.35 GiB    84% resident in RAM
  spill          2.78 GiB    streams at 5.0 GB/s
  bandwidth       129 GB/s   measured on this machine
  eta           0.875        fitted, confidence low
  context          2K        KV f16 at 0.09 MiB/token
  TTFT           1.2s        for a 2048-token prompt
──────────────────────────────────────────────────────────────────────────────
  1 of 26 · sort verdict · enter why · / filter · a quants · ? keys · q quit

That pane is the point. Other tools print a score; zc measured your machine, so it can print the derivation and let you check it. Those weights do not fit, 2.78 GiB of them stream from a disk measured at 5.0 GB/s, and that is why the prediction is 8.3-13.9 tok/s rather than something faster.

commandanswers
zc checkWhat can this machine run, and how fast? Ranked by verdict, then speed, then context.
zc plan <model>What would it take to run this well? The answer is a bandwidth figure you can check against any spec sheet, not a GPU name.
zc check <hf-repo>Will a model outside the 26-model catalog fit? Arithmetic over what the repository publishes.
zc verify <model>Run it for real for 30 seconds. Predicted versus actual, appended to a dataset on your disk.
zc shareTurn that measurement into a pull request. Shows the whole record, then opens your browser. Never a token.
zc check --cardA link to a card of your result, to post anywhere. The result rides in the link after the #; nothing is uploaded.
zc serveThe same answers over HTTP on localhost, or as MCP tools with --mcp, so an AI assistant can ask what your machine runs.
zc doctorEverything probed, measured and concluded, as Markdown for a bug report.

Built for the machines that get told "you need a better GPU": 8 GB Windows laptops, old Intel Macs, WSL2, Raspberry Pis. It works on a 4090 too.

accuracy · recompute it with zc gate

How wrong it has been, out of sample.

9.4%median error per machine
8machines7 hypervisor, 1 bare metal, 15 runs
66.7%of measurements landed inside the published range
Pre-1.0. The Phase 0 gate is open. The gate is median error under 25% across at least 5 machines including 2 on bare metal. The median clears it. The bare-metal count does not: there is one, and it is the laptop this was written on. Cloud runners are hypervisors and run 10–30% below real hardware, so a gate passed in CI would prove nothing.

after one zc verify on your machine, your own zc gate prints:
PASS median 11.6% < 25% across 9 machines.

the one thing this project needs

A real machine that is not this one.

A Windows laptop, a Linux desktop, an old Intel Mac. Three commands, about twenty minutes, and the record is written to your disk only until you say otherwise.

  1. ollama pull qwen3:1.7bor measure whatever you already have
  2. zc verify qwen3:1.7b30s: predicted vs actual, written to your disk only
  3. zc shareshows you the record and what is not in it, then offers to open a browser

install

Two seconds to find out.

One binary, under 5 MB, statically linked on Linux. It opens no connection unless you hand it a Hugging Face repo, and it prints the URL first when it does.

curl -fsSL https://raw.githubusercontent.com/DEEPESH-845/ZeroCloud/main/install.sh | sh

Windows .exe from ReleasesBuild from source

cargo install --git https://github.com/DEEPESH-845/ZeroCloud zerocloud-cli