anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Estimates how much GPU memory a Hugging Face model needs to run or fine-tune, and shows the cheapest GPU setups with live rental prices. For people planning to host or train a model.
VRAM & GPU Cost 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.
pip install -U huggingface_hub hf download fastgpu/vram-and-gpu-cost-calculator --repo-type space --local-dir vram-and-gpu-cost-calculator cd vram-and-gpu-cost-calculator
VRAM & GPU Cost Calculator is a browser page that estimates the GPU memory a model needs. You pick a Hugging Face model, and it sizes memory for running, fine-tuning with LoRA, full fine-tuning, generating, transcribing or embedding. It then lists the cheapest GPU setups that fit and prices them live.
It suits people who plan to host or train a model and want to know what hardware to rent before they spend anything.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Machine learning | ML engineers | Check which GPUs can hold a model | Look up a model and read the cheapest setups |
| Startups | Founders | Estimate the cost of serving a model to users | Read the modelled cost per million tokens |
| Research | Researchers | Plan a fine-tuning run | Compare LoRA and full fine-tuning memory |
| Hobbyist AI | Enthusiasts | Find out if a model fits a home GPU | Try the 4-bit setting |
Skip it if you need a measured benchmark, since the serving cost is a model and real stacks usually do worse.
| Use case | Who | What they get back |
|---|---|---|
| Size a model's memory | Engineers | GPU memory needed for the task and precision you choose |
| Find cheap hardware | Founders | GPU setups that hold the model, priced live with a link to each offer |
| Estimate serving cost | Operators | A modelled cost per 1M tokens, with the working shown |
The online page needs nothing and asks for no sign-in. A local copy needs Python only to fetch the files.
pip install -U huggingface_hub hf download fastgpu/vram-and-gpu-cost-calculator --repo-type space --local-dir vram-and-gpu-cost-calculator cd vram-and-gpu-cost-calculator
Pick a model in the search box, or paste its org and name. If your model is missing from the Hub, enter its size, for example 70B. Then read the memory figure, the GPU setups and the serving cost.
| Tool | What it does |
|---|---|
| Search box | Lists thousands of popular public models, and falls back to the Hub's own search as you type |
| Precision | Chooses the number format for the estimate: as the model was published, or 16, 8 or 4 bits |
| Weights menu | For a GGUF repo, lists each build with its file size so memory is sized from the file you pick |
| Requests and context | Sets how many requests run at once and how long the context is, one request at 4K tokens by default |
You type 70B because the model is not on the Hub. The page shows how much GPU memory a model of that size needs, then lists the cheapest setups that hold it with their live prices.
VRAM is the memory on a graphics card, and a model must fit in it to run well. Start by picking a model you know and read the cheapest setup the page lists.
The weights part of the estimate multiplies the parameter count by the bytes each one takes: 2 for 16-bit, 1 for 8-bit, half a byte for 4-bit. The KV cache and some headroom are added on top. A full fine-tune counts about 16 bytes per parameter plus activations, while LoRA counts frozen weights, adapters and optimizer state. A mixture of experts is sized on all its parameters. For GGUF, the estimate uses the size of the build file you pick. In practice such a build holds more than four bits for every parameter. The serving cost is modelled from memory bandwidth, so treat it as a floor.
Estimates how much GPU memory a Hugging Face model needs to run or fine-tune, and shows the cheapest GPU setups with live rental prices. For people planning to host or train a model.
Made by fastgpu 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.
What it is: VRAM & GPU Cost Calculator is a browser page that estimates the GPU memory a model needs. You pick a Hugging Face model, and it sizes memory for running, fine-tuning with LoRA, full fine-tuning, generating, transcribing or embedding. It then lists the cheapest GPU setups that fit and prices them live.
Who it suits: It suits people who plan to host or train a model and want to know what hardware to rent before they spend anything.
Industry | Who uses it | How they use it | Example
Machine learning | ML engineers | Check which GPUs can hold a model | Look up a model and read the cheapest setups
Startups | Founders | Estimate the cost of serving a model to users | Read the modelled cost per million tokens
Research | Researchers | Plan a fine-tuning run | Compare LoRA and full fine-tuning memory
Hobbyist AI | Enthusiasts | Find out if a model fits a home GPU | Try the 4-bit setting
Skip it if you need a measured benchmark, since the serving cost is a model and real stacks usually do worse.
Where to use it:
Use case | Who | What they get back
Size a model's memory | Engineers | GPU memory needed for the task and precision you choose
Find cheap hardware | Founders | GPU setups that hold the model, priced live with a link to each offer
Estimate serving cost | Operators | A modelled cost per 1M tokens, with the working shown
How to set it up: The online page needs nothing and asks for no sign-in. A local copy needs Python only to fetch the files.
pip install -U huggingface_hub
hf download fastgpu/vram-and-gpu-cost-calculator --repo-type space --local-dir vram-and-gpu-cost-calculator
cd vram-and-gpu-cost-calculator
How to use it: Pick a model in the search box, or paste its org and name. If your model is missing from the Hub, enter its size, for example 70B. Then read the memory figure, the GPU setups and the serving cost.
Tool | What it does
Search box | Lists thousands of popular public models, and falls back to the Hub's own search as you type
Precision | Chooses the number format for the estimate: as the model was published, or 16, 8 or 4 bits
Weights menu | For a GGUF repo, lists each build with its file size so memory is sized from the file you pick
Requests and context | Sets how many requests run at once and how long the context is, one request at 4K tokens by default
Example: You type 70B because the model is not on the Hub. The page shows how much GPU memory a model of that size needs, then lists the cheapest setups that hold it with their live prices.
For newcomers and experts: VRAM is the memory on a graphics card, and a model must fit in it to run well. Start by picking a model you know and read the cheapest setup the page lists.
The weights part of the estimate multiplies the parameter count by the bytes each one takes: 2 for 16-bit, 1 for 8-bit, half a byte for 4-bit. The KV cache and some headroom are added on top. A full fine-tune counts about 16 bytes per parameter plus activations, while LoRA counts frozen weights, adapters and optimizer state. A mixture of experts is sized on all its parameters. For GGUF, the estimate uses the size of the build file you pick. In practice such a build holds more than four bits for every parameter. The serving cost is modelled from memory bandwidth, so treat it as a floor.
Pick a model or type a size
Metadata is read from the Hub
Memory is sized for your task
Live GPU prices are matched
Cost per 1M tokens is modelled
Good to know:
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.
README.md 5 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| VRAM & GPU Cost Calculator This page | 39 | static | mit | |
| LLM VRAM CalculatorShares calculator · inference · vram | 3 | static | mit | |
| InferenceSupportShares static | 764 | static | afl-3.0 | |
| HuggyShares static | 463 | static | cc-by-nc-sa-4.0 | |
| Z-Image Lookalike LoRA IndexShares static | 189 | static | apache-2.0 | |
| Granite Docling 258M WebGPUShares static | 163 | static | apache-2.0 |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
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…
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…
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.