Skip to main content
株式会社オブライト
株式会社オブライト

LingSante-3.1-flash Requirements

560B MoE, 25B Active, FP8 574GB / MXFP4 313GB [Ant Group inclusionAI, Nov 2026]

Published 2026/11/2314 min read

LingSante-3.1-flash: 560B MoE, 25B active. FP8 ~574GB, MXFP4 ~313GB. Needs 8x H200 or 4x GB300; Mac unconfirmed. KV cache, usage, medical-use caveats. Nov 2026.

LingSante-3.1-flash (inclusionAI/LingSante-3.1-flash) is an open-weight, medical-domain MoE model from inclusionAI, Ant Group's open-source AI group. It has about 560B total parameters, about 25B active per token, and an MIT license. The main release is in FP8 and the repository totals about 574GB; the official 4-bit-class (MXFP4) version is about 313GB. Although only 25B parameters are active, all weights must sit in memory, so it will not run on a single GPU or an ordinary workstation. The configurations the vendor verified are 8x H200 or 4x GB300 for FP8, and 4x H20-3e for MXFP4.

This article is based on primary sources as of November 23, 2026: the Hugging Face model card, config.json and file listing, the MXFP4 card, and SGLang's official cookbook. Figures the vendor published are marked "official"; figures we derived from them are marked "estimate". Benchmark numbers are vendor-reported, and we could not find independent reproductions. This model is for research and evaluation only and is not a medical device; it must not be used as an independent basis for diagnosis, prescription or treatment (see "Medical use: not a medical device" below).

Memory Requirements by Format

FormatWeight sizeTypical setup
FP8 (inclusionAI/LingSante-3.1-flash)~574GB (official release; 573.8GB total of files on HF)8x H200 (official TP8+EP8), 4x GB300 (official TP4+EP4)
MXFP4 (inclusionAI/LingSante-3.1-flash-MXFP4)~313GB (291.72GiB, official)4x H20-3e (official recommendation, TP4+EP4). SGLang only
BF16 (not officially released)~1.14TB (estimate: ~572B x 2 bytes)Not distributed; impractical
Generic 4-bit quant (GGUF etc., not confirmed)~290-340GB (estimate: x0.5-0.6 bytes)Will not fit in 256GB-class memory; needs 512GB-class
3-bit class (estimate)~215-250GBLikely noticeable quality loss; compatible runtime unconfirmed
2-bit class (estimate)~145-170GBPractical quality unconfirmed

The FP8 and MXFP4 sizes are the totals of the files in the Hugging Face repositories. The BF16 and lower rows are our own estimates: total parameters (about 572.1B per HF metadata) times bytes per weight. At the time of checking we found no GGUF for LingSante-3.1-flash itself (others have published GGUFs for LingSante-3.1-air-VL). So the 4-bit and lower rows do not mean the model runs in llama.cpp, Ollama, LM Studio or MLX. KV cache and working memory are needed on top of these figures.

If you want to check quickly whether it fits on your GPU or Mac, the free VRAM Calculator (no sign-up) estimates required VRAM from the model, quantization and context length. LingSante-3.1-flash is available in its model list.

What Is LingSante-3.1-flash? Model Specs

LingSante-3.1-flash is a medical-domain model from inclusionAI, Ant Group's open-source AI organization. According to the model card, it is built on the general-purpose Ling-3.1-flash (released October 2026) and trained with medical-mixed pretraining, mid-training, supervised fine-tuning, reinforcement learning and multi-teacher on-policy distillation. The architecture is inherited from Ling-3.1-flash. The Hugging Face repository was created on November 19, 2026, and the MXFP4 repository on November 22.

ItemDetails (source: model card, config.json)
DeveloperinclusionAI (Ant Group)
Total parameters560B (card). HF metadata shows ~572.1B (FP8 ~570.6B + BF16 ~1.49B); the gap is probably MTP layers and similar (estimate)
Active parameters25B per token
ArchitectureHybrid-linear-attention MoE. 72 layers: 63 KDA (linear attention) + 9 Gated MLA (7:1); the first 4 layers are dense
Experts512 routed + 1 shared; 8 routed experts active per token
Attention details64 heads, hidden size 4096, MLA kv_lora_rank 512, q_lora_rank 1536
Intermediate sizesExpert 1280, dense 10240
Vocabulary157,184
Context lengthCard says 1M tokens. config max_position_embeddings is 262,144; 1M requires a YaRN override (see below)
FormatSafetensors. Mainly FP8 (E4M3, 128x128 blocks), with some BF16 and F32
LicenseMIT
Intended useResearch and evaluation. Not a medical device

The model card names Ling-3.0-flash-Sante (124B total, 5.1B active) as the previous medical release, so this generation is about 4.5x larger in total and about 5x in active parameters. LingSante-3.1-air-VL, released alongside, is a smaller line (apparently with image input) of about 249.7GB in BF16 per HF, also under MIT.

The MoE Misconception: 25B Active, But All Weights Required

Reading "25B active" as "runs in the memory of a 25B model" is a mistake. An MoE cannot know in advance which experts each token will pick, so all weights must be resident in memory. Speed follows the active side (about 25B); required memory follows the total side (about 560-572B). In FP8, one parameter is one byte, so "560B is roughly 560GB-class" is a safe rule of thumb.

Only 8 of the 512 routed experts (plus one shared) run per token, so compute is small, but every expert's weights must be stored, and that is most of the memory. The official MXFP4 release quantizes only the routed experts to 4-bit (MXFP4, group size 32), keeps attention, dense and shared-expert matrices in FP8, and keeps embeddings and routers in BF16, shrinking 574GB to 313GB. It is a data-free round-to-nearest (RTN) post-training quantization with no additional training.

1M Context and KV Cache

Be careful with the context length. The model card says 1M tokens, but config.json sets max_position_embeddings to 262,144. SGLang's official cookbook states that the native context is 262,144 tokens and that reaching 1,048,576 requires a YaRN override (factor 4.0, rope_theta 6000000, partial_rotary_factor 0.5 and max_position_embeddings 1048576, all four keys), to be used only for prompts beyond 256K. In the cookbook's validation, a fact at token 700,023 of a 900,022-token prompt was retrieved exactly, but a 300,101-token prompt took 15.4 seconds to the first token on H200.

We found no official KV-cache table. Structurally, only the 9 MLA layers grow with sequence length; the 63 KDA layers keep a fixed-size state. The figures below are our estimate, assuming MLA caches the compressed latent (kv_lora_rank 512 + rope 64 = 576 elements) in BF16.

Context lengthKV cache (compressed, BF16, estimate)Upper bound if cached uncompressed (estimate)
32K (32,768)~0.34GB~12GB
128K (131,072)~1.4GB~48GB
256K (262,144)~2.7GB~97GB
1M (1,048,576)~10.9GB~387GB

Per token that is 576 elements x 2 bytes x 9 layers = about 10.4KB compressed, or about 369KB uncompressed (64 heads x (192+128) dims x 2 bytes x 9 layers). The real value depends on the inference engine, and the figures exclude KDA state, prefix caches and speculative-decoding buffers. With 574GB or 313GB of weights, KV is likely small by comparison, but it grows linearly with concurrency. If you plan to use 1M tokens, measure it in your own environment before sizing hardware.

Setups: Data Center, Workstation, Mac, CPU

The following are our estimates from the official setups and weight sizes; we did not test on real hardware. The vendor-verified setups are SGLang on H200 (TP8, TP8+EP8) and GB300 (TP4, TP4+EP4). H800, H100, B200 (TP8+EP8) and AMD MI300X-class are listed as unverified in the cookbook.

- Data center (FP8): the official example is 8x H200 (1,128GB total). Split across 8 GPUs, weights take about 72GB each, leaving room for KV and buffers. 8x H100 (80GB) is 640GB total, leaving only about 66GB after weights (estimate, unverified setup)
- Data center (MXFP4): the official recommendation is 4x H20-3e, about 78GB of weights per GPU. SGLang only, with Humming 0.1.12 and a compatible build
- Workstation: a single consumer GPU (24-48GB class) is far short, and even several RTX 6000-class cards cannot hold ~290-340GB at 4-bit or 313GB in MXFP4. CPU offload is not recommended because no compatible runtime is confirmed
- Mac: even a Mac Studio with up to 512GB unified memory (M3 Ultra) needs 313GB+ for weights alone, but we could not confirm that MLX or llama.cpp support the bailing_hybrid (KDA and Gated MLA) architecture, so we cannot say it runs today
- CPU only: a server with several hundred GB of RAM could hold it, but no compatible runtime is confirmed and practical speed is not expected (estimate)

Community re-uploads of the FP8 weights (for example blearyhope and AMAImedia) exist on HF with the same 573.8GB layout. They do not change quality, so use the official repository unless you have a reason not to.

How to Run: SGLang, vLLM, the MXFP4 Version and transformers

The commands below come from the model card and cookbook and were not tested by us. SGLang (officially recommended). A day-0 Docker image, lmsysorg/sglang:dev-ling-3.1-flash, is provided. This example uses MTP (NEXTN) speculative decoding; on 4x GB300 switch to --tp 4 --ep 4.

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

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 Hopper GPUs, the environment variables SGLANG_ENABLE_FP8_BLOCK_GEMV=1 and SGLANG_ENABLE_FUSED_KDA_OUTPUT_QUANT=1 are said to make batch-1 decoding about 10% faster (optional). Clients call the OpenAI-compatible /v1/chat/completions and pass enable_thinking as true in chat_template_kwargs. Recommended sampling is temperature 1.0, top_p 0.95 and top_k 20.

vLLM. Support currently means building the vllm branch of vllm-project/vllm yourself; we could not confirm inclusion in a stable release. The tool-call and reasoning parsers are both named ling3.

git clone -b vllm https://github.com/vllm-project/vllm.git
cd vllm
VLLM_USE_PRECOMPILED=1 uv pip install --editable . --torch-backend=auto

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

MXFP4 version. The card documents SGLang only. You need Humming 0.1.12 and a build supporting bailing_hybrid, mixed FP8/MXFP4 loading, Humming MoE and the ling3 parsers. Set --moe-runner-backend humming, a context length of 262,144, and TP4 + EP4. Expert activations default to FP8 (W4A8); for BF16 activations (W4A16), unset the FP8 input-config environment variable. The card gives no accuracy comparison against FP8 and warns that quantization can change output, reasoning, tool choices and stopping behavior, so validate it for your use.

transformers. The repository ships custom code (modeling_bailing_moe_v3.py), so trust_remote_code is required. The card does not state a minimum transformers version (config lists 4.45.0). With 574GB of weights, SGLang or vLLM is the practical choice.

Speed Reference (Vendor-Published Cookbook Figures)

The SGLang cookbook lists these batch-1 output speeds. They are vendor-side figures (2,048 input / 512 output tokens), not a guarantee for your environment.

PlatformConfigurationOutput speed (tokens/s)
H200TP8 + NEXTN269.2
H200TP8 + EP8239.5
GB300TP4 + NEXTN175.3
GB300TP4 + EP4160.0

Speculative (NEXTN) acceptance length varies with input: about 2.6 on random tokens and about 2.1 on real-text probes (30 prompts). The low-latency TP-only setup converges with EP as concurrency grows (throughput within about 2% at concurrency 16-32).

Benchmarks and Positioning

The model card gives numbers for two results, both vendor-reported. We found no independent reproduction.

- On InclusionMed, a medical-AI benchmark, the overall score is 45.064, ranking fifth of 23 evaluated configurations, and the card says it sits on the performance-cost Pareto frontier
- On medical professional-behavior benchmarks it ranks second behind GPT-6 Astra (no scores given in text)

The card also says it performs strongly on representative benchmarks for medical knowledge, reasoning and alignment, and on internal evaluations of diagnostic understanding, safety and evidence-based reasoning, but the detailed tables are published only as images. The card itself notes that benchmark and simulated-environment results do not establish clinical effectiveness and that performance may vary across specialties, languages, populations and institutions. The rankings are relative to 23 other configurations; they do not show performance in Japanese clinical settings or Japanese-language medical documents.

Medical Use: Not a Medical Device

The model card states that LingSante-3.1-flash 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. Outputs may be incorrect, incomplete or outdated, so consequential claims should be verified against current authoritative sources; it does not replace qualified healthcare professionals and must not make clinical triage decisions on its own. Intended uses include literature analysis and evidence synthesis, medical Q&A and clinical document analysis with qualified human review, structured information extraction, and retrieval-augmented applications.

- Long-context support does not guarantee complete retrieval. When feeding it records or papers, have a person check source attribution, omissions and contradictions
- For tool-using agents, apply least-privilege access, auditable execution and human approval for consequential actions. The card warns that search results and tool outputs can contain errors or malicious instructions
- Protect personal health information in line with applicable privacy, security, healthcare and data-governance requirements. Running locally avoids sending data out but does not by itself satisfy those requirements. In Japan, medical institutions' information handling is based on the Ministry of Health, Labour and Welfare's security guidelines for medical information systems
- In Japan, software for diagnosis or treatment can qualify as a "program medical device" under the Pharmaceuticals and Medical Devices Act, and the MHLW publishes guidelines on whether a program qualifies as a medical device. If you build this model's output into a product or service offered as diagnostic or treatment support, check qualification beforehand and, if needed, use PMDA's consultation services. How this applies to generative AI is a case-by-case judgment, so we draw no conclusion here

For costs and security considerations of systems for medical institutions, see also IT system costs for dental clinics (Japanese).

Differences from the Previous Generation and Related Models

ItemLingSante-3.1-flashLing-3.0-flash-SanteLingSante-3.1-air-VL
Scale560B, 25B active124B, 5.1B active~124.8B (per HF)
Context1M (YaRN override; native 262,144)262,144 (OpenRouter listing)Not confirmed
Distribution size (HF)FP8 ~574GB / MXFP4 ~313GBNot confirmedBF16 ~249.7GB
LicenseMITNot confirmedMIT

Other large MoE models from around the same period are covered in the Hy4 Flash requirements guide (Tencent, ~220B, ~12B active, 287GB in FP8) and Inkling 2 Small (a 594B MoE). If you want a smaller MoE that is easier to run locally, the Inkling 2 Mini requirements guide (26.4B, 3.4B active) is more realistic.

Who Should Use It

- Research teams with their own H200, GB300 or H20-3e infrastructure (or cloud GPUs) who want to study medical text without sending it to an external API
- Developers prototyping medical RAG or agents on an MIT-licensed open-weight base, with review by qualified professionals
- Not a fit: environments with only a single consumer GPU or an ordinary Mac (a smaller model is more realistic), use as the direct basis for diagnosis or prescription, and products that assume medical-device approval or notification (the model is currently for research and evaluation)

FAQ

How much memory does LingSante-3.1-flash need?

The official FP8 repository totals about 574GB and the official MXFP4 version about 313GB. Even with only 25B active, all weights are needed, so it will not fit on a single GPU. The official setups are 8x H200 or 4x GB300 for FP8 and 4x H20-3e for MXFP4.

Can I run it on a Mac or a local GPU?

We could not confirm that. Even MXFP4 is 313GB; a 512GB Mac Studio could hold it by capacity, but we could not confirm MLX or llama.cpp support for the KDA and Gated MLA architecture, and we found no GGUF for LingSante-3.1-flash itself. The vendor documents SGLang and vLLM (self-built).

Can I use the 1M-token context as is?

No. The native context in config is 262,144 tokens; reaching 1M requires a YaRN override with all four keys. KV cache looks small by design since only 9 MLA layers grow with length and the KDA layers hold fixed-size state, but there is no official table, so measure it.

Can it be used for diagnosis or treatment?

No. The model card says it is for research and evaluation, is not a medical device, and must not be an independent basis for diagnosis, prescription or treatment. Outputs need review by qualified professionals. If you offer diagnostic or treatment support as a product, check whether it is a program medical device under Japanese law via the MHLW guidelines and PMDA consultation.

Can I use it commercially?

The license is MIT, so terms for use, modification and redistribution are permissive. For medical uses, however, medical-device and personal-data laws and guidelines apply separately from the license.

Can I trust the benchmark rankings?

The fifth place of 23 configurations on InclusionMed and second place on professional behavior are vendor-reported figures from the model card, and we found no independent reproduction. The card itself says they do not establish clinical effectiveness. Evaluate it on your own data and language before deciding.

References (Primary Sources)

株式会社オブライト

Oflight Inc. is a Tokyo-based IT company providing software development, digital signage, web development, network systems, and IoT/AR/VR technology services.

Feel free to contact us

Contact Us