Skip to content

Medgemma 27B Text IT VRAM requirements

How much VRAM Medgemma 27B Text IT needs
4-bit weights: 15.2 GBWith 8K context: 17.4 GBWith 32K context: 19.3 GB8-bit, 8K context: 28.9 GB
Parameters
27B
Longest context
128K
Released
May 2025
License
Health AI Developer Foundations
Access
Gated on the Hub
Strongest at
Not rated

Hugging Face asks you to accept its terms before it serves the weights. Its licence (Health AI Developer Foundations) is not a standard open-source one: check the terms before commercial use.

How much VRAM Medgemma 27B Text IT needs

Memory Medgemma 27B Text IT needs at each precision and context length
PrecisionWeightsWith 8KWith 32KWith 128K
16-bit50.3 GB52.5 GB54.3 GB61.8 GB
8-bit26.7 GB28.9 GB30.7 GB38.2 GB
6-bit20.6 GB22.8 GB24.6 GB32.1 GB
5-bit17.9 GB20.0 GB21.9 GB29.4 GB
4-bit15.2 GB17.4 GB19.3 GB26.8 GB
3-bit12.3 GB14.4 GB16.3 GB23.8 GB
2-bit9.4 GB11.6 GB13.5 GB21.0 GB
1.6-bit5.2 GB7.3 GB9.2 GB16.7 GB

One conversation, 16-bit context cache, runtime overhead included.

GPUs and Macs that run Medgemma 27B Text IT

The best way Medgemma 27B Text IT runs on common GPUs, Macs and AI boxes
MachineBest fitContextSpeedFirst replyReport
RTX 4060Too bigPDF: Medgemma 27B Text IT on RTX 4060 report
RTX 5060Too bigPDF: Medgemma 27B Text IT on RTX 5060 report
RTX 3070Too bigPDF: Medgemma 27B Text IT on RTX 3070 report
RTX 3080 10 GBToo bigPDF: Medgemma 27B Text IT on RTX 3080 10 GB report
RTX 3060 12 GBToo bigPDF: Medgemma 27B Text IT on RTX 3060 12 GB report
Arc B580Too bigPDF: Medgemma 27B Text IT on Arc B580 report
RTX 4070Too bigPDF: Medgemma 27B Text IT on RTX 4070 report
RTX 4070 SuperToo bigPDF: Medgemma 27B Text IT on RTX 4070 Super report
RTX 5070Too bigPDF: Medgemma 27B Text IT on RTX 5070 report
RTX 4060 Ti 16 GB3-bit16K16 tok/s2.4 sPDF: Medgemma 27B Text IT on RTX 4060 Ti 16 GB report
RTX 5060 Ti 16 GB3-bit16K24 tok/s2.3 sPDF: Medgemma 27B Text IT on RTX 5060 Ti 16 GB report
Arc A770 16 GB3-bit16K21 tok/s2.6 sPDF: Medgemma 27B Text IT on Arc A770 16 GB report
Radeon RX 9070 XT3-bit16K28 tok/s1.5 sPDF: Medgemma 27B Text IT on Radeon RX 9070 XT report
RTX 4070 Ti Super3-bit16K35 tok/s1.2 sPDF: Medgemma 27B Text IT on RTX 4070 Ti Super report
RTX 4080 Super3-bit16K38 tok/s1.0 sPDF: Medgemma 27B Text IT on RTX 4080 Super report
RTX 5070 Ti3-bit16K46 tok/s1.2 sPDF: Medgemma 27B Text IT on RTX 5070 Ti report
RTX 50803-bit16K49 tok/s1.0 sPDF: Medgemma 27B Text IT on RTX 5080 report
Radeon RX 7900 XTX5-bit40K29 tok/s2.4 sPDF: Medgemma 27B Text IT on Radeon RX 7900 XTX report
RTX 30905-bit40K34 tok/s1.5 sPDF: Medgemma 27B Text IT on RTX 3090 report
RTX 40905-bit40K36 tok/s0.6 sPDF: Medgemma 27B Text IT on RTX 4090 report
Radeon AI PRO R97008-bit24K14 tok/s1.5 sPDF: Medgemma 27B Text IT on Radeon AI PRO R9700 report
RTX 50908-bit24K42 tok/s0.5 sPDF: Medgemma 27B Text IT on RTX 5090 report
2× RTX 30908-bit128K23 tok/s0.9 sPDF: Medgemma 27B Text IT on 2× RTX 3090 report
2× RTX 40908-bit128K25 tok/s0.4 sPDF: Medgemma 27B Text IT on 2× RTX 4090 report
RTX PRO 5000 Blackwell 48 GB8-bit128K32 tok/s0.8 sPDF: Medgemma 27B Text IT on RTX PRO 5000 Blackwell 48 GB report
RTX 6000 Ada8-bit128K24 tok/s0.6 sPDF: Medgemma 27B Text IT on RTX 6000 Ada report
L40S8-bit128K21 tok/s0.9 sPDF: Medgemma 27B Text IT on L40S report
2× RTX 50908-bit128K42 tok/s0.3 sPDF: Medgemma 27B Text IT on 2× RTX 5090 report
4× RTX 30908-bit128K23 tok/s0.5 sPDF: Medgemma 27B Text IT on 4× RTX 3090 report
RTX PRO 6000 Blackwell8-bit128K42 tok/s0.4 sPDF: Medgemma 27B Text IT on RTX PRO 6000 Blackwell report
Mac mini M4 16 GBToo bigPDF: Medgemma 27B Text IT on Mac mini M4 16 GB report
Mac mini M4 24 GB3-bit20K7.6 tok/s34 sPDF: Medgemma 27B Text IT on Mac mini M4 24 GB report
Mac mini M4 32 GB4-bit44K6.1 tok/s34 sPDF: Medgemma 27B Text IT on Mac mini M4 32 GB report
Mac mini M4 Pro 24 GB3-bit20K16 tok/s17 sPDF: Medgemma 27B Text IT on Mac mini M4 Pro 24 GB report
Mac mini M4 Pro 48 GB8-bit72K7.9 tok/s17 sPDF: Medgemma 27B Text IT on Mac mini M4 Pro 48 GB report
Mac mini M4 Pro 64 GB8-bit128K7.9 tok/s17 sPDF: Medgemma 27B Text IT on Mac mini M4 Pro 64 GB report
M4 Max 128 GB8-bit128K14 tok/s8.5 sPDF: Medgemma 27B Text IT on M4 Max 128 GB report
M5 Max 128 GB8-bit128K16 tok/s2.5 sPDF: Medgemma 27B Text IT on M5 Max 128 GB report
M3 Ultra 96 GB8-bit128K18 tok/s4.8 sPDF: Medgemma 27B Text IT on M3 Ultra 96 GB report
M3 Ultra 256 GB8-bit128K18 tok/s4.8 sPDF: Medgemma 27B Text IT on M3 Ultra 256 GB report
M3 Ultra 512 GB8-bit128K18 tok/s4.8 sPDF: Medgemma 27B Text IT on M3 Ultra 512 GB report
M5 Ultra 512 GB8-bit128K25 tok/s1.5 sPDF: Medgemma 27B Text IT on M5 Ultra 512 GB report
Ryzen AI Max+ 395 64 GB8-bit128K5.5 tok/s4.9 sPDF: Medgemma 27B Text IT on Ryzen AI Max+ 395 64 GB report
Ryzen AI Max+ 395 128 GB8-bit128K5.5 tok/s4.9 sPDF: Medgemma 27B Text IT on Ryzen AI Max+ 395 128 GB report
RTX Spark8-bit128K7.6 tok/s1.7 sPDF: Medgemma 27B Text IT on RTX Spark report
DGX Spark8-bit128K6.9 tok/s1.7 sPDF: Medgemma 27B Text IT on DGX Spark report
Dual DGX Spark8-bit128K6.9 tok/s1.0 sPDF: Medgemma 27B Text IT on Dual DGX Spark report
DGX Station GB3008-bit128K136 tok/s0.1 sPDF: Medgemma 27B Text IT on DGX Station GB300 report
2× RTX PRO 6000 Blackwell8-bit128K42 tok/s0.2 sPDF: Medgemma 27B Text IT on 2× RTX PRO 6000 Blackwell report
4× RTX PRO 6000 Blackwell8-bit128K42 tok/s0.1 sPDF: Medgemma 27B Text IT on 4× RTX PRO 6000 Blackwell report
8× RTX PRO 6000 Blackwell8-bit128K42 tok/s0.1 sPDF: Medgemma 27B Text IT on 8× RTX PRO 6000 Blackwell report
A100 80 GB SXM8-bit128K48 tok/s1.1 sPDF: Medgemma 27B Text IT on A100 80 GB SXM report
H100 SXM8-bit128K74 tok/s0.3 sPDF: Medgemma 27B Text IT on H100 SXM report
4× H200 NVL8-bit128K100 tok/s0.1 sPDF: Medgemma 27B Text IT on 4× H200 NVL report
8× H200 NVL8-bit128K100 tok/s0.1 sPDF: Medgemma 27B Text IT on 8× H200 NVL report

Best fit is the highest quality, up to 8-bit, that leaves 16K of context. First reply is the wait for a 2K prompt. Speeds are rough, plus or minus 25%.

How to run it

llama.cpp
llama-server -hf unsloth/medgemma-27b-text-it-GGUF
vLLM
vllm serve google/medgemma-27b-text-it
MLX (Mac)
mlx_lm.chat --model mlx-community/medgemma-27b-text-it-4bit

Questions

How much VRAM does Medgemma 27B Text IT need?

Medgemma 27B Text IT needs 15.2 GB for its weights at 4-bit, 17.4 GB with an 8K context and 19.3 GB with 32K. At 8-bit, 28.9 GB.

What is the minimum VRAM for Medgemma 27B Text IT?

About 14.4 GB at 3-bit with an 8K context, the lowest precision we recommend for a model this size. The smallest machine here that runs it without spilling is the RTX 4060 Ti 16 GB.

How big is Medgemma 27B Text IT?

27B parameters: 50.3 GB of weights at 16-bit, 15.2 GB at 4-bit.

Can Medgemma 27B Text IT run on an RTX 4090?

Yes. At 5-bit it holds 40K of context and writes about 36 tokens a second.

More models