Mindket

Local Llm Vram Calculator

Newversion 1 · updated

Overview

Estimates the GPU memory a language model needs: weights, KV cache and total VRAM. For people who run models on their own graphics card and want to check the fit first.

Local Llm Vram Calculator is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • A browser, if you only use the Space online
  • Python 3.12 and pip, if you run a copy yourself
Runs in
  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python 3.12 on Windows, macOS or Linux
Start with
pip install -U huggingface_hub
hf download abdulrahmanmaslmany/local-llm-vram-calculator --repo-type space --local-dir local-llm-vram-calculator
cd local-llm-vram-calculator

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

Local Llm Vram Calculator estimates how much GPU memory a language model needs to run on your own machine. It works out the memory for the model weights, the KV cache and the total VRAM. The whole app is one Python file, app.py.

Who it suits

People who run language models on their own GPU and want to check a model fits before downloading it, and developers sizing hardware for a model.

IndustryWho uses itHow they use itExample
Local AIHobbyistsCheck whether a model fits their graphics cardLooking up the memory a model needs before downloading it
SoftwareDevelopersPlan GPU memory for a model they will serveComparing the weight and KV cache shares of the total
ITInfrastructure teamsSize hardware for a language modelEstimating the card a planned model needs

You can skip it if you only use hosted models, since you never manage the memory yourself.

Where to use it

  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python 3.12 on Windows, macOS or Linux
Use caseWhoWhat they get back
Check a model's fitLocal AI usersAn estimate of weights, KV cache and total VRAM
Plan hardwareDevelopers and IT teamsA memory figure to compare against a GPU

How to set it up

  • A browser, if you only use the Space online
  • Python 3.12 and pip, if you run a copy yourself
  1. Open the Space's page on Hugging Face to use it online. Nothing needs installing.
  2. For a local copy, install the huggingface_hub package and download the Space's files.
  3. Move into the new folder and install Gradio. The repository has no requirements file.
  4. Start the app with python.
pip install -U huggingface_hub
hf download abdulrahmanmaslmany/local-llm-vram-calculator --repo-type space --local-dir local-llm-vram-calculator
cd local-llm-vram-calculator
pip install gradio==6.30.0

How to use it

Open the Space's page, enter the details of the model you plan to run, and read the memory estimate it gives. The source does not list the input fields, so the page shows them. On your own computer, start the app first and open the page it serves.

python app.py
ToolWhat it does
python app.pyStarts the calculator on your own computer

Example

You enter the details of a model you want to run locally. The page returns the memory its weights need, the memory its KV cache takes and the VRAM you should expect to use.

For newcomers and experts

If you are new to this, VRAM is the memory on your graphics card. Open the Space, try one model you know and compare the result with your card.

For experts, the app separates the weights from the KV cache, which grows with context length and is often what pushes a model past a card's limit. The repository is just README.md and app.py, pinned to Gradio 6.30.0.

  1. Open the Space or run app.py
  2. Enter the model's details
  3. The app computes weights and KV cache
  4. It adds them into a VRAM total
  5. The estimate shows on the page

Good to know

  • Built with Gradio 6.30.0 and Python 3.12, and the main file is app.py
  • License: mit
  • Cost to run: none named
  • Data it reaches: none named
  • Real use can differ from any estimate, so leave some memory spare

README and files

README

Local Llm Vram Calculator

Estimates the GPU memory a language model needs: weights, KV cache and total VRAM. For people who run models on their own graphics card and want to check the fit first.

Made by abdulrahmanmaslmany on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: Local Llm Vram Calculator estimates how much GPU memory a language model needs to run on your own machine. It works out the memory for the model weights, the KV cache and the total VRAM. The whole app is one Python file, app.py.

Who it suits: People who run language models on their own GPU and want to check a model fits before downloading it, and developers sizing hardware for a model.

Industry | Who uses it | How they use it | Example
Local AI | Hobbyists | Check whether a model fits their graphics card | Looking up the memory a model needs before downloading it
Software | Developers | Plan GPU memory for a model they will serve | Comparing the weight and KV cache shares of the total
IT | Infrastructure teams | Size hardware for a language model | Estimating the card a planned model needs

You can skip it if you only use hosted models, since you never manage the memory yourself.

Where to use it:

  • A web browser, on the Space's own page at Hugging Face
  • A copy on your own computer, using Python 3.12 on Windows, macOS or Linux
Use case | Who | What they get back
Check a model's fit | Local AI users | An estimate of weights, KV cache and total VRAM
Plan hardware | Developers and IT teams | A memory figure to compare against a GPU

How to set it up:

  • A browser, if you only use the Space online
  • Python 3.12 and pip, if you run a copy yourself
  1. Open the Space's page on Hugging Face to use it online. Nothing needs installing.
  2. For a local copy, install the huggingface_hub package and download the Space's files.
  3. Move into the new folder and install Gradio. The repository has no requirements file.
  4. Start the app with python.
pip install -U huggingface_hub
hf download abdulrahmanmaslmany/local-llm-vram-calculator --repo-type space --local-dir local-llm-vram-calculator
cd local-llm-vram-calculator
pip install gradio==6.30.0

How to use it: Open the Space's page, enter the details of the model you plan to run, and read the memory estimate it gives. The source does not list the input fields, so the page shows them. On your own computer, start the app first and open the page it serves.

python app.py
Tool | What it does
python app.py | Starts the calculator on your own computer

Example: You enter the details of a model you want to run locally. The page returns the memory its weights need, the memory its KV cache takes and the VRAM you should expect to use.

For newcomers and experts: If you are new to this, VRAM is the memory on your graphics card. Open the Space, try one model you know and compare the result with your card.

For experts, the app separates the weights from the KV cache, which grows with context length and is often what pushes a model past a card's limit. The repository is just README.md and app.py, pinned to Gradio 6.30.0.

Open the Space or run app.py
Enter the model's details
The app computes weights and KV cache
It adds them into a VRAM total
The estimate shows on the page

Good to know:

  • Built with Gradio 6.30.0 and Python 3.12, and the main file is app.py
  • License: mit
  • Cost to run: none named
  • Data it reaches: none named
  • Real use can differ from any estimate, so leave some memory spare

On Hugging Face, 13 November 2026

  • Likes: 1
  • Built with: gradio
  • License: mit

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
Local Llm Vram Calculator This page1gradiomit
FLUX.1 [dev]Shares gradio9,583gradiomit
InstantIDShares gradio3,659gradioapache-2.0
Chat With Janus-Pro-7BShares gradio2,036gradiomit
PhotoMakerShares gradio1,960gradioapache-2.0
Z Image TurboShares gradio1,940gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k