Model reference · open weights

Xing4.0

LLMs XingChen-AGI Text gen · MoE 2 builds Open weights 3k dl/mo

Xing4.0 is an open-weight language model from XingChen-AGI. Xing4.0-29B-A4B (BF16) weighs 62.4 GB; the smallest configuration that runs it is H100 80 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • Xing4.0 is a text-generation model developed by XingChen-AGI, designed for complex engineering tasks and agent-oriented applications.
  • It features 31.2B total parameters with 4B active per token and supports a native context length of 262144 tokens.
  • The model is released under the apache-2.0 licence.

Summary of the XingChen-AGI/Xing4.0-29B-A4B model card, 2026-10-01

What it is

Released byXingChen-AGI
Released2026-09-16
Parameters31.2B
VRAM62.4 GB for the weights

What it runs on

Memory and cards for Xing4.0-29B-A4B (BF16)

62.4 GBweights, file size
46 MBcache per 1K tokens
1.0 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … L40S 48 GB
6 smaller cards
A100 80 GB399all 256K78.2 GB
H100 80 GB256205K78.1 GB
RTX PRO 6000 Blackwell 96 GB6716all 256K93.8 GB
DGX Spark (GB10) 128 GB unified10325all 256K107 GB
H200 141 GB18446all 256K138 GB
B200 180 GB28070all 256K176 GB
2× L40S 48 GB
tensor parallel
317248K44.0 GB a card
4× RTX 4090 24 GB
tensor parallel
174142K23.4 GB a card
4× RTX 3090 24 GB
tensor parallel
174143K23.4 GB a card
4× RTX 5090 32 GB
tensor parallel
389all 256K31.0 GB a card
2× H100 80 GB
tensor parallel
10827all 256K78.1 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
163.8 GB65.0 GB
565.3 GB71.0 GB
866.5 GB75.5 GB
1669.5 GB87.6 GB
3275.5 GB112 GB
6487.6 GB160 GB

One card, with vLLM's small-card settings.

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
Xing4.0-29B-A4B (above) ↗ 31.2BBF16 62.4 GBH100 80 GB
Xing4.0-29B-A4B-FP8 ↗ 31.2BFP8 33.2 GBL40S 48 GB

From the model card

What XingChen-AGI says about Xing4.0

Read the model card

[!Note] This repository provides the model weights and configuration files for Xing4.0-29B-A4B in Hugging Face Transformers format, compatible with Transformers, vLLM, SGLang, KTransformers, and other mainstream inference frameworks.

Xing4.0-29B-A4B is a next-generation large language model in the Xing series (formerly TeleChat), developed by China Telecom Artificial Intelligence Technology Co., Ltd. With 29B total parameters and only 4B activated per token, it natively supports a 256K context length, extensible to 512K. It is the first model of this scale trained entirely on the Ascend NPU platform with the MindSpore framework, and deeply optimized for complex engineering tasks.

For more information, please refer to our GitHub repository.

Highlights

  • Agent-Oriented Architecture: Built on the mHC + MLA + MTP architecture, supporting multi-step planning, tool calling, and complex reasoning chain execution, ensuring task coherence and execution stability under long contexts.
  • Deep Co-optimization with Ascend NPU: Adapted for Ascend 910C clusters using MindSpore/MindFormers, including feature adaptation for mHC and fused operator development, enabling stable and efficient training on the Ascend platform.
  • Significant Training Efficiency Gains: Through multi-level co-optimization — including fine-grained MoE communication optimization, selective recomputation, DVM automatic graph-operator fusion, and Ascend C mHC fused operators — overall training throughput was improved by approximately 96% over out-of-the-box performance.
  • Full Open-Source Ecosystem Compatibility: Supports LLaMA-Factory and MindFormers for fine-tuning; SGLang, vLLM, and KTransformers for inference and deployment; with targeted adaptation and format alignment for agent frameworks such as OpenCode, Claude Code, OpenClaw, and Hermes, enabling seamless integration into existing workflows.
  • Easy Adaptation for Domain-Specific Scenarios: The model is well-suited for downstream task fine-tuning, allowing lightweight customization on proprietary data for vertical domains such as intent classification, table understanding, contract auditing, and knowledge-based QA, enabling rapid domain capability development and deployment at low cost.

Model Overview

Xing4.0-29B-A4B
Parameters29B (4B active)
Number of Layers40
Hidden Size3584
Dense FFN Intermediate Size9216
Expert Intermediate Size1024
Attention TypeMLA
Number of Routed Experts64
Active Experts per Token4
Number of Shared Experts1
Context Length256K (extensible to 512K)

Benchmark

BenchmarkXing4.0-29B-A4BGemma4-26B-A4BQwen3.6-35B-A3B
IFBench69.6772.6765.50
AIME202690.0088.3092.70
AA.LCR61.0066.0062.00
Tau3-Bench64.6358.9067.20
Claw-Eval76.5571.4974.54
SWE-bench Verified75.0053.0076.00
Terminal-Bench 2.157.5030.0051.50
SWE-bench Multilingual66.0051.0067.20
DeepresearchBII60.8039.3059.70

Quickstart

Inference

Xing4.0-29B-A4B can be accessed via an OpenAI-compatible API.

from openai import OpenAI

client = OpenAI(
    base_url="your-base-url",
    api_key="your-api-key",
)

completion = client.chat.completions.create(
    model="Xing4.0-29B-A4B",
    messages=[{"role": "user", "content": "Briefly explain the basic principles of quantum computing."}],
    temperature=1.0,
    top_p=0.95,
    extra_body={
        "repetition_penalty": 1.05,
        "skip_special_tokens": False,
        "spaces_between_special_tokens": False,
        "chat_template_kwargs": {
            "enable_thinking": True,  # Set to False to disable thinking
        },
    },
)

print(completion.choices[0].message.content)

Serving

Xing4.0-29B-A4B supports deployment with vLLM, SGLang, and KTransformers. For detailed launch instructions, please refer to our GitHub repository.

Recommended Parameters

Scenariotemperaturetop_prepetition_penalty
Complex reasoning / general tasks1.00.951.05
Coding / agent tasks0.80.951.05

Footnotes

  • SWE-bench Verified: We evaluate Xing4.0-29B-A4B using the SWE-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.
  • Terminal-Bench 2.1: We evaluate in terminus-2 with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=64K and a 24-hour timeout. We report the average score over 3 runs.
  • SWE-bench Multilingual: We evaluate Xing4.0-29B-A4B using the SWE-agent harness with temperature=1.0, top_p=0.95, repetition_penalty=1.05 and a 210K context window.
  • Claw-Eval: We evaluate using the official harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=16384 and a 256K context window. We report the average score over 3 runs.
  • Tau3-Bench: We evaluate using the official harness with temperature=0.8, top_p=0.95, repetition_penalty=1.05, max_tokens=16384. We report the average pass^1 over 4 runs.
  • DeepresearchBII: We evaluate using the OpenCode harness with `temperature=0.8, top_p=0.95,

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms