Model reference · open weights

MediX-R1

LLMs MBZUAI Vision + text 4 builds Non-commercial 1k dl/mo

MediX-R1 is an open-weight language model from MBZUAI. MediX-R1-2B (BF16) weighs 4.9 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • MediX-R1 is a medical multimodal large language model developed by MBZUAI that uses reinforcement learning to generate free-form, clinically grounded answers.
  • The model supports image-text-to-text tasks in English and is available in 2B, 8B, and 30B parameter sizes.
  • It is released under the CC-BY-NC-SA 4.0 license for research purposes only.

Summary of the MBZUAI/MediX-R1-30B-GGUF model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released byMBZUAI
Released2026-02-27
VRAM4.9 GB for the weights

What it runs on

Memory and cards for MediX-R1-2B (BF16)

4.9 GBweights, file size
115 MBcache per 1K tokens
2.0 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB5140K11.6 GB
RTX 4060 Ti 16 GB9273K15.4 GB
RTX 3090 24 GB174141K23.4 GB
RTX 4090 24 GB174140K23.4 GB
RTX 5090 32 GB256205K31.0 GB
L40S 48 GB399all 256K44.0 GB
A100 80 GB7518all 256K78.2 GB
H100 80 GB7117all 256K78.1 GB
RTX PRO 6000 Blackwell 96 GB8822all 256K93.8 GB
DGX Spark (GB10) 128 GB unified10225all 256K107 GB
H200 141 GB13533all 256K138 GB
B200 180 GB17543all 256K176 GB
2× RTX 3060 12 GB
tensor parallel
153122K11.6 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
17.8 GB10.6 GB
511.5 GB25.6 GB
814.4 GB36.9 GB
1621.9 GB67.0 GB
3236.9 GB127 GB
6467.0 GB247 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
MediX-R1-30B-GGUF ↗
18 builds: Q2_K 11.3 GB … Q8_0 32.5 GB
—GGUF 18.6 GB2× RTX 3060 12 GB
MediX-R1-8B ↗ 8.8BBF16 17.5 GB2× RTX 3060 12 GB
MediX-R1-30B ↗ 31.1BBF16 62.1 GBH100 80 GB
MediX-R1-2B (above) ↗ 2.4BBF16 4.9 GBRTX 3060 12 GB

From the model card

What MBZUAI says about MediX-R1

Read the model card

Sahal Shaji Mullappilly*, Mohammed Irfan K*, Omair Mohamed, Mohamed Zidan, Fahad Khan, Salman Khan, Rao Muhammad Anwer, and Hisham Cholakkal

*Equally contributing first authors

Mohamed Bin Zayed University of Artificial Intelligence (MBZUAI), UAE


Overview

MediX-R1 is an open-ended Reinforcement Learning (RL) framework for medical multimodal large language models (MLLMs) that enables clinically grounded, free-form answers beyond multiple-choice formats. MediX-R1 fine-tunes vision-language backbones with Group-Based RL and a composite reward tailored for medical reasoning: an LLM-based accuracy reward, a medical embedding-based semantic reward, and lightweight format and modality rewards that enforce interpretable reasoning.

Despite using only ~50K instruction examples, MediX-R1 achieves excellent results across standard medical LLM and VLM benchmarks, outperforming strong open-source baselines.

Highlights:

  • Our 8B model achieves an overall average of 68.8%, outperforming the much larger 27B MedGemma (68.4%).
  • Our 30B model achieves the best overall score of 73.6%, demonstrating the effectiveness of our composite reward design.

Contributions

  • We introduce an open-ended RL framework for medical MLLMs that produces clinically grounded, free-form answers beyond MCQ formats.
  • We design a composite reward combining LLM-based accuracy, embedding-based semantic similarity, format adherence, and modality recognition, providing stable and informative feedback where traditional verifiable or MCQ-only rewards fall short.
  • We propose a unified evaluation framework for both text-only and image+text tasks using a Reference-based LLM-as-judge, capturing semantic correctness, reasoning, and contextual alignment.
  • Despite using only ~50K instruction examples, MediX-R1 achieves state-of-the-art results across diverse medical LLM and VLM benchmarks, with particularly large gains on open-ended clinical tasks.

Architecture


Composite Reward Design

MediX-R1 uses a multi-signal reward combining LLM-based accuracy, embedding-based semantic similarity, format adherence, and modality recognition. This stabilizes training and prevents reward hacking compared to single-signal approaches.


Qualitative Examples


Training

We provide training configs for all model sizes using GRPO and DAPO algorithms. The training pipeline uses a vLLM-based reward server for LLM-as-judge scoring during RL training.

cd training
pip install -e .
bash vllm_serve.sh       # Step 1: Start the reward server
bash run_train.sh        # Step 2: Launch RL training
bash merge_model.sh      # Step 3: Merge FSDP checkpoints

Training data: MBZUAI/medix-rl-data (~51K train, ~2.5K test samples)

See training/README.md for detailed setup, configuration options, and per-model scripts.

Evaluation

We propose a unified evaluation framework for both text-only (LLM) and image+text (VLM) tasks using a Reference-based LLM-as-judge across 17 medical benchmarks.

cd eval
pip install uv && uv pip install -r requirements.txt
bash eval.sh             # Run all phases: generate, evaluate, score

Supports self-hosted judge models via vLLM or OpenRouter as a remote alternative. Results can be submitted to the MediX Leaderboard.

See eval/README.md for task selection, CLI reference, and MMMU-Medical evaluation.


Model Zoo

ModelHuggingFace
MediX-R1-2BMBZUAI/MediX-R1-2B
MediX-R1-8BMBZUAI/MediX-R1-8B
MediX-R1-30BMBZUAI/MediX-R1-30B

Citation

If you use MediX-R1 in your research, please cite our work as follows:

@misc{mullappilly2026medixr1openendedmedical,
      title={MediX-R1: Open Ended Medical Reinforcement Learning},
      author={Sahal Shaji Mullappilly and Mohammed Irfan Kurpath and Omair Mohamed and Mohamed Zidan and Fahad Khan and Salman Khan and Rao Anwer and Hisham Cholakkal},
      year={2026},
      eprint={2602.23363},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2602.23363},
}

License

This project is released for research purposes only under CC-BY-NC-SA 4.0 License. It is not intended for clinical or commercial use.

Users are urged to employ MediX-R1 responsibly, especially when applying its outputs in real-world medical scenarios. It is imperative to verify the model's advice with qualified healthcare professionals and not rely on it for medical diagnoses or treatment decisions.


Acknowledgements

We are thankful to EasyR1 (a fork of veRL) for their open-source RL training framework.

This work was partially supported with NVIDIA Academic Grant 2025 and MBZUAI-IITD Research Collaboration Seed Grant.

We are grateful to MBZUAI for c

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms