inclusionAI/LingSante-3.1-flash
Captured source
source ↗🤗 Hugging Face | 🤖 ModelScope | 🔗 Computrix(API)
LingSante-3.1-flash
Introduction
LingSante-3.1-flash is an open-weight Mixture-of-Experts model that combines complex medical reasoning, professional healthcare communication, evidence-based deep research, and long-horizon medical tasks. Built on Ling-3.1-flash, it has 560 billion total parameters, activates 25 billion parameters per token, and supports a 1-million-token context window.
Real-world medical tasks present challenges that go beyond general intelligence, including incomplete health information, substantial patient heterogeneity, and strict operational and compliance requirements. To address these demands, LingSante-3.1-flash is trained to unify medical reasoning and workflow execution through native medical-mixed pretraining, mid-training, supervised fine-tuning, task-specific reinforcement learning, and multi-teacher on-policy distillation. The model can verify evidence across scenarios, deliver professional judgments, and independently complete multi-stage workflows.
> LingSante-3.1-flash is intended for research and evaluation. It is not a medical device and must not be used as an independent basis for diagnosis, prescriptions, or treatment. >

Key Capabilities
+ Complex Medical Reasoning. Beyond accurate knowledge understanding, complex medical reasoning requires models to identify the key factors behind clinical decisions, validate supporting evidence, and resolve potential conflicts across evidence sources. To support this, we develop a medical evidence–reasoning alignment framework that strengthens the model’s reasoning foundation through high-quality data synthesis and systematic training. Built on this foundation, LingSante-3.1-flash delivers leading performance among open-source models on complex medical reasoning tasks. + Long-Horizon Medical Tasks. Long-horizon medical tasks differ fundamentally from those in general domains. They require models to operate across interconnected sub-scenarios, coordinate tools and information within a single workflow, and adapt their plans as new information emerges. To support this, we develop a long-horizon medical task framework that combines realistic interactive environments, diverse tool-use settings, and structured verification. This approach strengthens the model’s ability to execute complex workflows reliably in dynamic medical settings, providing a scalable foundation for training on real-world medical task execution. + Medical Professional Behavior Alignment. Medical tasks in the real world often involve incomplete information, evolving context, and strict safety expectations. The model must deliver responses that are context-aware, professional, and actionable. To support this, we develop a professional behavior alignment framework that aligns model responses with real clinical scenarios and medical professional standards. LingSante-3.1-flash demonstrates strong performance on benchmarks for medical professional behavior, ranking second overall behind only GPT-6 Astra.
Model Overview
LingSante-3.1-flash retains the architecture of Ling-3.1-flash.
| Specification | Value | | --- | --- | | Architecture | Hybrid-linear MoE | | Total parameters | 560B | | Activated parameters per token | 25B | | Context window | 1M tokens | | Transformer layers | 63 KDA + 9 Gated MLA (7:1) | | Dense layers | 4 | | Routed experts | 512 | | Shared experts | 1 | | Activated routed experts per token | 8 | | Attention heads | 64 | | Hidden size | 4096 | | Expert intermediate size | 1280 | | Dense intermediate size | 10240 | | Vocabulary size | 157184 |
Training
General and medical data are used together throughout pretraining, mid-training, and supervised fine-tuning. Medical data provide domain knowledge and clinically grounded training examples, while general data help maintain broad capabilities such as reasoning, coding, search, and tool use.
During post-training, we further improve the model with reinforcement learning for medical reasoning, tool use, search, and professional behavior. These training setups are designed to strengthen not only task performance, but also the quality, reliability, and efficiency of execution under real-world constraints.
Finally, we bring these capabilities together through multi-teacher on-policy distillation, transferring complementary strengths into a single model while preserving strong performance across both medical and general tasks.
Evaluation
We evaluate LingSante-3.1-flash across a wide range of medical and general benchmarks. The model performs strongly on representative benchmarks for medical knowledge, reasoning, and alignment, while also achieving strong results on internal evaluations for diagnostic understanding, safety, and evidence-based reasoning. Beyond medical QA, LingSante-3.1-flash shows strong performance in more realistic medical settings that require search, verification, and tool use. These results highlight the model’s ability to move beyond answer generation toward evidence-grounded medical problem solving. LingSante-3.1-flash also performs well on benchmarks that reflect professional medical workflows and long-horizon execution. Overall, the results show that LingSante-3.1-flash combines strong medical reasoning, professional behavior, and workflow execution in a single model.

Quickstart
SGLang (Recommended)
The day-0 SGLang image includes LingSante-3.1-flash support, MTP (NEXTN) speculative decoding, and Hopper decode optimizations:
docker pull lmsysorg/sglang:dev-ling-3.1-flash
Run Inference
Server (8 × H200, TP8 + EP8):
docker run --gpus all --network host --ipc=host --rm \ lmsysorg/sglang:dev-ling-3.1-flash \ python3 -m sglang.launch_server \ --model-path inclusionAI/LingSante-3.1-flash \ --tp 8 --ep 8 \ --speculative-algorithm NEXTN \ --host 0.0.0.0 --port 30000
On 4 × GB300, use --tp 4 --ep 4 instead. Hopper decode optimizations (optional, ~10% faster batch-1 decode) can be enabled with SGLANG_ENABLE_FP8_BLOCK_GEMV=1 and SGLANG_ENABLE_FUSED_KDA_OUTPUT_QUANT=1.
Client
curl -s http://localhost:30000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "LingSante-3.1-flash",...Excerpt shown — open the source for the full document.
Notability
notability 5.0/10Niche model release, no notable traction