---
last_updated: 2026-11-30
source_url: https://opper.ai/baidu/ernie-4-5-21b-a3b-thinking
title: "ERNIE-4.5-21B-A3B-Thinking by Baidu"
description: "ERNIE 4.5 21B A3B Thinking by Baidu: compact MoE reasoning model with 21B parameters, 3B active, strong on logic, math, science, code with 131K context."
---

# ERNIE-4.5-21B-A3B-Thinking

By [Baidu](https://opper.ai/baidu).

ERNIE-4.5-21B-A3B-Thinking is Baidu's lightweight mixture-of-experts model optimized for deep reasoning and multi-step problem-solving despite activating only 3 billion parameters. It targets logical reasoning, mathematics, science, coding, and academic benchmarks that typically require far larger dense parameter counts.

The 131K token context window enables extended document analysis, academic paper integration, and multi-file codebase processing. Built on the same heterogeneous MoE architecture as the base 21B model but enhanced with explicit thinking for complex tasks, it is released as open weights under the Apache 2.0 license, supports multiple inference frameworks (FastDeploy, vLLM, Transformers), and offers quantized builds for resource-constrained environments.

## Key info

- Input: Text
- Output: Text
- Features: Reasoning
- Context window: 131K
- Max output: 66K

## Available routes

No routes currently available — ERNIE-4.5-21B-A3B-Thinking isn't routed through the Opper gateway right now. It may return. Contact [hello@opper.ai](mailto:hello@opper.ai) about this model.
