whatmodel.sh / MedGemma 4B IT
MedGemma 4B IT
↗ share
+ contribute
MedGemma 4B IT is an open-weights language model from Google, released May 2025. Its published size is 4.3B parameters. Licence: health-ai-developer-foundations.
Catalogue identity notes
google/medgemma-4b-it @290cda5 (created 2025-05-19, licence health-ai-developer-foundations). Google MedGemma (image-text-to-text; SigLIP medical image encoder.) built on Gemma 3; gated under the Health AI Developer Foundations terms. Independent rows: BRIDGE clinical zero-shot (87 tasks) and Open PT-LLM.
Model information sources
Release date ↗ · Weights licence ↗
HF safetensors metadata 4,300,079,472 parameters.
$ how it compares
The LLMs ranked either side of MedGemma 4B IT, out of 828 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 490 | 46±1 | comparison only | |||
| 491 | 46±1 | local | |||
| 492 | 46±3 | local | |||
| 493 | 46±1 | local | |||
| 494 | 46±3 | local | |||
| more from Google | |||||
| 9 | 82±1 | limited preview | |||
| 23 | 77±1 | api $1.50/M | |||
| 32 | 76±1 | api $1.50/M | |||
$ what it's good at
other tests4 not in a task · 97% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Polish medical board exams, bias-mitigated MCQ protocol (7-exam average) | 43.4% ✎ | ▄·▂▂▃··█▂▄·▄ beats 4/13 | 37% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 29.4% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 29/97 | 31% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 68.2% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 149/276 | 15% |
| SurgiQ surgical MCQ (zero-shot, log-probability scoring) | 44.1% ✎ | ▂···▂▂·▃▂▃██ beats 4/17 | 14% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run MedGemma 4B IT · needs ~2.5 GB · from huggingface.co/lmstudio-communitychat in the terminal
llama cli -hf lmstudio-community/medgemma-4b-it-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf lmstudio-community/medgemma-4b-it-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run MedGemma 4B IT · needs ~2.5 GB · from huggingface.co/lmstudio-community
- Or download it in the terminal
lms get https://huggingface.co/lmstudio-community/medgemma-4b-it-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run MedGemma 4B IT · needs ~3.3 GB · from ollama.comchat in the terminal
ollama run medgemma:4b
MLX (Mac)
- Install MLX (Mac) · Apple silicon Macs only, text only.with uv
uv tool install mlx-lmorpip install mlx-lm - Run MedGemma 4B IT · needs ~3 GB, Mac only · from huggingface.co/lmstudio-communitychat in the terminal
mlx_lm.chat --model lmstudio-community/medgemma-4b-it-MLX-4bit - Or start an OpenAI-compatible server at http://localhost:8080/v1
mlx_lm.server --model lmstudio-community/medgemma-4b-it-MLX-4bit
Official weights and documentation: huggingface.co/google ↗
$ how the score was worked out · Reassessing High-Performing L… 37%, BRIDGE Medical Leaderboard (H… 31%, Open Portuguese LLM Leaderboa… 15% and 1 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 1 | 37% | |
| 1 | 31% | |
| 1 | 15% | |
| 1 | 14% | |
| prior · pull toward the middle | 3% | |
| weighted average | = 46.4 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json