—— Advancing Frontier Agentic Models On Domestic Chips And Frameworks
GitHub · Hugging Face · ModelScope · Modelers · AtomGit · TeleAI Open Platform · Technical Report
Xing4.1-Preview is developed by China Telecom Artificial Intelligence Technology (Beijing) Co., Ltd. It is the latest model in the Xing series (formerly TeleChat), adopting a Sparse Mixture-of-Experts (MoE) architecture that combines Multi-head Latent Attention (MLA) with DeepSeek Sparse Attention (DSA), targeting long-context interaction, complex reasoning, and agent workflows:
[!NOTE] Weight format: The native format of Xing4.1-Preview weights is MindSpore format. This repository provides converted PyTorch (Hugging Face Transformers) format weights, stored as safetensors shards. The released PyTorch checkpoints are compatible with the supported inference frameworks, including Transformers, SGLang, and vLLM, through their respective model implementations and deployment configurations. Users can therefore deploy the released checkpoints without depending on the original MindSpore training environment.
Leveraging the Ascend 910C chip's high matrix (Cube) compute ratio and constrained vector compute, together with the super-pod cluster's unified memory addressing and high inter-card communication bandwidth, Xing4.1-Preview uses the MindSpore training framework as its foundation. Targeted designs have been applied across model architecture, parallelism strategy, and token vocabulary to jointly improve model capability, training efficiency, and cluster utilization. The model also adopts MLA and DSA from DeepSeek V3.2 to improve inference efficiency, and is compatible with open-source ecosystems such as SGLang and vLLM.
Compared with hybrid linear attention architectures such as KDA and GDN, DSA relies primarily on matrix-multiplication operations, which are better aligned with the Cube compute units. While hybrid linear attention offers theoretical complexity advantages for long sequences, its gating, state update, and scan operations place high demands on Vector performance and operator fusion capabilities, making it difficult to fully realize theoretical gains under the current 910C software stack. We therefore prioritize DSA, which reduces attention computation complexity while better leveraging the hardware's matrix compute strengths.
Under the constraints of model scale and parallelism strategy, we adopt a design that moderately increases network width while reducing depth (45 layers / Hidden Size 4096 / Dense FFN Intermediate 18432). This increases the computation scale, arithmetic intensity, and data reuse efficiency of core matrix multiplication operators, thereby improving Cube unit utilization. At the same time, reducing the number of layers lowers per-layer sequential overheads such as normalization, activation functions, operator scheduling, and data movement, mitigating the impact of Vector performance bottlenecks on overall training throughput.
We adopt a hybrid sharding strategy — "shard within super-pods, replicate across super-pods" — to reduce per-device memory footprint, replacing pipeline parallelism to eliminate bubble overhead. Communication is performed directly on parameter tensors, avoiding redundant copy-in/copy-out through intermediate buffers. Intra-super-pod AllGather and ReduceScatter for parameters and gradients, together with inter-super-pod fused gradient AllReduce, are overlapped asynchronously with backward computation, enabling overlapping of communication across three levels.
The vocabulary was customized for agent and coding scenarios. Subword statistics, frequency counts, and pointwise mutual information were computed over large-scale corpora from target domains — including agent trajectories, tool calls, and code repositories — and high-frequency contiguous spans were preferentially merged. With the vocabulary size held constant, the customized vocabulary reduces token counts by 16% for agent scenarios and 23% for coding scenarios, substantially boosting problem-solving capability in these domains.
Xing4.1-Preview training uses 8,192 Ascend 910C chips and the MindSpore training framework. Key contributions include:
Owner-based Muon optimizer: Keeps parameter and momentum sharding layout unchanged. The Newton–Schulz orthogonalization of each 2D matrix is performed once by a designated Owner device within the sharding group and then broadcast (batched by matrix shape), avoiding redundant full-matrix reconstruction and duplicate computation across devices.
Fine-grained selective recomputation: Operators are precisely selected for retention based on execution time and output memory footprint, avoiding coarse whole-layer recomputation and per-operator framework callback overhead. Boundary input placeholder release and recomputation recovery mechanisms further compress activation memory.
Long-sequence sparse attention optimization: Supports layer-wise early backward propagation of Indexers to release auxiliary computation graphs as soon as possible, combined with dynamic sequence block pairing and document-level KV window pruning, reducing computation imbalance and memory access redundancy under ultra-long contexts.
Host-side scheduling: Training threads are assigned CPU affinity by device pool or thread role subset (while preserving intra-pool load balancing), and selected system services and migratable interrupts are isolated to a dedicated system core pool, reducing large-scale cluster synchronization stalls.
Post-training uses the in-house TeleGym platform. TeleGym provides an integrated infrastructure for agentic post-training, covering task execution, evaluation, trajectory construction, and policy optimization. Its asynchronous execution, bounded oversampling, and partial rollout mechanisms enable efficient utilization of agent execution resources while maintaining trajectory continuity across policy updates.
Xing4.1-Preview supports model training via the MindSpore framework and the MindSpore Transformers (MindFormers) toolkit, covering pre-training, fine-tuning, evaluation, inference, and deployment. It provides implementations and configurations for supported Transformer models, with streamlined single-device and distributed training workflows. For the specific feature support scope of each model, please refer to the official model library.
For environment setup, task launching, and distributed parallelism strategies, or to learn more about framework features and source code, please refer to the MindSpore Transformers (MindFormers) official repository. For Xing4.1-Preview training, see the MindSpore MindFormers — Xing4 Training Guide.
| Benchmark | Xing4.1-Preview | DeepSeek-V4-Flash-0731 | GLM-5.3-Flash | DeepSeek-V4.1-Flash-1017 | GLM-5.3 |
|---|---|---|---|---|---|
| Reasoning & Knowledge | |||||
| MMLU-Pro | 85.2 | 85.18 | 87.58 | 87.83 | 88 |
| GPQA Diamond | 89.34 | 90.7 | 88.8 | 93.91 | 91.88 |
| AIME 2026 | 92 | 98.5 | 88 | 100 | 89.3 |
| Coding | |||||
| SWE-Bench Pro V2 (Hard51) | 74.5 | 60.8 | 72.7 | 88.2 | 84.3 |
| Terminal-Bench 2.1 | 80.8 | 82.7 † | 84.3 † | 87.6 § | 88.2 † |
| Terminal-Bench 4.0 | 28.7 | 12.1 ‡ | 32.8 ‡ | 33.8 ‡ | 41.9 ‡ |
| Terminal-Bench-Science 0.1 | 12.9 | 4.3 § | 4.8 ‡ | 12.9 | 9.5 ‡ |
| SciCode | 53.95 | 50 | 52 | 59 | 56 |
| SWE-Atlas v1.0-QA | 51.2 | 48 | 56 | 61 | 58.5 |
| SWE-Atlas v1.0-RF | 41.4 | 47.14 | 40 | 44.3 | 45.7 |
| Agent | |||||
| HLE-diamond (w/ tools, text-only) | 52.3 | 53.5 | 47.3 | 70 | 48.7 |
| AutomationBench v1.0.6 | 52.3 | 38.8 † | 48.8 † | 60.5 † | 53.33 † |
| Agent's Last Exam | 20.2 | 25.2 † | 26.3 † | 35.4 † | 28.5 † |
| WorkspaceBench (text-only) | 56.5 | 56.3 | 57.3 | 64 | 57.1 |
| Claw-Eval (text-only) | 80.58 | 79.49 | 79.24 | — | 80.3 |
| Tau3-Banking | 41.5 | 39.4 ‡ | 47.2 ‡ | — | 50.3 ‡ |
| Long-Document Reasoning | |||||
| GDP.pdf | 13.2 | 11 ‡ | 15.4 ‡ | 17.2 ‡ | 11.2 ‡ |
| AA.LCR | 79.67 | 79.7 ‡ | 80 ‡ | 82.7 ‡ | 79.7 ‡ |
Notes:
temperature=0.8, top_p=0.95, repetition_penalty=1.05, with the following exceptions: MMLU-Pro temperature=0.6; GPQA Diamond / AIME 2026 temperature=1.0; Agent's Last Exam temperature=1.0, repetition_penalty=1.0. Comparison models use their respective recommended parameters with reasoning effort set to maximum.Xing4.1-Preview is available via an OpenAI-compatible API through the TeleAI Open Platform.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api-maas.teleai.com.cn/v1",
)
response = client.chat.completions.create(
model="Xing4.1-Preview",
messages=[
{"role": "user", "content": "Build a single-file HTML page for estimating team-building costs: users check activities and enter headcount, and the page updates the breakdown, total, and per-person cost in real time."}
],
)
print(response.choices[0].message.content)
Xing4.1-Preview has a different architecture from Xing4.0 (using MLA + DSA), but maintains upstream API compatibility with the Xing 4 series. Fine-tuning and serving ecosystems already integrated upstream for Xing4.0 can be directly reused for Xing4.1 (llama.cpp and KTransformers only apply to the Xing4.0 series, not to Xing4.1-Preview):
| Framework | Xing4.1 Support | Date / Version | Usage |
|---|---|---|---|
| ms-swift | Native — v4.6.0+ | 2026-10-01 | Use the upstream ms-swift |
| SGLang | Native — main branch | 2026-11-05 | Use the upstream SGLang main branch |
| LLaMA-Factory | Native — main branch | 2026-10-29 | Use the upstream LLaMA-Factory main branch |
| vLLM | Official out-of-tree plugin | — | XingChen-AGI/xing4-vllm-plugin |
| vLLM-Ascend | Ascend NPU | — | vLLM-Ascend deployment guide |
| TensorRT-LLM | Upstream PR under review | — | See the PR branch in the GitHub README |
Pre-built container images and deployment guides are available in the GitHub repository.
[!NOTE] Xing4.1-Preview reuses the Xing 4 series serving stack. The commands below follow the Xing4.0 deployment approach — replace
${MODEL_PATH}with a local path orXingChen-AGI/Xing4.1-Preview. The model is a 285B BF16 MoE; weights alone require approximately 8×80 GB GPU memory (--tensor-parallel-size 8), with longer contexts requiring proportionally more resources. The model supports a native context length of up to 1M tokens, subject to available GPU memory and deployment configuration. For parser identifiers and pre-built image tags, refer to the official deployment documentation in the GitHub repository.
vLLM — official out-of-tree plugin (XingChen-AGI/xing4-vllm-plugin):
vllm serve ${MODEL_PATH} \
--host 0.0.0.0 \
--port 8000 \
--served-model-name Xing4.1-Preview \
--tensor-parallel-size 8 \
--trust-remote-code \
--gpu-memory-utilization 0.90 \
--max-num-seqs 4 \
--enable-auto-tool-choice \
--reasoning-parser xing4_0 \
--tool-call-parser xing4_0
SGLang — native support on main branch:
sglang serve --model-path ${MODEL_PATH} \
--trust-remote-code \
--host 0.0.0.0 \
--port 8000 \
--served-model-name Xing4.1-Preview \
--tp-size 8 \
--mem-fraction-static 0.90 \
--max-running-requests 4 \
--reasoning-parser xing4_0 \
--tool-call-parser xing4_0
After startup, the OpenAI-compatible API is available at http://localhost:8000/v1.
| Scenario | temperature |
top_p |
repetition_penalty |
|---|---|---|---|
| Agent / Code | 0.8 | 0.95 | 1.05 |
| Reasoning | 1.0 | 0.95 | 1.05 |
| General | 0.6 | 0.95 | 1.05 |
Like all generative language models, Xing4.1-Preview may produce inaccurate or unexpected outputs. Outputs are generated automatically by the model and do not represent the views of China Telecom. Please independently verify important information and do not use the model for purposes that violate applicable laws and regulations.
Do not use Xing4 or its derivative models for any activity that endangers national security or public safety or violates laws and regulations, nor for internet services that have not undergone the required safety review and filing.
@misc{lab2026telechatxing4advancingfrontier,
title={TeleChat to Xing4: Advancing Frontier Agentic Models on Domestic Chips and Frameworks},
author={Xingchen AGI Lab and Baotian Hu and Bingkai Yang and Boyang Wang and Changzai Pan and Chao Lyu and Chao Wang and Chen Li and Chenshuo Pan and Chenyu Lin and Chenyuan Zhang and Chongming Liu and Dawei Fan and Di Wu and Dong Guo and Dong Li and Dongfang Li and Enlin Liu and Fanye Xiao and Fengkai Li and Fubei Yao and Gang Lin and Han Gao and Hanming Wu and Haowei He and Huapeng Liu and Hua Wang and Huinan Xu and Jiahong Xiong and Jiaxin Peng and Jianxiang Ma and Jianxing Zhuge and Jie Zhang and Ji Xiong and Jinglin Chen and Jingqi Li and Jingxuan Li and Jiwang Ye and Junchen Li and Junbiao Li and Junyang Wu and Kaidong Yu and Kaipeng Jia and Kehai Chen and Kuai Li and Laobin Liu and Lei Li and Libo Qin and Lingling Shi and Luwen Pu and Menghao Xu and Mengjiao Bao and Mengqi Chen and Min Zhang and Mingrui Wang and Naying Wang and Peicong Han and Peiming Guo and Pengfei Li and Qiang Feng and Qi Wang and Qingjun Zhu and Qingli Li and Qitai Ding and Qiyi Xie and Quanchao Zhao and Rongbao Han and Rui Xue and Ruiyu Fang and Ruiting Song and Shijie Li and Shiquan Wang and Shuangyong Song and Sishi Xiong and Teng Su and Wankang Bao and Weijie Zhang and Wei Mao and Weiwei Fu and Weiyang Huang and Wenmin Deng and Wenqing Hu and Wujie Zhong and Xi Yu and Xiaohui Hu and Xiaomin Fang and Xiaomeng Huang and Xiaoqiong Shi and Xiaotong Shang and Xiaoyu Li and Xinglei Xu and Xin Jiang and Xin Wang and Xin Zhang and Xinzhang Liu and Xue Liu and Xuefeng Bai and Xuewei He and Yahan Li and Yanhan Zhang and Yanlei Xue and Yanzhang Wu and Yang Yu and Yi Liu and Yin Zhang and Yingyan Li and Yitong Yao and Yixuan Li and Yongqiang Xia and Yongxiang Li and Yinzhou Zhu and Yu Zhao and Yuhao Jiang and Yunpeng Zhang and Yuting Lin and Yuxuan Wu and Yuyao Huang and Yuyi Wang and Zebo Peng and Zhenwu Pei and Zhenxiong Li and Zhao Wang and Zhaoxi Zhang and Zhihao Yang and Zhiqiang Dong and Zhiwei Yan and Zhilong Lu and Zhonghao Guo and Zhongheng Wu and Zhongjiang He and Zhongqiu Li and Zhu Yuan and Zhuoru Jiang and Zhuoyi Wei and Zijia Guo and Zilu Huang and Zhipeng Guo and Zirui Li and Zihan Wang},
year={2026},
eprint={2611.22115},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2611.22115},
}
Developed by China Telecom Artificial Intelligence Technology (Beijing) Co., Ltd.
model-00046-of-00046.safetensors 13 GiBmodel-00011-of-00046.safetensors 12 GiBmodel-00012-of-00046.safetensors 12 GiBmodel-00013-of-00046.safetensors 12 GiBmodel-00014-of-00046.safetensors 12 GiBmodel-00015-of-00046.safetensors 12 GiBmodel-00016-of-00046.safetensors 12 GiBmodel-00017-of-00046.safetensors 12 GiBmodel-00018-of-00046.safetensors 12 GiBmodel-00019-of-00046.safetensors 12 GiBmodel-00020-of-00046.safetensors 12 GiBmodel-00021-of-00046.safetensors 12 GiBmodel-00022-of-00046.safetensors 12 GiBmodel-00023-of-00046.safetensors 12 GiBmodel-00024-of-00046.safetensors 12 GiBmodel-00025-of-00046.safetensors 12 GiBmodel-00026-of-00046.safetensors 12 GiBmodel-00027-of-00046.safetensors 12 GiBmodel-00028-of-00046.safetensors 12 GiBmodel-00029-of-00046.safetensors 12 GiBmodel-00030-of-00046.safetensors 12 GiBmodel-00031-of-00046.safetensors 12 GiBmodel-00032-of-00046.safetensors 12 GiBmodel-00033-of-00046.safetensors 12 GiBmodel-00034-of-00046.safetensors 12 GiBmodel-00035-of-00046.safetensors 12 GiBmodel-00036-of-00046.safetensors 12 GiBmodel-00037-of-00046.safetensors 12 GiBmodel-00038-of-00046.safetensors 12 GiBmodel-00039-of-00046.safetensors 12 GiBmodel-00040-of-00046.safetensors 12 GiBmodel-00041-of-00046.safetensors 12 GiBmodel-00042-of-00046.safetensors 12 GiBmodel-00043-of-00046.safetensors 12 GiBmodel-00044-of-00046.safetensors 12 GiBmodel-00045-of-00046.safetensors 12 GiBmodel-00004-of-00046.safetensors 12 GiBmodel-00005-of-00046.safetensors 12 GiBmodel-00006-of-00046.safetensors 12 GiBmodel-00007-of-00046.safetensors 12 GiBmodel-00008-of-00046.safetensors 12 GiBmodel-00009-of-00046.safetensors 12 GiBmodel-00010-of-00046.safetensors 12 GiBmodel-00001-of-00046.safetensors 1.7 GiBmodel-00002-of-00046.safetensors 706 MiBmodel-00003-of-00046.safetensors 706 MiB