Interfaze

logo

we're hiring

pricing

help

docs

blog

sign in

All models

LingSante 3.1 Flash

LingSante 3.1 Flash by inclusionAI, a text-generation model. Understand and compare features, benchmarks, and capabilities.

Comparison

FeatureLingSante 3.1 FlashInterfaze
Input Modalities

text

image, text, audio, video, document

Native OCRNoYes
Long Document ProcessingNoYes
Language Support

80 partial

162+

Native Speech-to-TextNoYes
Native Object DetectionNoYes
Guardrail ControlsNoYes
Context Input Size

1M

1M

Tool CallingYes

Tool calling supported + built in browser, code execution and web search

Scaling

FeatureLingSante 3.1 FlashInterfaze
Scaling

Self-hosted/Provider-hosted with quantization

Unlimited

Try InterfazeRead the Docs

View model card on Hugging Face

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.

LingSante-3.1-flash Benchmark Overview

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.

SpecificationValue
ArchitectureHybrid-linear MoE
Total parameters560B
Activated parameters per token25B
Context window1M tokens
Transformer layers63 KDA + 9 Gated MLA (7:1)
Dense layers4
Routed experts512
Shared experts1
Activated routed experts per token8
Attention heads64
Hidden size4096
Expert intermediate size1280
Dense intermediate size10240
Vocabulary size157184

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.

LingSante-3.1-flash Benchmark Comparison

Performance and Cost : LingSante-3.1-Flash lies on the performance–cost Pareto frontier of the InclusionMed medical AI benchmark. With an overall score of 45.064, it ranked fifth among the 23 model configurations evaluated, delivering competitive performance on medical tasks at a relatively low inference cost.

InclusionMed-Overall_Cost

Quickstart

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",
       "messages": [{"role": "user", "content": "What is the capital of France?"}],
       "chat_template_kwargs": {"enable_thinking": true},
       "stream": true,
       "temperature": 1.0,
       "top_k": 20,
       "top_p": 0.95}'

Verified recipes for H200, GB300, H800, H100, and B200, plus HiCache (Mooncake L3), reasoning on/off, tool calling, and measured accuracy/speed numbers, are in the SGLang Ling-3.1-flash cookbook.

vLLM

Environment Preparation

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

Run Inference

Server

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}'

Client
It is recommended to use the sampling parameters (temperature=1.0, top_p=0.95, top_k=20) and set enable_thinking to true for better performance.

curl -s http://${MASTER_IP}:${PORT}/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "auto",
       "messages": [{"role": "user", "content": "What is the capital of France?"}],
       "chat_template_kwargs": {"enable_thinking": true},
       "stream": true,
       "temperature": 1.0,
       "top_k": 20,
       "top_p": 0.95}'

Intended Use

  • 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.
  • Development and evaluation of medical, research, and general-purpose tool-using agents.
  • Research on professional behavior, multi-agent search, and cross-task capability integration.

Limitations and Responsible Use

  • Medical outputs may be incorrect, incomplete, outdated, or unsupported by the cited evidence. Verify consequential claims against current authoritative sources.
  • The model does not replace qualified healthcare professionals. It must not independently diagnose, prescribe, determine treatment, or make clinical triage decisions.
  • Benchmark and simulated-environment results do not establish clinical effectiveness. Performance may vary across specialties, languages, populations, institutions, and local resource conditions.
  • Long-context support does not guarantee complete retrieval of every relevant fact. Check source attribution, omissions, and contradictions when processing clinical records or literature.
  • Protect personal health information and comply with applicable privacy, security, healthcare, and data-governance requirements.
  • Use least-privilege tool access, auditable execution, and human approval for consequential actions. Search results and tool outputs can contain errors or malicious instructions.

Model Lineage

Want more deterministic results?

Interfaze

logo

Product

Playground

OCR

Models

Leaderboards

Pricing

OpenWebSearch

DefaultModel