Blog
LingSante-3.1-flashmedical open-weight modelLing-3.1-flash

What Is LingSante-3.1-flash? Medical AI Specs and Setup

LingSante-3.1-flash is an open-weight 560B medical AI model. See its specs, hardware needs, SGLang and vLLM setup, benchmark ranking, and safe uses.

Portrait of Luis Chavez-Mattos
Edited by Luis Chavez-Mattos, Director, Product··RSS

For Engineering and IT

A single GPU card on the left and a stack of eight identical cards on the right, with one small accent light on the top card.

What is LingSante-3.1-flash?

LingSante-3.1-flash is an open-weight AI model built for medical reasoning and healthcare workflows. It has 560 billion total parameters, uses 25 billion of them for each token it processes, and accepts up to 1 million tokens of context. It is built on the general-purpose Ling-3.1-flash model. Its developers describe it as a research and evaluation tool. It is not a medical device and must not be the sole basis for diagnosis, prescriptions, or treatment.

"Open-weight" means the trained model files are published, so you can download and run them yourself instead of calling someone else's service. That matters for hospitals, research groups, and companies that cannot send sensitive text to an outside provider. It also comes with a catch: this model needs serious hardware.

TL;DR

  • LingSante-3.1-flash is a 560B-parameter mixture-of-experts model that activates 25B parameters per token and handles a 1M-token context window.
  • The model card's example setups use 8 NVIDIA H200 GPUs or 4 GB300 GPUs, so this is data-center hardware, not a laptop project.
  • It can be served with SGLang (the recommended route) or vLLM, both of which expose an OpenAI-style chat endpoint.
  • On the InclusionMed benchmark it scored 45.064 and ranked fifth of 23 model configurations, and it sits on the performance-versus-cost frontier.
  • Its developers report it ranks second overall on medical professional behavior benchmarks, behind only GPT-6 Astra.
  • It is for research and evaluation only. Benchmark results do not show it works safely in clinics, and a qualified human must review anything consequential.

How is the model built?

The card calls the architecture "hybrid-linear MoE." Two ideas are packed in there.

Mixture-of-experts (MoE). Instead of running every parameter on every word, the model contains many specialist sub-networks called experts. For each token, a router picks a few. LingSante has 512 routed experts plus 1 shared expert, and 8 routed experts fire per token. That is why 560B total parameters translate to only 25B active, roughly 4.5% of the model at any moment. You still have to store all 560B, but each step costs far less compute than a dense model of the same size.

Hybrid-linear attention. Attention is how a model relates words in a long input to each other. The card lists 63 "KDA" layers and 9 "Gated MLA" layers, a 7:1 mix, plus 4 dense layers. The card does not explain these layer types in detail. The general aim of linear-style attention is to keep very long inputs from becoming prohibitively expensive, which fits the 1M-token window.

SpecificationValue
ArchitectureHybrid-linear MoE
Total parameters560B
Activated parameters per token25B
Context window1M tokens
Layers63 KDA + 9 Gated MLA (7:1), plus 4 dense layers
Routed / shared experts512 / 1
Routed experts active per token8
Attention heads64
Hidden size4096
Vocabulary size157,184

The previous healthcare release in this family, Ling-3.0-flash-Sante, had 124B total and 5.1B active parameters. The new model is roughly four to five times larger on both counts.

How was it trained for medicine?

According to the card, general and medical data were mixed together through pretraining, mid-training, and supervised fine-tuning. The medical data supplies domain knowledge and clinically grounded examples. The general data keeps the model good at reasoning, coding, search, and tool use.

After that, reinforcement learning targeted four areas: medical reasoning, tool use, search, and professional behavior. Finally, the team used multi-teacher on-policy distillation to combine the strengths of several specialized models into one.

The card highlights three capabilities:

  1. Complex medical reasoning: identifying the key factors in a clinical decision, checking supporting evidence, and resolving conflicts between sources.
  2. Long-horizon medical tasks: multi-step workflows that use tools and adjust the plan as new information arrives.
  3. Professional behavior: giving context-aware, actionable responses that match how clinicians communicate, given incomplete information and strict safety expectations.

What hardware does LingSante-3.1-flash need?

The model card gives two concrete serving setups:

  • 8 × NVIDIA H200 GPUs (tensor parallel 8, expert parallel 8)
  • 4 × NVIDIA GB300 GPUs (tensor parallel 4, expert parallel 4)

The card also points to an SGLang cookbook with verified recipes for H200, GB300, H800, H100, and B200 hardware. The card itself does not publish a VRAM requirement or describe quantized versions, so check the cookbook before you plan a purchase or a cloud rental. Weights for a 560B model are enormous no matter how you slice it.

For most readers, the practical takeaway is simple: you will not run this on a work laptop or a single consumer graphics card. Realistic options are a cloud GPU cluster, an IT or research team with data-center hardware, or a hosted API. The card links an API listing on Computrix, along with the weights on Hugging Face and ModelScope.

How do you run it with SGLang?

The card recommends SGLang. A prebuilt Docker image includes support for the model, MTP (NEXTN) speculative decoding, and Hopper decode optimizations. Speculative decoding is a speed trick where the model drafts several tokens ahead and verifies them together.

Pull the image:

docker pull lmsysorg/sglang:dev-ling-3.1-flash

Start the server on 8 × H200:

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. On Hopper GPUs you can optionally set SGLANG_ENABLE_FP8_BLOCK_GEMV=1 and SGLANG_ENABLE_FUSED_KDA_OUTPUT_QUANT=1, which the card says gives about 10% faster batch-1 decode.

Then send a request to the OpenAI-style endpoint:

curl -s http://localhost:30000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "LingSante-3.1-flash",
       "messages": [{"role": "user", "content": "Your question here"}],
       "chat_template_kwargs": {"enable_thinking": true},
       "stream": true,
       "temperature": 1.0,
       "top_k": 20,
       "top_p": 0.95}'

How do you run it with vLLM?

vLLM is the alternative. The card has you install from a specific branch of the vLLM repository:

pip install uv
uv venv ~/my_ling_env
source ~/my_ling_env/bin/activate
git clone -b vllm https://github.com/vllm-project/vllm.git
cd vllm
VLLM_USE_PRECOMPILED=1 uv pip install --editable . --torch-backend=auto

Then launch the server (set MODEL_PATH and PORT first):

vllm serve "$MODEL_PATH" \
    --port "$PORT" \
    --trust-remote-code \
    --served-model-name auto \
    --tensor-parallel-size 8 \
    --gpu-memory-utilization 0.85 \
    --enable-prefix-caching \
    --enable-expert-parallel \
    --mamba-cache-mode align \
    --enable-auto-tool-choice \
    --tool-call-parser ling3 \
    --reasoning-parser ling3 \
    --speculative-config '{"method":"mtp","num_speculative_tokens":3}'

For both servers, the card recommends temperature=1.0, top_p=0.95, top_k=20, with enable_thinking set to true for better results. Note that the vLLM client example uses the model name auto, matching the --served-model-name flag.

How well does it perform?

Two claims stand out in the card.

First, on the InclusionMed medical AI benchmark, LingSante-3.1-flash scored 45.064 overall and ranked fifth among 23 model configurations. The developers say it lies on the performance-versus-cost Pareto frontier, meaning few models do better without costing more to run. Treat that as a statement about value, not about top accuracy: four configurations scored higher.

Second, the developers say it ranks second overall on benchmarks for medical professional behavior, behind only GPT-6 Astra. They also describe leading performance among open-source models on complex medical reasoning tasks.

These are the developers' own reported results, summarized on the model card. The card also cites internal evaluations for diagnostic understanding and safety. Read the benchmark images and the InclusionMed site yourself before relying on any single number.

What is it safe to use for?

The card is blunt, and readers should be too. It lists these intended uses:

  • Medical and healthcare research, including literature analysis and evidence synthesis
  • Medical question answering and clinical document analysis with qualified human review
  • Structured information extraction and retrieval-augmented healthcare applications
  • Building and evaluating tool-using agents
  • Research on professional behavior and multi-agent search

And these limits:

  • Outputs may be incorrect, incomplete, outdated, or unsupported by the cited evidence.
  • It must not independently diagnose, prescribe, determine treatment, or make triage decisions.
  • Benchmark and simulated results do not establish clinical effectiveness, and performance may vary across specialties, languages, populations, and institutions.
  • A 1M-token window does not guarantee the model finds every relevant fact in a long record. Check sources, omissions, and contradictions.
  • Protect personal health information and follow privacy and data-governance rules.
  • Give agents least-privilege tool access, keep execution auditable, and require human approval for consequential actions. Search results and tool outputs can contain errors or malicious instructions.

What does this mean for you?

If you work in healthcare, pharma, or a medical research group: this is a candidate for evaluation, especially if data privacy rules keep you from using hosted chatbots. Start with low-risk, reviewable work such as summarizing literature or extracting fields from documents, and have a clinician check the output. Ask your IT team about GPU access before you get attached to the idea.

If you work in operations, compliance, or IT at a health organization: the useful question is not "is it smart?" but "what is the control plan?" The card's own advice is a good checklist: limited tool permissions, logs of what the model did, and human sign-off on anything that matters.

If you are a patient or a general reader: nothing here is a tool for you to self-diagnose with. Models like this are built to assist professionals under review, and the developers say so.

If you just want to follow the field: note the trend. Open-weight medical models are growing fast. The previous release in this family had 124B parameters, and this one has 560B.

Could you build a review tool around a model like this?

A model is only one piece. A research team using something like LingSante still needs a place to log questions, store source documents, record which answers a human approved, and track what remains. With Remy, you could describe that kind of tool in plain English, such as a literature-review tracker with a sign-in, reviewer roles, and an approval step for each AI-drafted summary, and get a deployed web app instead of a shared spreadsheet. Remy apps include built-in authentication and an audit log. Check your own privacy and compliance requirements before putting any health data in a tool.

Frequently Asked Questions

5 questions

Can I run LingSante-3.1-flash on my own computer?

Not a typical one. The model card's setups use 8 H200 GPUs or 4 GB300 GPUs, which are data-center accelerators. The card does not list lighter configurations, so a laptop or single consumer GPU is not a realistic target. A hosted API listing is linked from the card.

Is LingSante-3.1-flash approved for clinical use?

No. The card says it is intended for research and evaluation, is not a medical device, and must not be used as an independent basis for diagnosis, prescriptions, or treatment. Benchmark results do not establish clinical effectiveness.

What does 25B active parameters mean?

The model has 560B parameters in total, but a routing system selects only some experts for each token. About 25B parameters do the work at each step. That keeps the compute cost closer to a mid-sized model, though you still need enough memory to hold the whole thing.

SGLang or vLLM: which should I use?

The model card labels SGLang as recommended and provides a prebuilt Docker image with speculative decoding and Hopper optimizations. vLLM also works, but the card has you install from a specific branch. Start with SGLang unless your team already standardizes on vLLM.

How does it compare with other medical AI models?

On InclusionMed it ranked fifth of 23 configurations with a score of 45.064, and the developers say it offers strong results at relatively low inference cost. They also report second place on medical professional behavior benchmarks, behind GPT-6 Astra. Those are developer-reported figures, so check the benchmarks directly.

How we source, write, and correct our articles. Editorial standards

Related articles

Straight to your inbox.
New pieces as they publish. No noise.