Atlas / Models / Baidu / Baidu: ERNIE 4.5 21B A3B Thinking

Baidu: ERNIE 4.5 21B A3B Thinking✓ Catalog verified

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.

Input price
$0.07 /1M
Output price
$0.28 /1M
Context
131K
Modalities
text
Released
Oct 9, 2025
Tool calling
Atlas signal
87/100
01

Overview

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.

Access: available through the official Baidu API. Context window: 131K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifierbaidu/ernie-4.5-21b-a3b-thinking
ProviderBaidu
Model typeText LLM
Context window131K catalog
Input modalitiestext
Output modalitiestext
ReleasedOct 9, 2025
ModeratedNo
Architecture modalitytext->text
Supported parameters
frequency_penaltyinclude_reasoningmax_tokenspresence_penaltyreasoningrepetition_penaltyseedstoptemperaturetop_ktop_p
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_p": 0.95,
  "temperature": 0.6,
  "frequency_penalty": null
}
03

Pricing

Live pricing components for baidu/ernie-4.5-21b-a3b-thinking as published in the catalog.

$0.07
Input /1M
$0.28
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$7e-8$0.07 / 1MPer input token
Completion tokens$2.8e-7$0.28 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search feeN/AN/APer search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$0.09Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual UnderstandingNot advertisedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool CallingNot advertisedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

Baidu: ERNIE 4.5 21B A3B Thinking
MMLU Signal (Reasoning)
97signal
Coding Signal (HumanEval proxy)
79signal
Math Signal (GSM8K proxy)
92signal
Science Signal (GPQA proxy)
79signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call Baidu: ERNIE 4.5 21B A3B Thinking through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="baidu/ernie-4.5-21b-a3b-thinking",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does Baidu: ERNIE 4.5 21B A3B Thinking cost?

$0.07 per 1M input tokens and $0.28 per 1M output tokens on the official Baidu API.

What is the context window of Baidu: ERNIE 4.5 21B A3B Thinking?

Baidu: ERNIE 4.5 21B A3B Thinking supports up to 131K tokens of context.

Does Baidu: ERNIE 4.5 21B A3B Thinking support tool / function calling?

Baidu: ERNIE 4.5 21B A3B Thinking does not advertise first-class tool/function calling. Check vendor docs for the latest capabilities.

How do I access Baidu: ERNIE 4.5 21B A3B Thinking?

Use the official Baidu API with the model id `baidu/ernie-4.5-21b-a3b-thinking`. See the Quick start section above for code examples.