ERNIE 4.5
Baidu logo

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.

Pricing

  • Input Tokens: $0.068 /M tokens
  • Output Tokens: $0.272 /M tokens

Input Modalities

  • Text
  • Vision

Output Modalities

  • Text

Capabilities

  • Tools
  • Tool calling
  • Structured outputs

Providers

Baidu ernie-4.5-21b-a3b
Pricing$0.068$0.272
Context128K
Max output8K
Latency0.9S
Throughput98.7TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today
Baidu ernie-4.5-21b-a3b-thinking
Pricing$0.068$0.272
Context160K
Max output64K
Latency0.9S
Throughput98.7TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today

Performance for ernie-4.5

Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).

Uptime
Loading...
Latency
Loading...
Throughput
Loading...

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://aihubmix.com/v1",
)

response = client.chat.completions.create(
    model="ernie-4.5",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

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.