ERNIE 4.5

ernie-4.5 · Baidu

Wenxin Large Model 4.5 is a next-generation native multimodal foundational model independently developed by Baidu. It achieves collaborative optimization through joint modeling of multiple modalities, demonstrating excellent multimodal understanding capabilities; it possesses more advanced language abilities, with comprehensive improvements in comprehension, generation, logic, and memory, as well as significant enhancements in hallucination reduction, logical reasoning, and coding capabilities.ERNIE-4.5-21B-A3B is an aligned open-source model with a MoE structure, having a total of 21 billion parameters and 3 billion activated parameters.

API Pricing

Input$0.068 / 1M tokens
Output$0.272 / 1M tokens

Specifications

Context160K tokens
Modalitiestext, image
Featurestool calling, function calling, structured outputs

Frequently asked questions

What is ERNIE 4.5?

Wenxin Large Model 4.5 is a next-generation native multimodal foundational model independently developed by Baidu. It achieves collaborative optimization through joint modeling of multiple modalities, demonstrating excellent multimodal understanding capabilities; it possesses more advanced language abilities, with comprehensive improvements in comprehension, generation, logic, and memory, as well as significant enhancements in hallucination reduction, logical reasoning, and coding capabilities.ERNIE-4.5-21B-A3B is an aligned open-source model with a MoE structure, having a total of 21 billion parameters and 3 billion activated parameters.

What is the context length of ERNIE 4.5?

ERNIE 4.5 has a 160,000 token context window.

How much does ERNIE 4.5 cost?

On AIHubMix, ERNIE 4.5 costs $0.068 per million input tokens and $0.272 per million output tokens.

What modalities does ERNIE 4.5 support?

ERNIE 4.5 accepts text and image input.

What capabilities does ERNIE 4.5 support?

ERNIE 4.5 supports tool calling, function calling and structured outputs. Per-protocol parameter support is listed in the capability table on this page.

How do I call ERNIE 4.5 via API?

ERNIE 4.5 is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to ernie-4.5 — no other code changes needed.

Who created ERNIE 4.5?

ERNIE 4.5 is developed by Baidu. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Baidu

See all Baidu models →

ERNIE 5.1

by Baidu

ERNIE 5.1 is the latest model in the Wenxin series, with comprehensive upgrades to its…

$0.563/1M in · $2.535/1M out
119,000 tokens context

ERNIE 5.0

by Baidu

ERNIE 5.0 is the next-generation natively multimodal foundation model in the ERNIE…

$0.822/1M in · $3.288/1M out
119,000 tokens context

ERNIE Image Turbo

by Baidu

The Ernie-image-Turbo model is an 8-step distilled version of the Ernie-image model, also…

$2/1M in

Musesteamer Air Image

by Baidu

musesteamer-air-image is a text-to-image model developed by the Baidu Search team aimed…

$2/1M in

Qianfan Ocr

by Baidu

Qianfan-OCR-Fast is a multimodal large model specialized for OCR, trained primarily on…

$0.062/1M in · $0.248/1M out
32,000 tokens context

Qianfan Ocr Fast

by Baidu

Qianfan-OCR-Fast is a multimodal large model specialized for OCR, trained primarily on…

$0.664/1M in · $2.738/1M out
32,000 tokens context

Use ERNIE 4.5 via the AIHubMix unified API — one interface for every major LLM.