Back to Models

Baidu: ERNIE 4.5 300B A47B

baidu/ernie-4.5-300b-a47b

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...

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