Description
ERNIE-4.5-300B-A47B is a 300B parameter Mixture-of-Experts (MoE) language model developed by Baidu as part of the ERNIE 4.5 series. It activates 47B parameters per token and supports text generation in both English and Chinese. Optimized for high-throughput inference and efficient scaling, it uses a heterogeneous MoE structure with advanced routing and quantization strategies, including FP8 and 2-bit formats. This version is fine-tuned for language-only tasks and supports reasoning, tool parameters, and extended context lengths up to 131k tokens. Suitable for general-purpose LLM applications with high reasoning and throughput demands.
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: Baidu: ERNIE 4.5 300B A47B (baidu/ernie-4.5-300b-a47b)
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-300b-a47b",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the Baidu: ERNIE 4.5 300B A47B model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'
Supported Modalities
- Text
API Pricing
- Input: 0.28$ / 1M tokens
- Output: 1.1$ / 1M tokens
Token Limits
- Max Output: 12,000 tokens
- Max Context: 123,000 tokens
Subscription Tiers
- free
- pro
- ultimate