Baidu

ERNIE 4.5 21B A3B Thinking API Pricing 2026

Compare pricing, benchmarks, and providers for ERNIE 4.5 21B A3B Thinking. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

ERNIE 4.5 21B A3B Thinking was released on October 9, 2025. Pricing starts at $0.056 per million input tokens and $0.224 per million output tokens. The model supports a context window of up to 131K tokens. API access is available through Baidu.

Context Window
131K
tokens
Pricing
Input$0.056
Output$0.224
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
ReasoningTools

ERNIE 4.5 21B A3B Thinking is priced at $0.056 per million input tokens and $0.224 per million output tokens. It has a context window of 131,072 tokens.

Pricing Comparison

Compare ERNIE 4.5 21B A3B Thinking with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.056
$0.224
—
—
—
131,072
Try
$0.050
$0.190
—
—
—
262,144
Try
$0.050
$0.700
—
—
—
262,144
Try
IB
IBM
$0.050
$0.100
—
—
—
131,072
Try
$0.050
$0.200
—
—
—
128,000
Try
$0.050
$0.080
—
—
—
8,192
Try
$0.050
$0.150
—
—
—
131,072
Try
$0.050
$0.100
—
—
—
131,072
Try
$0.050
$0.230
—
—
—
128,000
Try
$0.050
$0.200
—
—
—
524,288
Try
$0.050
$0.700
—
—
—
-
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

ERNIE 4.5 21B A3B Thinking is available from multiple providers with different pricing and availability.

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does ERNIE 4.5 21B A3B Thinking perform? Vote based on your experience.

Cost vs. Quality

Compare ERNIE 4.5 21B A3B Thinking's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try ERNIE 4.5 21B A3B Thinking

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test ERNIE 4.5 21B A3B Thinking directly in your browser.

Open Playground

Frequently Asked Questions

ERNIE 4.5 21B A3B Thinking costs $0.000056 per 1,000 input tokens and $0.000224 per 1,000 output tokens.
We compare ERNIE 4.5 21B A3B Thinking with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Baidu Models

See pricing for all Baidu models.

View all Baidu models →