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.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Baidu: ERNIE 4.5 21B A3B Thinking (baidu/ernie-4.5-21b-a3b-thinking)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "baidu/ernie-4.5-21b-a3b-thinking",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Baidu: ERNIE 4.5 21B A3B Thinking model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
API Pricing
- Input: 0.056$ / 1M tokens
- Output: 0.224$ / 1M tokens
Token Limits
- Max Output: 65,536 tokens
- Max Context: 131,072 tokens
Subscription Tiers
- free
- pro
- ultimate