← All free tools

How much VRAM does Gemma 2 27B need?

Gemma 2 27B needs about 57.2 GB of GPU memory at FP16 and about 17.8 GB at 4-bit. Pick a precision below to see which ComputeBD AI Computer fits and what it costs per hour in taka.

What do you want to do?

You need about 57.2 GB of GPU memory to run Gemma 2 27B at FP16 / BF16.

  • Model weights 50.7 GB
  • Conversation memory (KV cache) 1.4 GB
  • Runtime & working space 5.1 GB

NVIDIA A100 is the most affordable AI Computer that fits — ৳638/hour, billed by the minute.

AI ComputerFits?Speed (1 user)Price
NVIDIA L424 GB Too small
≈ 3 tokens/s ৳147/hr
NVIDIA A1024 GB Too small
≈ 7 tokens/s ৳196/hr
NVIDIA L40S48 GB Too small
≈ 10 tokens/s ৳343/hr
NVIDIA A10080 GB Fits
≈ 22 tokens/s ৳638/hr
NVIDIA H10080 GB Fits
≈ 37 tokens/s ৳1,047/hr
NVIDIA H200141 GB Fits
≈ 53 tokens/s ৳1,390/hr
NVIDIA B200180 GB Fits
≈ 88 tokens/s ৳1,652/hr
NVIDIA B300288 GB Fits
≈ 88 tokens/s ৳1,880/hr

Gemma 2 27B at each precision

PrecisionGPU memory neededCheapest ComputeBD AI Computer
FP32full precision — rarely needed111.9 GBNVIDIA H200 · ৳1,390/hr
FP16 / BF16standard — original quality57.2 GBNVIDIA A100 · ৳638/hr
8-bitalmost no quality loss31.5 GBNVIDIA L40S · ৳343/hr
4-bit (GGUF / AWQ / GPTQ)small quality loss, ~4× less memory17.8 GBNVIDIA L4 · ৳147/hr
Made by
Google
Parameters
27.2B
Max context
8,192 tokens
LoRA / QLoRA fine-tune
≈ 60.3 GB / 23.9 GB
Hugging Face
google/gemma-2-27b-it

How the estimate works

These are good planning estimates, not guarantees: the real figure depends on the software (vLLM, llama.cpp, Transformers…), settings and your data. Leave ~10 % spare.

VRAM needed, model by model

Frequently asked questions

How much VRAM does Gemma 2 27B need?

About 57.2 GB at FP16 (original quality) and about 17.8 GB at 4-bit, for one user with a 4k context.

Which GPU can run Gemma 2 27B?

At full quality it fits on an NVIDIA A100 (80 GB), ৳638/hour on ComputeBD.

How much VRAM to fine-tune Gemma 2 27B?

About 60.3 GB with LoRA and 23.9 GB with QLoRA (sequence length 2,048, batch 1, gradient checkpointing). Estimate the time and cost with the fine-tuning cost estimator.

Try it on a real AI Computer

JupyterLab opens in about a minute. Pay in taka with bKash, billed by the minute — stop whenever you like.