ERNIE 4.5

ERNIE-4.5-300B-A47B

by Baidu · Current open-weight model

Baidu’s ERNIE-4.5-300B-A47B is an Apache 2.0 open-weight text-only MoE model with 300B total parameters, approximately 47B active parameters per token, and a 131,072-token context window. It targets long-context analysis, instruction following, reasoning, mathematics, coding, Chinese and multilingual applications, and enterprise research. Official support includes PaddlePaddle, ERNIEKit, FastDeploy, Transformer-compatible checkpoints, fine-tuning, quantization, and distributed inference, although the model’s scale makes it unsuitable for most low-resource deployments.

Text Reasoning Coding
ERNIE-4.5-300B-A47B is Baidu’s largest text-only model in the ERNIE 4.5 lineup. Released as an open-weight model under the Apache 2.0 license, it is designed for instruction following, knowledge-intensive work, reasoning, mathematics, coding, and long-context text generation. The model has 300 billion total parameters and activates about 47 billion parameters for each token through a sparse mixture-of-experts architecture. Its 131,072-token context window is useful for long documents and code repositories, but its scale makes it substantially more demanding to operate than smaller language models.
Outputs

What ERNIE-4.5-300B-A47B can produce

Text
Inputs

What it can understand

Text
Capabilities

Support features

Streaming Fine-tuning Prompt caching
Model profile

Performance characteristics

9/10 Reasoning
9/10 Coding
3/10 Speed
3/10 Cost efficiency
Specifications

Technical details

Family ERNIE 4.5
Type General Purpose
Context window 131K tokens
Max output tokens tokens
Release date 2025-06-30
Status Current open-weight model
Knowledge cutoff notes

No direct authoritative knowledge-cutoff date was identified in the official model card, repository, or technical report.

Model notes

Open-weight Apache 2.0 model. The canonical Transformer checkpoint is baidu/ERNIE-4.5-300B-A47B-PT; PaddlePaddle deployments commonly use baidu/ERNIE-4.5-300B-A47B-Paddle. The model has 300B total parameters and 47B activated parameters per token. Official documentation lists 131,072 tokens of context. Baidu provides ERNIEKit and FastDeploy support for SFT, LoRA, DPO, quantization-aware training, tensor parallelism, expert parallelism, and quantized inference. Input and output prices are not applicable to the self-hosted open-weight release; third-party hosted prices are deployment-specific. Reasoning, coding, speed, and cost scores are editorial estimates based on the model's published scale, benchmark positioning, and deployment requirements rather than vendor ratings.

Model guide

ERNIE-4.5-300B-A47B: Baidu’s Open 300B MoE Model for Large-Scale Inference

ERNIE-4.5-300B-A47B is Baidu’s largest open-weight text model in the ERNIE 4.5 family. Its sparse mixture-of-experts architecture contains 300 billion total parameters but activates approximately 47 billion per token, combining high capacity with lower per-token computation than a dense 300B model. With a 131,072-token context window, Apache 2.0 licensing, and official PaddlePaddle, Transformers, ERNIEKit, and FastDeploy support, it is intended mainly for organizations capable of operating distributed inference infrastructure.

What is ERNIE-4.5-300B-A47B?

ERNIE-4.5-300B-A47B is an open-weight, text-only large language model provided by Baidu. It belongs to the ERNIE 4.5 family and was released on June 30, 2025, as part of Baidu’s open-source model releases. The model is intended for organizations that want to run, fine-tune, or integrate a high-capacity language model rather than rely exclusively on a provider-hosted, pay-per-token service.

The name describes the model’s scale and sparse architecture. It has 300 billion total parameters, but approximately 47 billion parameters are activated for each token. In practical terms, the model contains a very large collection of learned components, while its mixture-of-experts routing mechanism selects only part of that capacity for each piece of text. This is different from a dense model in which nearly all parameters participate in processing every token.

ERNIE-4.5-300B-A47B accepts text and generates text. It is not the multimodal member of the ERNIE 4.5 family: the supplied model information identifies it as text-only, while separate ERNIE-4.5-VL models provide image and video-oriented capabilities.

Where it fits in Baidu’s lineup

Within the ERNIE 4.5 family, ERNIE-4.5-300B-A47B is the largest text model described in the supplied research. Its 300B total-parameter design places it at the high-capacity end of the family, ahead of smaller models when the priority is model capacity and long-context processing rather than minimal hardware requirements or low latency.

That positioning comes with an important operational distinction. This is primarily a self-hosted or infrastructure-provider model. Baidu publishes its weights, implementation, and deployment tooling, but the research does not identify a standard Baidu-hosted input or output token price for this open-weight release. Any hosted price offered by a third party depends on that provider’s hardware, quantization, service level, and billing policy.

Architecture and 131K context window

ERNIE-4.5-300B-A47B uses a sparse mixture-of-experts, or MoE, architecture. An MoE model routes each token through selected expert components instead of evaluating the entire parameter set every time. The model’s published configuration includes 54 layers, 64 query heads, 8 key/value heads, and a maximum context length of 131,072 tokens.

The context window is the amount of text the model can consider in a single request, including the supplied prompt and the generated response. A 131,072-token limit is large enough for substantial document collections, lengthy technical specifications, code repositories, research material, or extended conversations. It does not mean that every long input will produce equally reliable results: retrieval quality, attention behavior, prompt structure, and available inference memory still affect practical performance.

Baidu has also published deployment work involving sparse attention and quantization. These techniques can reduce the computational and memory burden of long-context inference, but they do not make the model a lightweight choice. Organizations should validate the exact memory, parallelism, and latency requirements for the checkpoint and quantization format they plan to run.

Capabilities and output behavior

The model is designed for general text generation and understanding, with stated target areas including instruction following, knowledge-intensive tasks, reasoning, mathematics, and programming. Baidu’s evaluation material discusses results on instruction-following and knowledge benchmarks such as IFEval, Multi-IF, SimpleQA, and ChineseSimpleQA, along with broader evaluations of knowledge, reasoning, mathematics, and coding. Those references indicate the areas Baidu evaluates; they should not be interpreted as a guarantee of a particular score or ranking in every deployment.

For users, the most relevant capability distinction is that the model can handle demanding language tasks without requiring a proprietary hosted endpoint. It can be used for document analysis, multilingual and Chinese-language applications, code assistance, question answering, research workflows, and generation tasks that benefit from a large context window.

Its output is text. The supplied research does not verify native image, audio, video, music, speech, or embedding output for this model. It also does not verify a dedicated structured-output or JSON mode, so applications that require strict schemas should implement validation and error handling rather than assume guaranteed schema adherence.

Deployment, fine-tuning, and serving

Baidu provides several routes for working with the model. The canonical Transformer-compatible checkpoint is named baidu/ERNIE-4.5-300B-A47B-PT. PaddlePaddle-compatible variants commonly use the -Paddle suffix. Official support includes the PaddlePaddle ecosystem, ERNIEKit, and FastDeploy, while compatible inference engines such as vLLM and SGLang may also be used depending on checkpoint and feature support.

The official tooling supports supervised fine-tuning, LoRA fine-tuning, direct preference optimization, and quantization-aware training. Supervised fine-tuning can adapt the model to examples of desired behavior, while LoRA provides a more parameter-efficient way to specialize it. Direct preference optimization is intended for aligning responses with preference data. These options make the model relevant not only to inference users but also to research and enterprise teams building specialized variants.

Deployment can involve tensor parallelism and expert parallelism. Tensor parallelism distributes portions of model computation across multiple accelerators, while expert parallelism distributes the MoE experts. The model also has BF16, FP8, 4-bit, and other optimized deployment configurations documented across the supported tooling. The exact suitability of each format depends on the required accuracy, available hardware, throughput target, and inference engine.

In practical terms, a full-precision or lightly quantized deployment generally requires substantial multi-GPU infrastructure. Aggressive quantization can reduce the requirements, but it may introduce quality or compatibility trade-offs. The model is therefore better suited to infrastructure providers, enterprise AI teams, and research groups than to ordinary desktop or consumer-device deployment.

Pricing and operating cost

No standard provider-hosted input or output token price is identified for the open-weight release. The applicable acquisition cost is therefore not a simple API subscription price: users must account for accelerator hardware, storage, networking, electricity, engineering, monitoring, and ongoing model operations. A third-party host may offer an API, but its price is deployment-specific and is not a Baidu-published standard price in the supplied research.

The MoE design can improve computational efficiency relative to a dense model with the same total parameter count because only approximately 47B parameters are activated per token. However, the 300B total parameter set still creates significant memory, loading, communication, and orchestration requirements. The model should not be described as inexpensive merely because its active parameter count is lower than its total parameter count.

Editorially, the model’s reasoning and coding potential can be rated highly because of its scale and positioning, while its speed and cost suitability are much weaker for small deployments. These are practical assessments, not vendor-published scores. Actual results will depend on hardware, quantization, batch size, context length, parallelism, and serving software.

Main strengths and limitations

Strengths

  • High model capacity: 300B total parameters and approximately 47B active parameters per token place it among the largest open text models in the supplied ERNIE 4.5 information.
  • Long context: the 131,072-token context window supports large documents, codebases, and extended text workflows.
  • Open licensing: the model is released under Apache 2.0, subject to the applicable license terms and distribution conditions.
  • Deployment flexibility: users can work with Transformer-compatible PyTorch checkpoints, PaddlePaddle tooling, ERNIEKit, FastDeploy, and compatible serving stacks.
  • Adaptation options: official tooling supports SFT, LoRA, DPO, quantization-aware training, and distributed inference approaches.
  • Text-focused use cases: its intended areas include instruction following, knowledge work, reasoning, mathematics, coding, and Chinese or multilingual applications.

Limitations

  • Infrastructure burden: the model’s scale usually requires multi-GPU or otherwise distributed infrastructure.
  • Operational complexity: tensor parallelism, expert parallelism, quantization, and engine compatibility may require specialized deployment expertise.
  • No verified multimodal input: this model should not be selected for image, audio, or video understanding.
  • No standard token price: self-hosting shifts the cost calculation from API usage to infrastructure and operations.
  • Unverified output guarantees: the supplied research does not establish a dedicated JSON mode, fixed maximum output-token limit, or guaranteed tool/function-calling interface.
  • Speed trade-off: even with sparse activation, long contexts and a large total parameter footprint can make it slower and more expensive to operate than smaller models.

When to choose ERNIE-4.5-300B-A47B

Choose this model when you need an open-weight, high-capacity text model and can operate the infrastructure required for distributed inference. It is a strong candidate for enterprise research, Chinese-language or multilingual applications, long-context document analysis, coding systems, specialized fine-tuning, and organizations that need control over model hosting and deployment.

It is particularly appropriate when the benefits of a large model outweigh the cost of lower serving simplicity. An organization with an existing GPU cluster, an inference platform, or a managed host that supports the checkpoint can take advantage of its long context and adaptation options without building every deployment component from scratch.

A smaller model is likely more appropriate when the application needs low latency, modest hardware, consumer-device operation, or predictable low operating cost. A hosted API may also be preferable when the team does not want to manage distributed inference, quantization, scaling, monitoring, or model updates. For image or video understanding, a multimodal ERNIE variant or another model with verified visual input should be selected instead.

Overall, ERNIE-4.5-300B-A47B is best understood as a large open deployment model rather than a lightweight chatbot endpoint. Its combination of 300B total parameters, 47B active parameters, 131K context, Apache 2.0 licensing, and official fine-tuning and serving tools makes it useful for capable infrastructure teams. The same characteristics make it excessive for simple applications where speed, simplicity, and operating cost matter more than maximum open-model capacity.


Answers to Frequently Asked Questions

Who should use ERNIE-4.5-300B-A47B?
The model is best suited to infrastructure providers, enterprise AI teams, and research organizations that can operate distributed multi-GPU inference. It is appropriate for long-context document analysis, coding, reasoning, Chinese or multilingual applications, and specialized fine-tuning. Smaller models or hosted APIs are generally better for low-latency, low-cost, consumer-device, or simple chatbot use cases.
How much does it cost to use ERNIE-4.5-300B-A47B?
No standard Baidu-hosted input or output token price is identified for this open-weight release. Users must account for accelerator hardware, storage, networking, electricity, engineering, monitoring, and ongoing operations. Third-party hosting prices vary according to hardware, quantization, service levels, and provider billing policies.
How can ERNIE-4.5-300B-A47B be deployed or fine-tuned?
The canonical Transformer-compatible checkpoint is baidu/ERNIE-4.5-300B-A47B-PT. Baidu supports deployment through PaddlePaddle, ERNIEKit, and FastDeploy, while compatible engines such as vLLM and SGLang may also work depending on checkpoint support. Available adaptation methods include supervised fine-tuning, LoRA, direct preference optimization, and quantization-aware training.
What is ERNIE-4.5-300B-A47B?
ERNIE-4.5-300B-A47B is Baidu’s open-weight, text-only large language model from the ERNIE 4.5 family. It has 300 billion total parameters, with approximately 47 billion activated for each token through a sparse mixture-of-experts architecture.
How large is the context window of ERNIE-4.5-300B-A47B?
ERNIE-4.5-300B-A47B supports a maximum context length of 131,072 tokens. This makes it suitable for long documents, code repositories, technical specifications, research materials, and extended conversations, although practical results depend on prompt structure, retrieval quality, and available inference resources.


Sources 6
AI Provider

About Baidu