AICredits logo
baidu

baidu/ernie-4.5-21b-a3b-thinking

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.

Supported APIs

Chat API
Context
131K
Max output
Input / 1M
₹7.05
Cached / 1M
₹0.70
Output / 1M
₹28.18

Pricing

Token typeUSD / 1MINR / 1M
Input$0.070₹7.05
Cached inputprompt cache read$0.00700.70
Output$0.280₹28.18

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call baidu/ernie-4.5-21b-a3b-thinking through the supported APIs shown above — just set the base URL and your AICredits key.

cURL — /v1/chat/completions
curl https://api.aicredits.in/v1/chat/completions \
  -H "Authorization: Bearer $AICREDITS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "baidu/ernie-4.5-21b-a3b-thinking",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

New here? Follow the quickstart guide or browse all models.