Back to directory

GGUF Memory Estimator

A browser-based and command-line calculator that estimates VRAM and RAM requirements for a GGUF model hosted on Hugging Face, without downloading the model.

GGUF Memory Estimator

GGUF Memory Estimator estimates the VRAM and RAM a GGUF model needs, given only a Hugging Face repository path, by fetching the model's metadata through HTTP Range requests rather than downloading the model file itself. It runs in a browser, served over local HTTP because the CORS headers it needs are blocked under the file protocol, or from the command line with options for context length, batch size, separate key and value cache quantization types, and available VRAM or RAM to add a fit check to its output.

Its calculation covers model weight size computed from exact per-quantization-type byte sizes in the GGUF metadata, key-value cache size from layer count, head count, head size and context length, activation memory including the mixture-of-experts case, and multimodal projector weights and their per-image activation cost. Performance flags can add a decode, prefill and time-to-first-token estimate for a named GPU or CPU, and mixture-of-experts flags can move expert weights between VRAM and RAM.

It is written in JavaScript and runnable through a local Python HTTP server or a Node command-line script.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.