MedGemma 2: what it needs, and how to run it

MedGemma 2 by Google: medical text and images. It sees images, calls tools, thinks step by step. 2 sizes, from 6.6 GB to 19 GB at 4-bit.

Rent a GPU with 24 GB

Every size, and what it needs

SizeDownload sizeContextNeedsRun it here
MedGemma 2 E4B
hears audio
6.6 GB128K8 GB of graphics memoryRent a GPU with 8 GB
medgemma2:e4b
MedGemma 2 26B19 GB256K22 GB of graphics memoryRent a GPU with 24 GB
medgemma2:26b

Downloads are the 4-bit files most people run, as the Ollama library publishes them. Longer conversations and documents need more memory; a bigger card is always safe.

Graphics cards that hold MedGemma 2 26B

See every graphics card and its price →

Questions about MedGemma 2

What GPU do I need for MedGemma 2?

MedGemma 2 26B needs a graphics card with at least 22 GB of memory: it downloads 19 GB at 4-bit, and the rest is room for the conversation. The smallest, MedGemma 2 E4B, runs on a card with 8 GB.

What is MedGemma 2 for?

It was trained on medical text and images, for research and tools — not to give anyone medical advice.

How do I call MedGemma 2 from my code?

Rent a GPU with the Ollama environment: it answers OpenAI-compatible requests for medgemma2:26b at an address of its own. How →

Can I run MedGemma 2 without a graphics card?

On a computer with enough memory, on its processor — more slowly than on a graphics card. MedGemma 2 26B needs about 24 GB of memory: computers with lots of memory.

Is MedGemma 2 free to use?

Its weights are free to download under its maker’s licence — read it on the model’s page before you use it in a product.

Open models like MedGemma 2

Every open model, and what each one needs →