Ultra-Large MoE Models: Post-Training and Agent Capability Advances

    This article explains how a new ultra-large mixture-of-experts (MoE) model reached strong results on coding and long-horizon agent tasks. It covers the sparse architecture, 1-million-token multimodal context, reinforcement learning across hundreds of domains, and how enterprises can build and iterate on agent applications on Baidu AI Cloud.

    As large language models mature, gains from simply scaling up pretraining parameters are leveling off. The focus has shifted to post-training optimization, architectural efficiency, and the development of complex AI agent capabilities. A new ultra-large MoE (mixture-of-experts) model has recently shown significant gains on code and long-horizon agent tasks. The technical path behind it is worth a closer look for developers and enterprise users.

    1. MoE Architecture and Multimodal Long-Context Design

    In large-scale model engineering, MoE has become the mainstream way to balance model capacity against inference cost. This new model keeps the total parameter count of its predecessor, which had 2.8 trillion parameters. By industry estimates, the new model is roughly 3 trillion parameters in total. However, it activates only about 104 billion parameters per inference pass. This sparse activation controls computational cost and makes it possible to deploy an ultra-large model on limited hardware.

    Long context and native multimodal understanding are another core feature. The model supports a context window of up to 1 million tokens and natively accepts both text and image inputs. A million-token context matters for long codebases, large volumes of historical logs, and complex business documents. Native visual understanding also means the model does not just convert images into text descriptions. It aligns and reasons over visual information directly in its feature space. This is especially useful for agent scenarios such as UI automation testing and chart-based data analysis.

    To meet the needs of real-time enterprise applications, some providers are also offering “high-performance” deployment options. These options keep the same level of intelligence while using inference engine optimizations, such as operator fusion, KV cache compression, and continuous batching, to deliver about 2–3x faster output. The trade-off is higher compute cost. The high-performance version is priced at about twice the standard version. For agent scenarios with frequent interaction, this offers a better cost-performance option.

    2. Post-Training Compute and Reinforcement Learning at Scale

    The capability gains in this model do not come from more pretraining parameters. They come from heavy compute investment and improved strategies in the post-training stage. Once the base model is set, post-training, including instruction tuning and alignment, determines how well the model performs on downstream tasks.

    A notable trend in this model is the expansion of reinforcement learning (RL) from a narrow focus on code or math to hundreds of specialized downstream domains. Under traditional RLHF (reinforcement learning from human feedback) or RLAIF (reinforcement learning from AI feedback) frameworks, a model learns behavior that matches human expectations through exploration and exploitation. Extending this process to hundreds of domains requires a large reward model system and a wide range of task sandbox environments. In real or simulated environments, the model tries actions, receives feedback, and updates its policy. This process substantially improves generalization in complex logical reasoning, tool use, and business process automation.

    3. Advances in Code and Long-Horizon Agent Capabilities

    The most visible result of this progress is the leap in code generation and long-horizon agent capability. On a widely used benchmark for complex tasks in terminal environments, the model scores 65.7%. This is higher than some leading closed-source models (about 58.2%) and less than 1 percentage point below the top of the industry (about 66.4%). The benchmark requires an agent to write code, execute commands, analyze errors, and complete complex tasks in a real, resource-constrained terminal environment. Each task has strict dedicated test cases.

    On an internal long-horizon code generation evaluation, the model scores 61.2%, a significant improvement over the previous generation. The core difficulties of long-horizon tasks are long-range planning, context memory management, and dynamic error correction. For example, when refactoring a module with thousands of lines of code, an agent must understand current dependencies and predict how changes will ripple through other modules. This improvement comes directly from large-scale post-training RL. It helps the model keep its goals consistent across multi-step reasoning, and it lets the model locate problems and produce fix patches when tests fail.

    4. Enterprise Deployment: From Cloud Collaboration to Private Deployment

    For enterprise developers, a model’s capabilities only matter when they become productivity gains. Today, advanced AI capabilities usually reach users through multiple surfaces, including web apps, mobile apps, developer APIs, and intelligent workspaces integrated with business systems. Developers can use standardized APIs to add these capabilities to existing development pipelines, customer support systems, or data analytics platforms.

    In practice, enterprises face several challenges at once: data privacy, customization, and cost control. Using Baidu AI Cloud infrastructure, an enterprise can build a complete AI agent application loop:

    1. Model deployment and fine-tuning: Enterprises can use the container platform and high-performance GPU compute instances on Baidu AI Cloud to deploy open-weight models quickly. The industry typically releases open weights gradually after launch. Using the fine-tuning toolchain in the Baidu AI Cloud Qianfan large model platform, enterprises can apply LoRA or SFT with their own business data. This makes the model fit specific vertical business logic more closely.
    2. Agent framework and tool integration: Developers can build a highly available agent orchestration system with Baidu AI Cloud function compute and message queue services. By connecting the model’s reasoning with internal enterprise APIs and database query interfaces, they can turn natural language instructions into automated business actions.
    3. Monitoring and continuous iteration: After an application goes live, cloud-native log services and monitoring alerts can collect agent execution traces, tool call success rates, and user feedback in real time. After cleaning and labeling, this data can serve as high-quality corpus for the next round of post-training RL, creating a data flywheel that keeps improving model performance.

    Service availability and features can vary by region. Check the official documentation for current details in your region.

    5. Conclusion and Outlook

    Through heavy post-training compute and cross-domain reinforcement learning, ultra-large MoE models are gradually overcoming barriers in long-horizon code generation and agent tasks in complex terminal environments. For developers and enterprises, understanding this technical path helps them evaluate and use new-generation models.

    Competition among large models will increasingly center on agent self-consistency and engineering readiness for deployment. Enterprises should adopt cloud-native architectures that integrate with model infrastructure. Mature platforms such as Baidu AI Cloud can connect model inference, data feedback loops, and business system integration into one pipeline, which helps enterprises realize the productivity value of AI at scale.