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.
Score within the LMArena (text) comparison set only.
$ how it compares
The LLMs ranked either side of MedGemma 4B IT, out of 897 with a score, then more from Google.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 522 | 47±7 | comparison only | |||
| 523 | 47±3 | local | |||
| 524 | 47±2 | local | |||
| 525 | 47±0 | comparison only | |||
| 526 | 47±2 | api $0.061/M | |||
| more from Google | |||||
| 3 | 84±1 | api $4.00/M | |||
| 9 | 81±1 | api $4.00/M | |||
| 14 | 79±2 | api $3.00/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 | 36% |
| BRIDGE clinical text, zero-shot average (87 tasks) | 29.4% ✎ | ▁▁▁▁▁▂▂▃▄▆█▃ beats 29/97 | 33% |
| 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 | 13% |
$ where to run it
Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.
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 4.9 GB memory, 3.34 GB download · 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 4.9 GB memory, 3.34 GB download · 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 4.9 GB memory, 3.34 GB download · 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 4.6 GB memory, 3 GB download, 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
Model repository and documentation: huggingface.co/google ↗
$ how the score was worked out · Reassessing High-Performing L… 36%, BRIDGE Medical Leaderboard (H… 33%, 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 | 36% | |
| 1 | 33% | |
| 1 | 15% | |
| 1 | 13% | |
| prior · pull toward the middle | 3% | |
| weighted average | = 47.1 |
$ 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