Model Comparison

ERNIE 4.5 vs Llama 3.1 405B Instruct

Llama 3.1 405B Instruct significantly outperforms across most benchmarks. Llama 3.1 405B Instruct is 1.5x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

7 benchmarks

ERNIE 4.5 outperforms in 1 benchmarks (GPQA), while Llama 3.1 405B Instruct is better at 6 benchmarks (ARC-C, DROP, GSM8k, MATH, MMLU, MMLU-Pro).

Llama 3.1 405B Instruct significantly outperforms across most benchmarks.

Wed Apr 15 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Llama 3.1 405B Instruct costs less

For input processing, ERNIE 4.5 ($0.40/1M tokens) is 2.2x cheaper than Llama 3.1 405B Instruct ($0.89/1M tokens).

For output processing, ERNIE 4.5 ($4.00/1M tokens) is 4.5x more expensive than Llama 3.1 405B Instruct ($0.89/1M tokens).

In conclusion, ERNIE 4.5 is more expensive than Llama 3.1 405B Instruct.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Wed Apr 15 2026 • llm-stats.com
Baidu
ERNIE 4.5
Input tokens$0.40
Output tokens$4.00
Best providerNovita
Meta
Llama 3.1 405B Instruct
Input tokens$0.89
Output tokens$0.89
Best providerLambda
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

384.0B diff

Llama 3.1 405B Instruct has 384.0B more parameters than ERNIE 4.5, making it 1828.6% larger.

Baidu
ERNIE 4.5
21.0Bparameters
Meta
Llama 3.1 405B Instruct
405.0Bparameters
21.0B
ERNIE 4.5
405.0B
Llama 3.1 405B Instruct

Context Window

Maximum input and output token capacity

Both models have the same input context window of 128,000 tokens. Llama 3.1 405B Instruct can generate longer responses up to 128,000 tokens, while ERNIE 4.5 is limited to 65,536 tokens.

Baidu
ERNIE 4.5
Input128,000 tokens
Output65,536 tokens
Meta
Llama 3.1 405B Instruct
Input128,000 tokens
Output128,000 tokens
Wed Apr 15 2026 • llm-stats.com

License

Usage and distribution terms

ERNIE 4.5 is licensed under a proprietary license, while Llama 3.1 405B Instruct uses Llama 3.1 Community License.

License differences may affect how you can use these models in commercial or open-source projects.

ERNIE 4.5

Proprietary

Closed source

Llama 3.1 405B Instruct

Llama 3.1 Community License

Open weights

Release Timeline

When each model was launched

ERNIE 4.5 was released on 2025-06-25, while Llama 3.1 405B Instruct was released on 2024-07-23.

ERNIE 4.5 is 11 months newer than Llama 3.1 405B Instruct.

ERNIE 4.5

Jun 25, 2025

9 months ago

11mo newer
Llama 3.1 405B Instruct

Jul 23, 2024

1.7 years ago

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

Provider Availability

ERNIE 4.5 is available from Novita. Llama 3.1 405B Instruct is available from Lambda, DeepInfra, Fireworks, Bedrock, Together, Hyperbolic, Google, Replicate.

ERNIE 4.5

novita logo
Novita
Input Price:Input: $0.40/1MOutput Price:Output: $4.00/1M

Llama 3.1 405B Instruct

lambda logo
Lambda
Input Price:Input: $0.89/1MOutput Price:Output: $0.89/1M
deepinfra logo
Deepinfra
Input Price:Input: $1.79/1MOutput Price:Output: $1.79/1M
fireworks logo
Fireworks
Input Price:Input: $3.00/1MOutput Price:Output: $3.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $3.00/1M
together logo
Together
Input Price:Input: $3.50/1MOutput Price:Output: $3.50/1M
hyperbolic logo
Hyperbolic
Input Price:Input: $4.00/1MOutput Price:Output: $4.00/1M
google logo
Google
Input Price:Input: $5.00/1MOutput Price:Output: $16.00/1M
replicate logo
Replicate
Input Price:Input: $9.50/1MOutput Price:Output: $9.50/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Less expensive input tokens
Higher GPQA score (74.0% vs 50.7%)
Less expensive output tokens
Has open weights
Higher ARC-C score (96.9% vs 40.6%)
Higher DROP score (84.8% vs 28.6%)
Higher GSM8k score (96.8% vs 25.2%)
Higher MATH score (73.8% vs 12.4%)
Higher MMLU score (87.3% vs 41.9%)
Higher MMLU-Pro score (73.3% vs 16.0%)

Detailed Comparison

AI Model Comparison Table
Feature
Baidu
ERNIE 4.5
Meta
Llama 3.1 405B Instruct

FAQ

Common questions about ERNIE 4.5 vs Llama 3.1 405B Instruct

Llama 3.1 405B Instruct significantly outperforms across most benchmarks. ERNIE 4.5 is made by Baidu and Llama 3.1 405B Instruct is made by Meta. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
ERNIE 4.5 scores GPQA: 74.0%, ARC-E: 60.7%, PIQA: 55.2%, Winogrande: 51.3%, CLUEWSC: 48.6%. Llama 3.1 405B Instruct scores ARC-C: 96.9%, GSM8k: 96.8%, API-Bank: 92.0%, Multilingual MGSM (CoT): 91.6%, HumanEval: 89.0%.
ERNIE 4.5 is 2.2x cheaper for input tokens. ERNIE 4.5 costs $0.40/M input and $4.00/M output via novita. Llama 3.1 405B Instruct costs $0.89/M input and $0.89/M output via lambda.
ERNIE 4.5 supports 128K tokens and Llama 3.1 405B Instruct supports 128K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include input pricing ($0.40 vs $0.89/M), licensing (Proprietary vs Llama 3.1 Community License). See the full comparison above for benchmark-by-benchmark results.
ERNIE 4.5 is developed by Baidu and Llama 3.1 405B Instruct is developed by Meta.