Back to models
ERNIE-4.5-300B-A47B
Baidu's large-scale open-weight Mixture-of-Experts language model with 300B total and 47B active parameters, supporting a 128K context window for bilingual reasoning, coding, and knowledge-intensive generation.
What you can do
- Enterprise knowledge synthesis and QA
- Complex bilingual report drafting
- Full-stack architecture code generation
Input & output
- Input
- Bilingual instructions, multi-document context, or complex analytical queries up to 128K tokens.
- Output
- Detailed analytical essays, structured JSON, code implementations, or multi-step reasoning responses.
Try a prompt like this
请对比企业级湖仓一体架构中 Apache Iceberg 与 Apache Paimon 在流式实时写入、主键更新合并(Merge-on-Read)及元数据快照清理机制上的核心差异,并给出选型建议矩阵。
Things to know
Permissive Apache-2.0 license; BF16 deployment requires an 8×80GB GPU node (~600GB VRAM), or 4×80GB GPUs using FP8 / 4-bit quantization in vLLM or FastDeploy.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
PaddlePaddle/ERNIE-4.5-300B-A47B-PT
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="PaddlePaddle/ERNIE-4.5-300B-A47B-PT",
messages=[{"role": "user", "content": "请对比企业级湖仓一体架构中 Apache Iceberg 与 Apache Paimon 在流式实时写入、主键更新合并(Merge-on-Read)及元数据快照清理机制上的核心差异,并给出选型建议矩阵。"}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide