All models

Baidu: ERNIE 4.5 21B A3B Thinking

by Baidu

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.

Avg Score

54.2%

12 answers

Avg Latency

56.0s

9 runs

Pricing

$0.07

input

/

$0.28

output

per 1M tokens

Context

131K

tokens

Alternatives

Models with similar or better quality but different tradeoffs

No alternatives found

Run benchmarks on this model to discover alternatives

Other Models from Baidu

Compare performance with other models from the same creator

ModelScoreLatencyCost/1M
Baidu: ERNIE 4.5 VL 424B A47B 77.7%47.5s$0.84
Baidu: ERNIE 4.5 300B A47B 76.9%33.5s$0.69
Baidu: ERNIE 4.5 21B A3B54.2%13.2s$0.18
Baidu: ERNIE 4.5 VL 28B A3B44.6%32.0s$0.35

Benchmark Performance

How this model performs across different benchmarks

No benchmark data available

Run benchmarks with this model to see performance breakdown

Price vs Performance

Compare cost efficiency across all models

Current model (baseline)
Other models (relative score)
Y-axis shows score difference from shared benchmarks. X-axis uses log scale.

Score Over Time

Performance trends across all benchmark runs

Benchmark Activity

Number of benchmark runs over time

Quickstart

Get started with this model using OpenRouter

View on OpenRouter
import { OpenRouter } from "@openrouter/sdk";

const openrouter = new OpenRouter({
  apiKey: "<OPENROUTER_API_KEY>"
});

const completion = await openrouter.chat.completions.create({
  model: "baidu/ernie-4.5-21b-a3b-thinking",
  messages: [
    {
      role: "user",
      content: "Hello!"
    }
  ]
});

console.log(completion.choices[0].message.content);

Get your API key at openrouter.ai/keys