Today, we are officially open-sourcing Ring-flash-2.0.
This is a high-performance thinking model, deeply optimized based on Ling-flash-2.0-base. Like Ling-flash-2.0, Ring-flash-2.0 has a total of 100B parameters, with only 6.1B activated per inference. Our independently developed icepop algorithm has successfully addressed the challenge of training instability in reinforcement learning (RL) for MoE LLMs after cold-start Long-CoT SFT, enabling the model’s complex reasoning capabilities to continuously improve throughout extended RL training cycles.
Ring-flash-2.0 demonstrates significant breakthroughs across multiple challenging benchmarks, including math competitions, code generation, and logical reasoning. Its performance not only surpasses that of SOTA dense models under 40B parameters but also rivals larger open-weight MoE models and closed-source high-performance thinking model APIs.
leading-level performance in complex reasoning
We selected representative open-source thinking models and closed-source APIs for comparison, including GPT-OSS-120B(medium), Qwen3-32B-Thinking, Seed-OSS-36B-Instruct, and Gemini-2.5-Flash.
The benchmarking results demonstrate that Ring-flash-2.0 exhibits leading performance across multiple challenging general reasoning tasks, including:
Math competitions (AIME 25, Omni-MATH),
Code generation (LiveCodeBench, CodeForce-Elo),
Logical reasoning (ARC-Prize).
It also shows strong competitiveness in specialized domains such as:
Scientific and medical reasoning (GPQA-Diamond, HealthBench).
More surprisingly, although Ring-flash-2.0 is primarily designed for complex reasoning, it outperforms all other compared models in creative writing (Creative Writing v3) and matches the creative capability of its "twin brother"—the non-thinking model Ling-flash-2.0.
Efficient Architecture, High-Speed Inference
Building on the highly efficient MoE architecture of the Ling 2.0 series, and through structural optimizations such as a __1/32 expert activation ratio__ and __MTP layers__, Ring-flash-2.0 activates only 6.1B (4.8B non-embedding) parameters while delivering performance comparable to a ∼40B dense model.
Thanks to its low activation and high sparsity design, Ring-flash-2.0 achieves a high generation speed of __200+ tokens/sec__ when deployed on just four H20 GPUs, significantly reducing inference costs for thinking models in high-concurrency scenarios.
IcePop: Cooling Down Training-Inference Gaps in RL for MoE Models
During the RL for MoE models, the discrepancy of precision between the training and inference engines is more pronounced compared to dense models. This gap widens progressively as sequence length and training steps increase—particularly during long-sequence generation and extended training cycles. A more critical issue is that the original GRPO algorithm begins to break down within a limited number of training steps. Specifically, the probabilistic discrepancy for the same token between training and inference phases gradually increases. When this relative difference exceeds 5%, training effectively fails, posing a significant challenge for long-horizon reinforcement learning with lengthy sequences.
To address this issue, we introduced a key solution: distribution calibration via masked bidirectional truncation, which effectively narrows the gap between training and inference.
Bidirectional Truncation: We truncate not only tokens where the training probability is significantly higher than the inference probability but also the reverse scenario where the training probability is much lower.
Masking: Tokens with excessively large discrepancies are excluded from gradient computation.
To comprehensively enhance the capabilities of Ring-flash-2.0, we designed a Two-staged RL pipeline. First, lightweight Long-CoT SFT equips the Ling-flash-2.0-base model with diverse thinking patterns. This is followed by RL training with Verifiable Rewards (RLVR) to continually stimulate the model’s reasoning potential. Finally, an RLHF phase is incorporated to improve the model’s general abilities.
During RL training, we compared directly combining RLVR and RLHF into joint training with the ultimately adopted Two-staged RL pipeline. Both approaches showed relatively similar effectiveness in our experiments. However, due to the differing difficulty levels of RLVR and RLHF tasks—with RLHF involving relatively shorter model rollouts—joint training resulted in more long-tail generations. From an engineering efficiency perspective, we ultimately adopted the Two-staged RL approach.
Quickstart
🚀 Try Online
You can experience Ring-flash-2.0 online at: ZenMux
🔌 API Usage
You can also use Ring-flash-2.0 through API calls:
python
1from openai import OpenAI
23# 1. Initialize the OpenAI client4client = OpenAI(5# 2. Point the base URL to the ZenMux endpoint6 base_url="https://zenmux.ai/api/v1",7# 3. Replace with the API Key from your ZenMux user console8 api_key="<your ZENMUX_API_KEY>",9)1011# 4. Make a request12completion = client.chat.completions.create(13# 5. Specify the model to use in the format "provider/model-name"14 model="inclusionai/ring-flash-2.0",15 messages=[16{17"role":"user",18"content":"What is the meaning of life?"19}20]21)2223print(completion.choices[0].message.content)
🤗 Hugging Face Transformers
Here is a code snippet to show you how to use the chat model with transformers:
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
2model_name ="inclusionAI/Ring-flash-2.0"3model = AutoModelForCausalLM.from_pretrained(4 model_name,5 dtype="auto",6 device_map="auto",7 trust_remote_code=True,8)9tokenizer = AutoTokenizer.from_pretrained(model_name)10prompt ="Give me a short introduction to large language models."11messages =[12{"role":"system","content":"You are Ling, an assistant created by inclusionAI"},13{"role":"user","content": prompt}14]15text = tokenizer.apply_chat_template(16 messages,17 tokenize=False,18 add_generation_prompt=True19)20model_inputs = tokenizer([text], return_tensors="pt", return_token_type_ids=False).to(model.device)21generated_ids = model.generate(22**model_inputs,23 max_new_tokens=819224)25generated_ids =[26 output_ids[len(input_ids):]for input_ids, output_ids inzip(model_inputs.input_ids, generated_ids)27]28response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
🤖 ModelScope
If you're in mainland China, we strongly recommend you to use our model from 🤖 ModelScope.
Deployment
vLLM
vLLM supports offline batched inference or launching an OpenAI-Compatible API Service for online inference.
Environment Preparation
Since the Pull Request (PR) has not been submitted to the vLLM community at this stage, please prepare the environment by following the steps below:
1from transformers import AutoTokenizer
2from vllm import LLM, SamplingParams
3tokenizer = AutoTokenizer.from_pretrained("inclusionAI/Ring-flash-2.0")4sampling_params = SamplingParams(temperature=0.7, top_p=0.8, repetition_penalty=1.05, max_tokens=16384)5llm = LLM(model="inclusionAI/Ring-flash-2.0", dtype='bfloat16')6prompt ="Give me a short introduction to large language models."7messages =[8{"role":"system","content":"You are Ling, an assistant created by inclusionAI"},9{"role":"user","content": prompt}10]11text = tokenizer.apply_chat_template(12 messages,13 tokenize=False,14 add_generation_prompt=True15)16outputs = llm.generate([text], sampling_params)
Then you should apply patch to sglang installation:
shell
1# patch command is needed, run `yum install -y patch` if needed2patch -d `python -c 'import sglang;import os; print(os.path.dirname(sglang.__file__))'` -p3 < inference/sglang/bailing_moe_v2.patch
Run Inference
BF16 and FP8 models are supported by SGLang now, it depends on the dtype of the model in ${MODEL_PATH}. They both share the same command in the following:
MTP is supported for base model, and not yet for chat model. You can add parameter --speculative-algorithm NEXTN
to start command.
Client:
shell
1curl -s http://localhost:${PORT}/v1/chat/completions \2 -H "Content-Type: application/json"\3 -d '{"model": "auto", "messages": [{"role": "user", "content": "What is the capital of France?"}]}'
If you find our work helpful, feel free to give us a cite.
bibtex
1@article{lingteam2025everystep,
2 title={Every Step Evolves: Scaling Reinforcement Learning for Trillion-Scale Thinking Model},
3 author={Ling Team and Anqi Shen and Baihui Li and Bin Hu and Bin Jing and Cai Chen and Chao Huang and Chao Zhang and Chaokun Yang and Cheng Lin and Chengyao Wen and Congqi Li and Deng Zhao and Dingbo Yuan and Donghai You and Fagui Mao and Fanzhuang Meng and Feng Xu and Guojie Li and Guowei Wang and Hao Dai and Haonan Zheng and Hong Liu and Jia Guo and Jiaming Liu and Jian Liu and Jianhao Fu and Jiannan Shi and Jianwen Wang and Jianxin Lai and Jin Yang and Jun Mei and Jun Zhou and Junbo Zhao and Junping Zhao and Kuan Xu and Le Su and Lei Chen and Li Tang and Liang Jiang and Liangcheng Fu and Lianhao Xu and Linfeng Shi and Lisha Liao and Longfei Zheng and Meng Li and Mingchun Chen and Qi Zuo and Qiang Cheng and Qianggang Cao and Qitao Shi and Quanrui Guo and Senlin Zhu and Shaofei Wang and Shaomian Zheng and Shuaicheng Li and Shuwei Gu and Chen, Siba and Wu, Tao and Zhang, Tao and Zhang, Tianyu and Zhou, Tianyu and Bie, Tiwei and Yang, Tongkai and Hong, Wang and Ren, Wang and Chen, Weihua and Yu, Wenbo and Zheng, Wengang and Wang, Xiangchun and Yan, Xiaodong and Wan, Xiaopei and Zhao, Xin and Kong, Xinyu and Tang, Xinyu and Han, Xudong and Wang, Xudong and Yang, Xuemin and Hu, Xueyu and Zhang, Yalin and Sun, Yan and Shan, Yicheng and Wang, Yilong and Xu, Yingying and Liu, Yongkang and Guo, Yongzhen and Wang, Yuanyuan and Yan, Yuchen and Wang, Yuefan and Guo, Yuhong and Li, Zehuan and Xu, Zhankai and Li, Zhe and Zhang, Zhenduo and Gui, Zhengke and Pan, Zhenxuan and Huang, Zhenyu and Lan, Zhenzhong and Ding, Zhiqiang and Zhang, Zhiqiang and Li, Zhixun and Liu, Zhizhen and Wang, Zihao and Wen, Zujie},
4 year={2025},
5 eprint={2510.18855},
6 archivePrefix={arXiv},
7 primaryClass={cs.LG},
8 url={https://arxiv.org/abs/2510.18855},
9}