Price Per TokenPrice Per Token
Baidu

ERNIE 4.5 21B A3B API Pricing 2026

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

Sponsor Price Per Token Reach 5000+ developers comparing LLM APIs

111 out of our 302 tracked models have had a price change in January.

Make informed model choices with updates on pricing, new releases, and tools with our weekly newsletter.

Last updated: January 12, 2026 at 08:06 AM

Overview

ERNIE 4.5 21B A3B was released on August 12, 2025. Pricing starts at $0.070 per million input tokens and $0.280 per million output tokens. The model supports a context window of up to 120K tokens. API access is available through Baidu.

Context Window
120K
tokens
Pricing
Input$0.070
Output$0.280
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
Tools

Pricing Comparison

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

Current Pricing (per 1M tokens)

11 models

Provider
Model
Input $/M
Output $/M
Context
Actions
$0.070
$0.280
120,000
Try
$0.051
$0.340
32,768
Try
$0.060
$0.240
262,144
Try
$0.060
$0.180
131,072
Try
$0.060
$0.090
128,000
Try
$0.060
$0.120
128,000
Try
$0.060
$0.220
40,960
Try
$0.060
$0.140
16,384
Try
$0.060
$0.240
300,000
Try
$0.060
$0.060
4,096
Try
$0.070
$0.280
131,072
Try

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

Compare Providers

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

2
Providers
$0.070
Cheapest Input/M
$0.280
Cheapest Output/M
OpenRouter
Best Price

Provider Pricing

2 models

Provider
Input $/M
Output $/M
Uptime
OpenRouter
OpenRouter
Best Price
$0.070
$0.280
-
N
Novita
Best Price
$0.070
$0.280
-
Provider pricing data sourced from OpenRouter and Helicone

Cost vs. Quality

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

X-axis:
Y-axis:
Loading chart...
ERNIE 4.5 21B A3B
Other models

Try ERNIE 4.5 21B A3B

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test ERNIE 4.5 21B A3B directly in your browser.

Open Playground

Frequently Asked Questions

ERNIE 4.5 21B A3B costs $0.000070 per 1,000 input tokens and $0.000280 per 1,000 output tokens.
ERNIE 4.5 21B A3B is available from 2 provider(s). OpenRouter offers the best price.
We compare ERNIE 4.5 21B A3B 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 →