# Baidu: ERNIE 4.5 21B A3B Thinking

Provider: baidu  
Category: llm  
Model ID: `baidu/ernie-4.5-21b-a3b-thinking`

ERNIE-4.5-21B-A3B-Thinking is Baidu's upgraded lightweight MoE model, refined to boost reasoning depth and quality for top-tier performance in logical puzzles, math, science, coding, text generation, and expert-level academic benchmarks.

## Specs

- Context length: 131072 tokens
- Max output: 65536 tokens
- Modalities: text
- Released: 2025-10-09

## Pricing

- Input: $0.07 per million tokens
- Output: $0.28 per million tokens

## Providers

- **baidu** — ctx 131072, input $0.07/M, output $0.28/M

---
Last verified: 2026-04-23T23:46:29.618Z  
Canonical URL: https://switchy.build/models/ernie-4-5-21b-a3b-thinking