# ERNIE 4.5 21B A3B

> ERNIE 4.5 21B A3B is an open-weight language model from Baidu, released on 30 Jun 2025. It accepts text and generates text, with a 120K-token context window and up to 8K output tokens per response. As of 17 Oct 2026, the lowest listed API price is $0.07 per million input tokens and $0.28 per million output tokens (Novita AI), across 1 provider we track.

Source page: https://www.aimodel.directory/models/ernie-4-5-21b-a3b
Last verified: 17 Oct 2026

## Specifications

- **Developer:** Baidu
- **Release date:** 30 Jun 2025 (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Status:** Generally available (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Weights:** Open weights (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Context window:** 120K (120,000 tokens) (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Max output:** 8K tokens (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Input:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Output:** Text (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Reasoning mode:** No (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)
- **Tool calling:** Yes (source: models.dev, https://github.com/sst/models.dev/blob/dev/providers/novita-ai/models/baidu/ernie-4.5-21B-a3b.toml)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| Novita AI | $0.07 | $0.28 | – | 120K |

## FAQ

### What is the context window of ERNIE 4.5 21B A3B?

ERNIE 4.5 21B A3B has a context window of 120,000 tokens (120K) and can generate up to 8,000 tokens in a single response, according to models.dev.

### How much does the ERNIE 4.5 21B A3B API cost?

ERNIE 4.5 21B A3B is listed from $0.07 per million input tokens and $0.28 per million output tokens (Novita AI). Prices last verified 17 Oct 2026.

### Is ERNIE 4.5 21B A3B open source?

ERNIE 4.5 21B A3B is an open-weight model. Check the license terms before commercial use.

### When was ERNIE 4.5 21B A3B released?

Baidu released ERNIE 4.5 21B A3B on 30 Jun 2025, according to models.dev.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "ERNIE 4.5 21B A3B", https://www.aimodel.directory/models/ernie-4-5-21b-a3b