MagicTools
Back

LLM VRAM Calculator — Can I Run It?

Estimate how much GPU memory (VRAM) you need to run open-weight LLMs like Kimi K3, DeepSeek R1, Qwen3, or Llama locally. Pick a model, quantization, and context length — the calculator adds up weights, KV cache, and runtime overhead, then shows which GPUs or Macs can fit it. Runs entirely in your browser: no upload, no signup.

2.8T total params · 48B active (MoE) · max 1M context · specs partially estimated

Native format of Kimi K3 / gpt-oss · ~0.53 bytes/param

Estimated memory needed

1.47 TB

Model weights1.35 TB
KV cache (131,072 tokens)11.0 GB
Runtime overhead111 GB

Architecture details for this model are estimated — treat results as a ballpark.

Will it fit?

RTX 3060 12GB137× needed
RTX 4060 Ti 16GB103× needed
RTX 3090 / 4090 24GB69× needed
RTX 5090 32GB52× needed
A100 40GB41× needed
A100 / H100 80GB21× needed
H200 141GB12× needed
AMD MI300X 192GB9× needed
B200 192GB9× needed
Mac 36GB unified✗ too big
Mac 64GB unified✗ too big
Mac 128GB unified✗ too big
Mac M3 Ultra 512GB✗ too big

Assumes ~92% of device memory is usable. Multi-GPU counts are for tensor/pipeline parallel serving (vLLM, SGLang); Apple Silicon uses unified memory via llama.cpp or MLX.

How to use / Why use this tool / FAQ

How to use

Pick a model from the presets (Kimi K3, Kimi K2, DeepSeek V3/R1, GLM-4.5, Qwen3, gpt-oss, Llama 3.x, Gemma 3, Mistral) or enter a custom parameter count. Choose a quantization — FP16, FP8, MXFP4, or GGUF quants like Q4_K_M — and a context length. The calculator instantly shows the estimated memory needed, broken down into model weights, KV cache, and runtime overhead, plus a 'Will it fit?' table covering common GPUs (RTX 4090, RTX 5090, A100, H100, H200, B200, MI300X) and Apple Silicon Macs with unified memory. Everything runs locally in your browser — nothing is uploaded.

Why use this tool

Every open-weight model release raises the same question: can my hardware actually run it? Answering it by hand is error-prone — you need to combine parameter count, quantization bytes-per-weight, KV cache growth with context length, and runtime overhead. This calculator does that math for the latest open-weight models, including trillion-parameter MoE flagships like Kimi K3 and DeepSeek R1 whose MLA-compressed KV caches behave differently from dense models. Use it before renting GPUs, buying a Mac for local inference, or downloading a 1 TB weight file, to know whether a single RTX 4090 is enough or you need 8× H100. Estimates are for planning; real usage varies slightly by runtime (llama.cpp, vLLM, SGLang, MLX).

FAQ

How much VRAM do I need to run Kimi K3?
Kimi K3 is a 2.8-trillion-parameter MoE model shipped in MXFP4. Weights alone are roughly 1.4 TB, so even at its native quantization you need a multi-GPU server — around 8× H200 141GB or more depending on context length. It is far beyond any consumer GPU or Mac; for most people the practical way to use K3 is a hosted API.
Can I run DeepSeek R1 on a single GPU?
Not the full 671B model. At Q4 quantization the weights alone are about 380 GB, requiring roughly 5-6× H100 80GB. Single-GPU users should look at distilled variants (e.g. R1-Distill-Qwen-32B), which fit on a 24 GB card at Q4_K_M.
What is MXFP4 quantization?
MXFP4 is a 4-bit floating-point microscaling format. Weights are stored in blocks that share a scaling factor, averaging just over 4 bits (~0.53 bytes) per parameter. Kimi K3 and OpenAI's gpt-oss models ship natively in MXFP4, which is why their download sizes are about a quarter of FP16.
How does context length affect memory usage?
Each token in the context stores keys and values (the KV cache) for every layer. Cache size grows linearly with context length: for a dense 70B model at FP16 it is roughly 40 GB at 128K tokens. MLA-based models (DeepSeek, Kimi) compress this dramatically, and the FP8 KV cache option halves it again.
Which GGUF quantization should I choose?
Q4_K_M is the community default — about 4.8 bits per weight with modest quality loss. Use Q5_K_M or Q6_K if you have spare memory, Q8_0 for near-lossless quality, and Q3/Q2 only when nothing else fits — quality degrades noticeably below 4 bits.
Do the estimates include the KV cache and overhead?
Yes. The total is weights + KV cache at your chosen context length + runtime overhead (buffers, activations, fragmentation — about 8% of weights with a 1.5 GB floor). Many simpler calculators only count weights, which underestimates real usage significantly at long context.
How accurate are these numbers?
They are planning estimates, typically within ~10% of real usage at batch size 1. Actual consumption varies by runtime and settings: vLLM pre-allocates KV blocks, llama.cpp offloads layers, and MLX on Apple Silicon shares unified memory with the OS. Very new models with unpublished architecture details are marked as estimated.
Is my data uploaded anywhere?
No. The calculator is pure client-side JavaScript — model specs are bundled with the page and all math runs in your browser. No sign-up, no upload, no tracking of your inputs.