Back to Models

Baidu: ERNIE 4.5 21B A3B Thinking

baidu/ernie-4.5-21b-a3b-thinking
Oct 9, 2025131.1K context65.5K max output$0.07/M in · $0.28/M outReasoning

Description

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.

Specifications

Provider
baidu
Context Length
131.1K
Max Output
65.5K
Modality
Intext
Outtext

Pricing

TypePrice / 1M tokens
Input$0.07
Output$0.28

Quick Start

curl https://api.ominigate.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-omg-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "baidu/ernie-4.5-21b-a3b-thinking",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Baidu: ERNIE 4.5 21B A3B Thinking — Pricing & API on OminiGate