> ERNIE 4.0 is a closed AI model from Baidu, released 17 Oct 2023.

[Models](https://themodelindex.org/models/) /[Baidu](https://themodelindex.org/labs/baidu/)

# ERNIE 4.0

Baidu

Released 17 Oct 2023

Closed

Flagship

[Compare](https://themodelindex.org/compare/ernie-4-0-vs-llama-2/)

–

Index score

Not yet evaluated independently

–

Core tests taken

no independent results yet

–

Versus the frontier at release

Replaced by [ERNIE 4.5](https://themodelindex.org/models/ernie-4-5/)

–

Price per million tokens

no public API price found

–

Context window

tokens it reads at once

## Where it sits · on the frontier

_Chart: Model Index score of every scored model since late 2022, with the best closed and best open model over time_

Not plotted: no index score yet.

## Test results · by area · tick = best by any model

Reasoning & knowledge

no evidence yet

GPQA Diamond

no result

Humanity's Last Exam

no result

Maths

no evidence yet

FrontierMath T1-3

no result

Coding

no evidence yet

SWE-bench Verified

no result

Terminal-Bench

no result

Agents

no evidence yet

APEX-Agents

no result

Novel problems

no evidence yet

ARC-AGI-2

no result

Long tasks

no evidence yet

METR time horizon

no result

Independent results from the Epoch AI benchmarking hub, best reasoning setting. The core tests are shown here; anchor tests also inform the score and can be shown above.

## What others say · rank on each leaderboard

Not on any of the rankings we follow yet.

Further left is better. Leaderboards measure different things: LMArena is people voting blind between two answers, the others are test scores. Click any row for the source.

## Best at · top three among current models

Replaced by ERNIE 4.5; it no longer leads any category among current models.

Where this model places in the top three of today's models, on category leaderboards and on our core tests.

## Where to use it · prices checked 1 Oct 2026

#### From the lab

ERNIE Bot

app · subscription

↗

Provider prices come from OpenRouter's live listing; going direct to a provider can differ. Subscriptions are the lab's own apps.

## Facts and sources

Released

17 Oct 2023

Announcement

not linked yet

Release entry

ERNIE 4.0

Scored as

–

Artificial Analysis index

–

Output speed

–

Hugging Face

closed weights

## Baidu releases · around this one

ERNIE 4.0

Closed

17 OCT 2023

ERNIE 4.5

Closed

16 MAR 2025

ERNIE X1

Closed

16 MAR 2025

---
Source: https://themodelindex.org/models/ernie-4-0/ · The Model Index · data as of 2026-10-01
