selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

inclusionAI logo

LingSante-3.1-flash

inclusionAI·Instruct·released 19 Nov 2026

MIT572BA25.1BMoE256K ctx ≈358 GB
Your GPU
vllm serve inclusionAI/LingSante-3.1-flash
All 2 runners ↓

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.

Notify me when

How much VRAM does LingSante-3.1-flash need?

At Q4_K_M LingSante-3.1-flash needs about 358 GB with an 8K context (358 GB at Q4, 1137 GB at full precision). Pick your GPU to see what fits and how fast it runs.

--vram
any
--gpus
--quant

Needs: ≈358 GB · Q4_K_M · 8K context — Pick a GPU to check the fit.

Change quant, context or KV cache to compare
Advanced: context 8K · KV cache 16-bit
Context
KV cache

Smallest GPU for each quant and context (KV cache 16-bit)

Quantisation8K16K32K64K128K256K
Q3_K_M
Q4_K_M
Q5_K_M
Q6_K
Q8_0
FP16

≤16 GB card24–32 GB48–96 GBmore

QuantisationQualityWeightsKV cacheTotal
Q2_KHeavy lossSmallest, noticeably worse qualityHeavy loss175 GB 18 GB≈202 GB
Q3_K_MNoticeable lossSmall, some quality lossNoticeable loss260 GB 18 GB≈292 GB
Q4_K_MrecommendedSmall lossRecommended default for local useSmall loss323 GB 18 GB≈358 GB
Q5_K_MNear-losslessNear-lossless for most tasksNear-lossless379 GB 18 GB≈416 GB
Q6_KNear-losslessPractically losslessNear-lossless439 GB 18 GB≈479 GB
Q8_0LosslessLossless in practice, twice the size of Q4Lossless566 GB 18 GB≈613 GB
FP16 / BF16LosslessFull precision, as releasedLossless1066 GB 18 GB≈1137 GB

Estimates for 8K tokens of context: weights + KV cache + runtime overhead. All experts stay in memory, but only the active ones are read per token. Speed assumes memory-bound decoding at your GPU’s bandwidth. Pick a GPU above and the fit column checks every row against it.

How to pick a quant

Take the biggest quant that fits with room left for context. Q4_K_M is the usual sweet spot. Below Q4 quality drops fast, above Q6 you mostly pay memory for nothing. Big models (70B+, large MoE) tolerate low quants better than small ones.

  • LosslessF16, Q8_0
  • Near-losslessQ6_K, Q5_K_M
  • Small lossQ5_K_S, Q4_K_M, IQ4_NL, IQ4_XS, Q4_K_S
  • Noticeable lossQ4_0, Q3_K_L, Q3_K_M, IQ3_M
  • Heavy lossIQ3_XXS, Q3_K_S, IQ2_M, Q2_K

Typical quality loss, not measured per model. Tiers come from KL divergence against FP16 on Llama 3 8B: llama.cpp perplexity README: LLaMA 3 8B scoreboard (KLD and ΔPPL vs FP16, Wikitext-2); llama.cpp quantize tool: ΔPPL per quant type @ Llama-3-8B

How much context fits?

Model quant
KV cache

At 8K context, Q4_K_M needs ≈358 GB(323 GB weights + 18 GB KV cache + 17 GB overhead). Pick a GPU above to see how much context fits.

020040060080010001K2K4K8K16K32K64K128K256KGB

Weights + overheadKV cache

Can the Apple M3 Ultra (512 GB) run LingSante-3.1-flash? →

Speed vs quality per quant

Smaller quants run faster and fit in less memory, but lose quality.

Q2_KQ3_K_MQ4_K_MQ5_K_MQ6_KQ8_0F16

Fits in VRAMTight fitCPU offload✕ won't runQuality is typical KL divergence vs FP16, not measured for this model.

Real-world speed of LingSante-3.1-flash

Tokens per second measured by people running it at home. A GPU shows a median once 3 reports agree on the same setup. Reports far from our estimate wait for a review. Measure yours with llama-bench →

No medians yet. Be one of the first 3 to report a setup.

All reports

Run LingSante-3.1-flash locally

These commands load the original weights from Hugging Face.

Serve an OpenAI-compatible APIdocs
vllm serve inclusionAI/LingSante-3.1-flash
Docker Compose (NVIDIA)docs
yaml
services:
  vllm:
    image: vllm/vllm-openai:latest
    command: inclusionAI/LingSante-3.1-flash
    ports:
      - "8000:8000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

API on port 8000.

Install vLLM

Serve an OpenAI-compatible APIdocs
sglang serve inclusionAI/LingSante-3.1-flash --host 0.0.0.0 --port 30000
Docker Compose (NVIDIA)docs
yaml
services:
  sglang:
    image: lmsysorg/sglang:latest
    command: sglang serve inclusionAI/LingSante-3.1-flash --host 0.0.0.0 --port 30000
    ports:
      - "30000:30000"
    ipc: host
    volumes:
      - ~/.cache/huggingface:/root/.cache/huggingface
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

API on port 30000.

Install SGLang

About LingSante-3.1-flash

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.

Full model card on Hugging Face →

Alternatives to LingSante-3.1-flash

All alternatives →

For more details on how to deploy and use the model - see the Quick Start Guide below!

561BA55B256K ctx openmdw-1.1
849.9KJun 2026gguf
deepseek-ai logo

DeepSeek-V3.2

deepseek-ai·Chat

≈453 GB

We introduce DeepSeek-V3.2, a model that harmonizes high computational efficiency with superior reasoning and agent performance. Our approach is built upon three key technical breakthroughs:

685BA41B160K ctx MIT
11MDec 2025gguf
zai-org logo

GLM-5.3

zai-org·Chat

≈476 GB

GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks:

753BA41.8B1M ctx glm-5.3
1.3MAug 2026ollama
zai-org logo

GLM-5.2

zai-org·Chat

≈476 GB

👋 Join our WeChat or Discord community. 📖 Check out the GLM-5.2 blog and GLM-5 Technical report . 📍 Use GLM-5.2 API services on Z.ai API Platform. 🔜 Try GLM-5.2 here .

753BA41.8B1M ctx MIT
1MJun 2026ollama
zai-org logo

GLM-5

zai-org·Chat

≈457 GB

👋 Join our WeChat or Discord community. 📖 Check out the GLM-5 technical blog . 📍 Use GLM-5 API services on Z.ai API Platform. 👉 One click to GLM-5 .

754BA42.4B198K ctx MIT
792.9KFeb 2026gguf
ornith-ai logo

Ornith-1.5-397B

ornith-ai·Chat

≈241 GB

Chirp Chirp! 🐦 We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement.

403BA24.4B256K ctx MIT
319.3KAug 2026ollama

LingSante-3.1-flash FAQ

How much VRAM does LingSante-3.1-flash need?
About 358 GB at Q4_K_M with an 8K context. Q8_0 needs about 613 GB and full precision about 1137 GB. Longer contexts need more memory for the KV cache.
Can LingSante-3.1-flash run on the Apple M3 Ultra (512 GB)?
Yes. It fits at Q4_K_M (about 358 GB), at an estimated 30 tokens/s.
Can I use LingSante-3.1-flash commercially?
Yes. It is released under MIT. Permissive: do almost anything as long as you keep the copyright notice.
What is the context length of LingSante-3.1-flash?
262,144 tokens (256K). The full window needs far more memory than an 8K context.
How do I run LingSante-3.1-flash locally?
With vLLM: vllm serve inclusionAI/LingSante-3.1-flash.

Data from Hugging Face, the model card and public leaderboards. Memory and speed figures are estimates; real numbers depend on the runtime, context length and drivers. Always check the licence yourself before commercial use.