inclusionAI / Ling-3.1-flash

huggingface.co
Total runs: 1.9K
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: October 15 2026
text-generation

Introduction of Ling-3.1-flash

Model Details of Ling-3.1-flash

🤗 Hugging Face |   🤖 ModelScope |   🐙 OpenRouter

Introduction

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 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.

Ling-3.1-flash performance overview
Model Overview

The table and diagram below summarize the model’s specifications and architecture.

Architecture Hybrid-linear MoE
Parameter Scale Total 560B, Activated 25B
Transformer Layers 63 KDA + 9 Gated MLA (7:1)
Number of Dense Layers 4
Number of Routed Experts 512
Number of Shared Experts 1
Number of Activated Experts 8
Attention Heads 64
Hidden Size 4096
Expert Intermediate Size 1280
Dense Intermediate Size 10240
Vocabulary Size 157184
Ling-3.1-flash model architecture
Evaluation

We 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.

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:

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/Ling-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": "Ling-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}'
Training Content Summary

The 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.

This summary concerns training-content disclosure; it does not replace the model’s technical documentation, usage terms, or license.

Runs of inclusionAI Ling-3.1-flash on huggingface.co

1.9K
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Ling-3.1-flash huggingface.co Model

More Ling-3.1-flash license Visit here:

https://choosealicense.com/licenses/mit

Ling-3.1-flash huggingface.co

Ling-3.1-flash huggingface.co is an AI model on huggingface.co that provides Ling-3.1-flash's model effect (), which can be used instantly with this inclusionAI Ling-3.1-flash model. huggingface.co supports a free trial of the Ling-3.1-flash model, and also provides paid use of the Ling-3.1-flash. Support call Ling-3.1-flash model through api, including Node.js, Python, http.

inclusionAI Ling-3.1-flash online free

Ling-3.1-flash huggingface.co is an online trial and call api platform, which integrates Ling-3.1-flash's modeling effects, including api services, and provides a free online trial of Ling-3.1-flash, you can try Ling-3.1-flash online for free by clicking the link below.

inclusionAI Ling-3.1-flash online free url in huggingface.co:

https://huggingface.co/inclusionAI/Ling-3.1-flash

Ling-3.1-flash install

Ling-3.1-flash is an open source model from GitHub that offers a free installation service, and any user can find Ling-3.1-flash on GitHub to install. At the same time, huggingface.co provides the effect of Ling-3.1-flash install, users can directly use Ling-3.1-flash installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Ling-3.1-flash install url in huggingface.co:

https://huggingface.co/inclusionAI/Ling-3.1-flash

Url of Ling-3.1-flash

Ling-3.1-flash huggingface.co Url

Provider of Ling-3.1-flash huggingface.co

inclusionAI
ORGANIZATIONS

Other API from inclusionAI

huggingface.co

Total runs: 2.2K
Run Growth: -923
Growth Rate: -42.20%
Updated:September 24 2026
huggingface.co

Total runs: 676
Run Growth: 441
Growth Rate: 65.72%
Updated:September 15 2026
huggingface.co

Total runs: 618
Run Growth: 65
Growth Rate: 10.47%
Updated:September 24 2026
huggingface.co

Total runs: 344
Run Growth: 77
Growth Rate: 22.92%
Updated:March 04 2026
huggingface.co

Total runs: 299
Run Growth: 94
Growth Rate: 35.21%
Updated:April 13 2026
huggingface.co

Total runs: 267
Run Growth: -308
Growth Rate: -115.36%
Updated:August 24 2026