Baidu Ernie 4 5 21b A3b Thinking
baidu/ernie-4.5-21B-a3b-thinking (Baidu) — 128K context, Reasoning tier. Input price: $0.07/M · Output price: $0.28/M · Avg latency 48ms. Routed via Routara OpenAI-compatible endpoint with multi-region failover and metered billing.
Live gateway pricing · routed to the best upstream for your region
Specifications
- Developer: Baidu
- Category: Reasoning
- Context window: 128K
- Input price: $0.07 / 1M
- Output price: $0.28 / 1M
- Avg latency: 48 ms
- SLA grade: S+
Typical use cases
- Multi-step reasoning and agent workflows
- RAG pipelines with tool calling
- Code generation, review, and test synthesis
FAQ
- How is baidu/ernie-4.5-21B-a3b-thinking priced on Routara? — Input tokens are billed at $0.07/M and output at $0.28/M. Charges are metered per request with no separate platform fee.
- Is baidu/ernie-4.5-21B-a3b-thinking OpenAI-compatible? — Yes. Point any OpenAI SDK to https://api.routara.ai/v1 and set model to the Routara slug shown below.
- Does baidu/ernie-4.5-21B-a3b-thinking support streaming? — Streaming is supported when the upstream route is live. Use stream: true in chat.completions.
Related models
- Kling V3 (/detail/kling-kling-v3)
- Kling V3 Omni (/detail/kling-kling-v3-omni)
- audio1.0 (/detail/audio1-0)
Quick integration
- curl https://api.routara.ai/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"baidu/ernie-4.5-21B-a3b-thinking","messages":[{"role":"user","content":"Hello"}],"stream":true}'