alt.freeweights.text / Ling-3.1-flash
From: inclusionAI <huggingface.co/inclusionAI>Newsgroups: alt.freeweights.textSubject:

Ling-3.1-flash

Date: 2026-11-15Commit: dde57b1Signed: 2DC28CC7B26A283B ✓

Text generation model with 572.1B parameters. Safetensors weights, 574 GB in all. Published by inclusionAI under MIT.

572.1B params574GBLing-3.1-flashsafetensorspermissive
FactsParams572.1BSize574 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get inclusionAI/Ling-3.1-flash
# manifest sha256 2d87f0dc8aed… · 574 GB · 64 files
$ fw verify ./Ling-3.1-flash inclusionAI/Ling-3.1-flash
From sourceHosted (signed)inclusionAI/Ling-3.1-flashLast check: 2026-11-15 02:46 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

Size
574 GB
Weights
574 GB (safetensors)
Parameters
572.1B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
64, each with a sha256
Publisher
inclusionAI
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:46 UTCpassed

Model card

From the publisher at commit dde57b1. Shown as plain text with links; images open at the publisher.

Image: image

🤗 Hugging Face&nbsp;&nbsp; | &nbsp;&nbsp;🤖 ModelScope&nbsp;&nbsp; | &nbsp;&nbsp;🐙 OpenRouter&nbsp;&nbsp;

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.

Image: image

Model Overview#

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

ArchitectureHybrid-linear MoE
Parameter ScaleTotal 560B, Activated 25B
Transformer Layers63 KDA + 9 Gated MLA (7:1)
Number of Dense Layers4
Number of Routed Experts512
Number of Shared Experts1
Number of Activated Experts8
Attention Heads64
Hidden Size4096
Expert Intermediate Size1280
Dense Intermediate Size10240
Vocabulary Size157184

Image: image

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.

Image: image

Quickstart#

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.

Files

64 files · 574 GBWeights 574 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 64 files with their sha256
FileSizesha256
.gitattributes1.64 KBd1a8f4a1d2e3787c5956393d9306365ebefe1912cb76828870682b1ab16f5c27
README.md6.65 KBaf8792d2b5eac8fbf16f6d413eb72deb23d27531d0ee2d36d969b30685fdb7d4
chat_template.jinja6.04 KBf9beb6cdd406923de4999458056f2cccd016f348ccfa588c0bdb82ee0dbce457
config.json6.64 KB7b1732fd23b932c203bf77ded8f3af00e16895fa126e8b34d6bdffe1258de256
configuration_bailing_moe_v3.py4.95 KBd05e763fc41727bf3b2c6a905697fa09b0fd58eec88e9950f45c20c2a3d6a0a3
model-00001-of-00054.safetensors10.7 GB43e0a804d0a1cb90ae9e61b9ebeba653840494b91bb4006257cc6d53455476ac
model-00002-of-00054.safetensors10.6 GBa6dad4980cbd23b07abbbc8a5bb5bdb7115132f01b76553e94e4143344e60538
model-00003-of-00054.safetensors10.7 GB477fd785b9d2096ea8f0f558fcbd45d6b9bb81708c866efdcb77d36f94a84f12
model-00004-of-00054.safetensors10.7 GB829964dfb798ba9a5fd7a2393a68619e448f83b7ffd7915fdb7faf9a3b2703d9
model-00005-of-00054.safetensors10.7 GBb572f113fdffa178a52a6f269ba177327ad9d0d595a798b5f93e5f05fed2a48e
model-00006-of-00054.safetensors10.7 GBc2aefac1f16205d0a5cf27fd0b9b55463e7252b02ea0000688b7943a08c8c1c8
model-00007-of-00054.safetensors10.7 GB0b1073f3ba2d0d5ee7472c4008699b12bf3ff9fd53372d299aa55e88766b82d1
model-00008-of-00054.safetensors10.7 GBff1a1a59d9effaae00f4a229fa6eadf280de4f94c20a4b3f9db9b5996e057b25
model-00009-of-00054.safetensors10.7 GBa4e4954c222e5bed86f567166516aa18db35cd97aa2b4e34ae5721b608b67c9d
model-00010-of-00054.safetensors10.7 GBc3e4f84d3765d3dc0751a17370d27fc3867612d964a73ee9f965e23322c1f0d7
model-00011-of-00054.safetensors10.7 GB65e4c3014878fd579bc9ed25b416480a32bc38f2e4c5211da9189559b12b665a
model-00012-of-00054.safetensors10.7 GB298482e28e1764b86da1adae33558f71282b9a9f4ca032c9ba6a413bc0c4370c
model-00013-of-00054.safetensors10.7 GB64e9c5629804fb2451d04334609a46ecd945df12545d43f89f630866badcbcb4
model-00014-of-00054.safetensors10.7 GB28caa97d823aa75814934f7be7da272756beebde127a826fe0cf750fed84e95b
model-00015-of-00054.safetensors10.7 GBc8fad18f9101f212560b96f0d3dddd39bda7b7e6660eb73d9509b07e1e42e4c9
model-00016-of-00054.safetensors10.7 GB76dd79242515c46a92fcd0507dce423a8038bc112b265050834bec64763061c4
model-00017-of-00054.safetensors10.7 GB4cb44afa1c7a9ae733295b6b68c820759d7f33d1e8a0ff680132ae2866ff9ab0
model-00018-of-00054.safetensors10.7 GB3d1fd7c57f9aefb481b06ebc541c1f1602282f769a33c53a5394610e1987fa60
model-00019-of-00054.safetensors10.7 GB1c8fff1a8707c676ea3680a58397d1d56c7d62c6711d6913622cce20c76acd74
model-00020-of-00054.safetensors10.7 GBecfd4eb54bca49daec7f9c74510dac328ea2d6d9cf864b754c25149d1294684b
model-00021-of-00054.safetensors10.7 GBd0b7214bdaa984691bc3cbc5995a5e381fc1682f0118fdde7358738f5abc0ca0
model-00022-of-00054.safetensors10.7 GB973a52799c35b36ca9048669ec4ec1129ba93d1f22b25f8713b12bbd192babc6
model-00023-of-00054.safetensors10.7 GBd5179dd6c2e4612bf1fd8db0137e874f906cda74f515098dae3622774ab0e32f
model-00024-of-00054.safetensors10.7 GB76ff3772daa93e07ca8f1ea478e6fad2facc00436b73d8e520a5687a5165706e
model-00025-of-00054.safetensors10.7 GBbcc8adea037590b9d106e23ad23898c4afc7c9845eca6b2a421a7c3e6c027286
model-00026-of-00054.safetensors10.7 GB124ff00446bdc90560bdca617a1038f6bff86e70d834157e9454001f6fde9934
model-00027-of-00054.safetensors10.7 GB4c842f27eba5d2f584ddc78ff2dc961cdcd639263d7ae55065a90d9732581506
model-00028-of-00054.safetensors10.7 GB0cb954c87d8eb38f384dc5c61b8ac21d18c7a76345df1fab279cf99e9a6da6e7
model-00029-of-00054.safetensors10.7 GBb1737d932cea95f605bc8bc53f80994f173d6739b871ee864641cae8d5bb746e
model-00030-of-00054.safetensors10.7 GB21254dea617b343450e17e4a8ffb9a187584d881434bef133205e4d0f2f0101f
model-00031-of-00054.safetensors10.7 GB32cecc954204433ddb36c8bc9b4030f6a21ee4a7392188dcf1b1cf0499003418
model-00032-of-00054.safetensors10.7 GB0e3255792c945e7bcd6da4f24a5f066c305839f9fa6901af5a740d8d35c64951
model-00033-of-00054.safetensors10.7 GBd1f918f8af257fe69d0666153ab145f77a3997a3791180c84cb141e94db2052d
model-00034-of-00054.safetensors10.7 GBf1cf55c4c3629366a61d0e7e957d060b82f62e740eedcbc111d2ebadb90faae5
model-00035-of-00054.safetensors10.7 GB219ce45920e53b8ad0863dbffd1b36beaca227cefce03f060ffd9cb49c89d639
model-00036-of-00054.safetensors10.7 GB5e53e60333f6dd0fb92f2a79416c2fd93fb24bc029d9c215f15bd94ac70d577b
model-00037-of-00054.safetensors10.7 GBc6517a40f717352c7537af0562c242aeac70fe9ef9a3900843b61303b4ff03ee
model-00038-of-00054.safetensors10.7 GB91bd81d97640d85ff521b40e2e8f1a89682f59e77ef00f619821615238576626
model-00039-of-00054.safetensors10.7 GBd398e1ffd25b8dfc1dd0cdf26266aa2856d0fab1ca5f5abf7c2f14c3e9ee0165
model-00040-of-00054.safetensors10.7 GB9bccf3502dfbc3ca94cba34b3a9d5900a862430770701208b8c343ad88a60af5
model-00041-of-00054.safetensors10.7 GB7c836163a0f99dc5baa45feaae78965fd59575af69dd716619c161f38145055c
model-00042-of-00054.safetensors10.7 GBcd5c56d5c2dc91d93a4055d9e05e105b731beb9ca743bc5cfef61a0a80b63523
model-00043-of-00054.safetensors10.7 GBbd98a3e7a0d5ad1abb8b751f463f6745181b7740bf4f095ce3b0a11943355835
model-00044-of-00054.safetensors10.7 GB4b0d5ae4a653405368327fa73a39c355e7314ef291ec4f8e656c9c28bb75e832
model-00045-of-00054.safetensors10.7 GB9af01ac62c1f4cb82e2319728ca7bce91c1dba03d44c3e4430640b2888e3a43f
model-00046-of-00054.safetensors10.7 GBc5f3658e791d7f6b667c1239178608d6d4ee6ccce5ca0ac89ccafb91b29ba93a
model-00047-of-00054.safetensors10.7 GB49e74ff77236880ee8d0f25a8c909dac47c3fd5ba66372f926e7e1e3a643ed6f
model-00048-of-00054.safetensors10.7 GBb92b1f315edd25ffaf657b80c15693e356435ef1ab0b355a68b1b8be242d11d3
model-00049-of-00054.safetensors10.7 GB80a2a3d8799ea0ccd5b6fdfb256ee9388899cba476184c58ba0ad9207867df2f
model-00050-of-00054.safetensors10.7 GBf43c1f51bad89e508b56f6b2d8e3e9e8c584a5a95f7c3eb26aec1cab895f145b
model-00051-of-00054.safetensors10.7 GB4b05211eedfa60a80175ea603b31ad8cb61d8a76e1e03e559656add9b2074998
model-00052-of-00054.safetensors10.7 GB7e04a6d9371c017c8ded39c69903feb3034d8a087e0c4fb78118fbfeca5ec9a0
model-00053-of-00054.safetensors10.7 GB99c78596d67013daf31bb065a70e35ba4acebef65c71ee378e4dd05a0e518e57
model-00054-of-00054.safetensors6.80 GBbd274ea60436d0557e5938057c5cb1be989fa00fa3a923f7b4ae2329db2c5298
model.safetensors.index.json20.5 MBf01006f7a65eb4b32b66ba60868ef7cc1642c66afe658cb7e6faf80eb246b468
modeling_bailing_moe_v3.py75.1 KB0825ff7b97b41a70410fcbcd100f23b85df830eea209ffe46d11586ca6970bfd
special_tokens_map.json580 B69b63b9f81044ead642d16a5fdc01bcc737dc1183746485c8397ab14d3126614
tokenizer.json12.2 MB40fb9d7d7795b8bd305aeff39ce9963f3f450915b9553f2938e009be9a1fed60
tokenizer_config.json49.7 KB616f1e4ef8474790ea3ac6781a9de2df33f89e0c94a62cefaff7db1808326db1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
dde57b1c6a pinned now2026-11-15 02:46 UTC64 files · 574 GB

Use it

$ fw get inclusionAI/Ling-3.1-flash
# manifest sha256 2d87f0dc8aed… · 574 GB · 64 files
$ fw verify ./Ling-3.1-flash inclusionAI/Ling-3.1-flash
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/inclusionAI/Ling-3.1-flash.json --dir ./Ling-3.1-flash $ python3 fw.py verify ./Ling-3.1-flash ./inclusionAI__Ling-3.1-flash.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download inclusionAI/Ling-3.1-flash --revision dde57b1c6a365aa0e0a33e15cecce0f2be96f5a3 --local-dir ./Ling-3.1-flash
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("inclusionAI/Ling-3.1-flash", revision="dde57b1c6a365aa0e0a33e15cecce0f2be96f5a3") model = AutoModelForCausalLM.from_pretrained("inclusionAI/Ling-3.1-flash", revision="dde57b1c6a365aa0e0a33e15cecce0f2be96f5a3", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve inclusionAI/Ling-3.1-flash --revision dde57b1c6a365aa0e0a33e15cecce0f2be96f5a3

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
af8792d2b5eac8fbf16f6d413eb72deb23d27531d0ee2d36d969b30685fdb7d4
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: inclusionAI <huggingface.co/inclusionAI>Newsgroups: alt.freeweights.textSubject: Ling-3.1-flashDate: 2026-11-15Commit: dde57b1Signed: 2DC28CC7B26A283B ✓
Upstream
inclusionAI/Ling-3.1-flash
Pinned commit
dde57b1c6a365aa0e0a33e15cecce0f2be96f5a3
Manifest
Ling-3.1-flash.json · .minisig
Manifest sha256
2d87f0dc8aed54c90b2229a977d04050858ffa624bdfdeb3656b4d9b5f707a7e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:46 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/inclusionAI/Ling-3.1-flash.json $ curl -O https://freeweights.allternit.com/manifests/inclusionAI/Ling-3.1-flash.json.minisig $ minisign -Vm Ling-3.1-flash.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download inclusionAI/Ling-3.1-flash
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Ling-3.1-flash.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Ling-3.1-flash. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B