無料ツール

LLM GPU VRAM 容量計算機

FP16 / INT8 / Q4_K_M と KV キャッシュを含めた必要 VRAM を算出。

1. ハードウェア・メモリ

GPU 基数
合計物理 VRAM24 GB

2. モデル・量子化・コンテキスト

Fast, low-cost model ideal for structured extraction
量子化方式 (GGUF / 精度)
コンテキスト長 (KV Cache)
推定必要総メモリ
23.4 GB/ 24.0 GB 利用可能 (98%)
容量逼迫 (0.6 GB 余裕)
メモリ内訳
モデル重み (18.1 GB)KV キャッシュ (4.0 GB)CUDA/Metal オーバーヘッド (1.3 GB)
モデル重み
18.1 GB
32B @ 4.85 bpw
KV Cache (16K)
4.0 GB
FP16 GQA
ランタイム負荷
1.3 GB
CUDA + activations
推定生成速度
~40 tok/s
32B アクティブ重み
クラウドで 24 GB+ VRAM が必要ですか? RunPod、Vast.ai、Lambda、CoreWeave、AWS/GCP の時間単価を比較できます。この構成向けのクラウドGPU料金を比較

使い方・仕組み

  1. 1Select your target GPU (RTX 4090, RTX 5090, A100, H100, or Apple Silicon Unified Memory) and GPU count (1x–8x).
  2. 2Pick an open-weight model preset (DeepSeek V4 Pro, DeepSeek V4.1 Flash, Llama 4 Maverick/Scout, Mistral Large 4, Qwen3.8 Flash, GLM 5.3) or slide custom parameters from 3B to 405B.
  3. 3Choose a GGUF/weight quantization level (FP16 down to Q3_K_M) and target context window (4K to 128K).
  4. 4Review exact VRAM allocation across weights, KV cache, and runtime overhead, plus an estimated tokens/sec decode speed.

よくある質問 (FAQ)

Why does context length increase VRAM requirements so much?

Every token in your active context window stores Key and Value tensors across all transformer layers (the KV cache). At 128K context, a 70B model's FP16 KV cache alone can require ~40 GB of VRAM on top of the model weights.

Which GGUF quantization should I pick for local inference?

Q4_K_M (~4.85 bits/param) is the standard sweet spot—cutting FP16 memory by nearly 4× with minimal quality loss. Use Q5_K_M or Q6_K for coding/math workloads if you have spare VRAM.

How much Unified Memory can macOS allocate to local LLMs?

By default, macOS reserves roughly 20–25% of Unified Memory for the OS and window server, leaving ~75–80% wired to the GPU. On a 64 GB M3/M4 Max, aim for models under ~51 GB total footprint.

Why is DeepSeek V4 or Llama 4 faster than a dense model of the same size?

Mixture-of-Experts (MoE) models store all 109B–671B parameters in VRAM, but only read active expert weights (17B–37B) per generated token. Decode speed is memory-bandwidth bound on the active weights, not total weights.

すべての計算機・ツールを見る

無料ツール一覧 →