LingSante MedGuard is a medical guardrail model whose 4B version nearly ties its 9B
inclusionAI reports a 27B model that reviews medical AI answers and outscores frontier models on its own suite. The benchmark data is open; the model is API-only.
- Model
- LingSante MedGuard (4B, 9B, 27B)
- Maker
- inclusionAI
- Size
- 4B, 9B and 27B versions
- License
- Apache 2.0 (code and annotations); no weights published
- Weights
- Closed
Most guardrail models look for general harms. LingSante MedGuard, published by the inclusionAI organization on GitHub, has one job: read a medical question and an AI’s answer to it, and say whether the answer is unsafe. For builders, the benchmark may be the more useful half of the release. The 14,588 test records are in the repo. The model is not: the README lists a hosted API for the 4B version and no weight downloads.
The repo’s first commit is dated November 20.
How it works
A guardrail is a second model that reviews what the first one wrote. MedGuard covers three kinds of risk: safety (advice that could harm a patient or delay care), compliance (conflicts with professional rules and procedures), and ethics.
Training is by distillation, which means teaching a student model to imitate other models. Here the teachers are a medical risk model plus six capability experts, each good at one operation a reviewer needs: matching a patient’s facts to a rule and its exceptions, checking that a formula and its units apply, verifying a claim against retrieved sources, pointing to the sentence where a risk sits, spotting invented findings where images are involved, and extracting medical entities, values and units.
Training runs in two stages. First the student studies the teachers’ worked examples. Then the student writes its own answers and the matching teacher corrects them token by token. The usual reason for a second stage like this is that a student that has only seen finished examples gets no practice at recovering from its own mistakes.
The README does not say what base model the students start from, and it does not say what hardware they need.
The benchmarks
These F1 scores are inclusionAI’s own, from what the README calls its original experimental suite. Full covers text and image tasks; Text covers text only. Higher is better.
| Model | Full F1 | Text F1 |
|---|---|---|
| LingSante MedGuard 27B | 87.4 | 86.6 |
| Claude-Fable-5 | 84.8 | 84.5 |
| Gemini-3.1-Pro-preview | 82.9 | 80.9 |
| LingSante MedGuard 9B | 82.5 | 80.4 |
| LingSante MedGuard 4B | 82.3 | 80.5 |
| GPT-5.6-Sol | 80.3 | 79.2 |
| Qwen3.5-397B-A17B | 79.7 | 77.8 |
| Kimi-K3 | 79.3 | 76.3 |
| Qwen3.5 27B | 79.1 | 76.5 |
| Qwen3.5 4B | 76.1 | 74.5 |
| Qwen3.5 9B | 74.0 | 71.4 |
We left out two lower Qwen rows. The 27B model leads by 2.6 points. The smaller two do not lead: Claude Fable 5 and Gemini 3.1 Pro, two general-purpose models, sit above both.
The odd result is in the middle. The 9B and 4B versions are 0.2 points apart on the full suite, and the 4B is ahead on text. The plain Qwen3.5 rows show the same inversion, with the 4B beating the 9B outright. Qwen3.5 appears at exactly the three MedGuard sizes, which reads like a before and after, but the README does not confirm that.
Three caveats. The maker built the suite and ran the test, and we found no independent results. The README does not say how the rival models were prompted. And the scores cover the full evaluation suite while the released data covers only the risk-detection part, so the table cannot be fully reproduced from the repo. A technical report is linked on arXiv, which we could not reach from our build machine.
The dataset
MedGuardBench is three JSONL files plus 578 images: 10,248 safety records, 3,808 on compliance and 532 on ethics. Most records have a question, a candidate answer, and a safe or unsafe label; the medication-task records have no candidate answer. The records are drawn from five existing benchmarks, including HealthBench and MedSafetyBench, and third-party data keeps its original license terms.
Try it yourself
Clone the repo for the data. To call the model, the README points to service pages for mainland China and for global users where you request an API key, and provides an evaluation script. Only lingsante-medguard-4b appears there. The README says MedGuard is not a general safety model and not a substitute for clinical judgment.
We have not called the API or run the benchmark. This is based on the README and the repo’s commit history.
Disclosure: Claude, an Anthropic model, helps write this site.