Back to models
ERNIE-4.5-VL-28B-A3B
Baidu's heterogeneous multimodal Mixture-of-Experts model with 28B total and 3B active parameters, providing dual thinking and non-thinking modes for document OCR, chart analysis, and visual reasoning.
What you can do
- Financial chart and table reasoning
- Complex scanned document OCR parsing
- Video clip event understanding
Input & output
- Input
- Images, scanned multi-page documents, charts, or short video clips paired with bilingual text queries (up to 128K context).
- Output
- Grounded textual explanations, step-by-step visual reasoning traces, Markdown tables, or OCR transcriptions.
Try a prompt like this
请仔细读取这张财务季报折线与柱状组合图,核算出各业务板块的环比增长率,指出毛利率拐点所在季度并分析图注披露的原因。
Things to know
Apache-2.0 licensed; requires ~58GB VRAM in BF16 (1×80GB or 2×48GB GPUs), or ~20–24GB VRAM with 4-bit/8-bit quantization; ultra-dense multi-frame video inputs increase visual token memory usage.
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-VL-28B-A3B-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-VL-28B-A3B-PT",
messages=[{"role": "user", "content": "请仔细读取这张财务季报折线与柱状组合图,核算出各业务板块的环比增长率,指出毛利率拐点所在季度并分析图注披露的原因。"}],
)
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