Baidu

ERNIE 4.5 21B A3B

Generally availableOpen weights120K context

Summary

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.

Open ERNIE text MoE with 21B total and 3B active parameters

Last verified 17 Oct 2026. Every figure on this page links to its source.

Specifications

DeveloperBaidu
Release date30 Jun 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsOpen weights [models.dev]
Context window120K (120,000 tokens) [models.dev]
Max output8K tokens [models.dev]
InputText [models.dev]
OutputText [models.dev]
Reasoning modeNo [models.dev]
Tool callingYes [models.dev]

ERNIE 4.5 21B A3B API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
Novita AI
baidu/ernie-4.5-21B-a3b
$0.07$0.28–120Kmodels.dev, 17 Oct 2026

Frequently asked questions

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.

Change history

  • Added to the directory
  • Now listed on Novita AI

Sources