ernie-4.5

by 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.07 / 1M tokens
Output$0.27 / 1M tokens

Specifications

Context window160,000 tokens
Modalitiestext, image
Featurestool calling, function calling, structured outputs

FAQ

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.07 per million input tokens and $0.27 per million output tokens.

What modalities does ernie-4.5 support?

ernie-4.5 accepts text and image input.

What features 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 develops 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 from Baidu

ernie-5.1

by Baidu

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

$0.56/1M in · $2.54/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.82/1M in · $3.29/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.06/1M in · $0.25/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.66/1M in · $2.74/1M out
32,000 tokens context

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