Update README.md
Browse files4 unmodified lines567891011121314151617181920219 unmodified lines3132333435363738394041424344454647484950515253545556575859605 unmodified lines6667686970717211 unmodified lines84858687888990918 unmodified lines10010110210310410510613 unmodified lines1201211221231241251268 unmodified lines1351361371381391401414 unmodified lines<p align="center"><img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4QxcQrBlTiAAAAAAQXAAAAgAemJ7AQ/original" width="100"/></p><p align="center">🤗 <a href="https://huggingface.co/inclusionAI">Hugging Face</a> | 🤖 <a href="https://modelscope.cn/organization/inclusionAI">ModelScope </a> | 🐙 <a href="https://openrouter.ai/inclusionai/ling-3.1-flash">OpenRouter </a> </p>## <font style="color:rgba(0, 0, 0, 0.88);">Introduction</font>We're introducing **Ling-3.1-flash**, an upgraded native hybrid reasoning model designed for complex, real-world tasks. With **560B** total parameters, **25B** active parameters per token, and a **1M-token context window**, Ling-3.1-flash builds upon Ling-3.0-flash with improvements in architecture, performance on real-world capabilities.With stronger real-world capabilities, Ling-3.1-flash shows improvements across a range of real-world tasks, including general-purpose agents, search, office productivity, and software engineering. It demonstrates strong performance on benchmarks such as **GDPVal-AA V2.1, HealthBench Professional, FrontierSWE, and Terminal-Bench 4.0**, covering office tasks, healthcare, software engineering, and terminal-based tool use. The model also shows improvements in specialized domains such as finance and materials science.<img src="https://intranetproxy.alipay.com/skylark/lark/0/2026/png/23157180/1791987400376-c61f96e8-41a7-4377-80c2-173a01132dc5.png" width="4606" alt="" title="" crop="0,0,1,1" id="u912c619f" class="ne-image">## Model OverviewThe model summary information and architecture diagram are as follows:| Architecture | Hybrid-linear MoE || --- | --- |9 unmodified lines| Dense Intermediate Size | 10240 || Vocabulary Size | 157184 |<img src="https://intranetproxy.alipay.com/skylark/lark/0/2026/png/23157180/1791966963600-8408d222-3dc1-43c6-87af-f4f905a681db.png" width="599" alt="" title="" crop="0,0,1,1" id="uf3580cdc" class="ne-image">## EvaluationWe have conducted a comprehensive evaluation of Ling-3.1-flash across multiple authoritative benchmarks. **Ling-3.1-flash** performs strongly on representative coding/agentic benchmarks including **Terminal-Bench 4.0, SWE-bench Pro, FrontierSWE, GDPVal-AA V2.1, Automationbench, MCP-Atlas**, **SkillsBench, etc**. In practice, Ling-3.1-flash delivers a strong user experience across frameworks including **Claude Code**,** Kilo Code**,** Qwen Code**,** Hermes Agent**,** **and** OpenClaw**, etc. Beyond agentic tasks, Ling-3.1-flash performs strongly on real-world tasks across **STEM, healthcare, and finance**.We also introduce **LingCode**, a harness built on the open-source coding agent Pi, and enhanced to support complex, long-horizon coding tasks that run for hours, involve hundreds of rounds of tool calls, and require repeated context compaction. LingCode delivers significant performance gains on some coding agent tasks, and we are considering open-sourcing it in the future.<img src="https://intranetproxy.alipay.com/skylark/lark/0/2026/png/202156655/1791988674787-5f49370c-0853-4940-96ea-9f1e4ff20d57.png" width="2481.7499260380887" alt="" title="" crop="0,0,1,1" id="u5ec842ae" class="ne-image">## Quickstart#### SGLang (Recommended)The day-0 SGLang image includes Ling-3.1-flash support, MTP (NEXTN) speculative decoding, and the Hopper decode optimizations:```bashdocker pull lmsysorg/sglang:dev-ling-3.1-flash```##### Run Inference**Server** (8x H200, TP8 + EP8):```bashdocker run --gpus all --network host --ipc=host --rm \5 unmodified lines--host 0.0.0.0 --port 30000```On 4x 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**11 unmodified linesVerified 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](https://docs.sglang.io/cookbook/autoregressive/InclusionAI/Ling-3.1-flash).#### vLLM##### Environment Preparation```bashpip install uv8 unmodified linesVLLM_USE_PRECOMPILED=1 uv pip install --editable . --torch-backend=auto```#### Run inference**Server**```bash13 unmodified lines```**Client**It is recommended to use the sampling params (temperature=1.0, top_p=0.95, top_k=20) and turn on enable_thinkingfor better performance.```bashcurl -s http://${MASTER_IP}:${PORT}/v1/chat/completions \8 unmodified lines```<!-- TDS-LINKS:START -->## Training content summaryThe public training-content summary identifying **Ling-3.1-flash** is available below. Please refer to the document for its covered model versions, training-content scope, summary version, and update date.4 unmodified lines567891011121314151617181920219 unmodified lines3132333435363738394041424344454647484950515253545556575 unmodified lines6364656667686911 unmodified lines81828384858687888 unmodified lines97989910010110210313 unmodified lines1171181191201211221238 unmodified lines1321331341351361371384 unmodified lines<p align="center"><img src="https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*4QxcQrBlTiAAAAAAQXAAAAgAemJ7AQ/original" width="100"/></p><p align="center">🤗 <a href="https://huggingface.co/inclusionAI">Hugging Face</a> | 🤖 <a href="https://modelscope.cn/organization/inclusionAI">ModelScope</a> | 🐙 <a href="https://openrouter.ai/inclusionai/ling-3.1-flash">OpenRouter</a> </p>## IntroductionWe're introducing **Ling-3.1-flash**, an upgraded native hybrid reasoning model designed for complex, real-world tasks. With **560B** total parameters, **25B** active parameters per token, and a **1M-token context window**, Ling-3.1-flash builds upon Ling-3.0-flash with improvements in architecture and performance on real-world tasks.With stronger real-world capabilities, Ling-3.1-flash shows improvements across a range of real-world tasks, including general-purpose agents, search, office productivity, and software engineering. It demonstrates strong performance on benchmarks such as **GDPVal-AA V2.1, HealthBench Professional, FrontierSWE, and Terminal-Bench 4.0**, covering office tasks, healthcare, software engineering, and terminal-based tool use. The model also shows improvements in specialized domains such as finance and materials science.<img src="https://intranetproxy.alipay.com/skylark/lark/0/2026/png/23157180/1791987400376-c61f96e8-41a7-4377-80c2-173a01132dc5.png" alt="Ling-3.1-flash performance overview">## Model OverviewThe table and diagram below summarize the model’s specifications and architecture.| Architecture | Hybrid-linear MoE || --- | --- |9 unmodified lines| Dense Intermediate Size | 10240 || Vocabulary Size | 157184 |<img src="https://intranetproxy.alipay.com/skylark/lark/0/2026/png/23157180/1791966963600-8408d222-3dc1-43c6-87af-f4f905a681db.png" width="600" alt="Ling-3.1-flash model architecture">## EvaluationWe have conducted a comprehensive evaluation of Ling-3.1-flash across multiple authoritative benchmarks. **Ling-3.1-flash** performs strongly on representative coding/agentic benchmarks including **Terminal-Bench 4.0**, **SWE-bench Pro**, **FrontierSWE**, **GDPVal-AA V2.1**, **Automationbench**, **MCP-Atlas**, and **SkillsBench**, among others. In practice, Ling-3.1-flash delivers a strong user experience across **Claude Code**, **Kilo Code**, **Qwen Code**, **Hermes Agent**, **OpenClaw**, and other frameworks. Beyond agentic tasks, Ling-3.1-flash performs strongly on real-world tasks across **STEM**, **healthcare**, and **finance**.We also introduce **LingCode**, a harness built on the open-source coding agent Pi and enhanced to support complex, long-horizon coding tasks that run for hours, involve hundreds of rounds of tool calls, and require repeated context compaction. LingCode delivers significant performance gains on some coding agent tasks, and we are considering open-sourcing it in the future.<img src="https://intranetproxy.alipay.com/skylark/lark/0/2026/png/202156655/1791988674787-5f49370c-0853-4940-96ea-9f1e4ff20d57.png" alt="Ling-3.1-flash evaluation results">## Quickstart### SGLang (Recommended)The day-0 SGLang image includes Ling-3.1-flash support, MTP (NEXTN) speculative decoding, and Hopper decode optimizations:```bashdocker pull lmsysorg/sglang:dev-ling-3.1-flash```#### Run Inference**Server** (8 × H200, TP8 + EP8):```bashdocker run --gpus all --network host --ipc=host --rm \5 unmodified lines--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**11 unmodified linesVerified 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](https://docs.sglang.io/cookbook/autoregressive/InclusionAI/Ling-3.1-flash).### vLLM#### Environment Preparation```bashpip install uv8 unmodified linesVLLM_USE_PRECOMPILED=1 uv pip install --editable . --torch-backend=auto```#### Run Inference**Server**```bash13 unmodified lines```**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.```bashcurl -s http://${MASTER_IP}:${PORT}/v1/chat/completions \8 unmodified lines```<!-- TDS-LINKS:START -->## Training Content SummaryThe public training-content summary identifying **Ling-3.1-flash** is available below. Please refer to the document for its covered model versions, training-content scope, summary version, and update date.
README.md+19-22