Models

Claude Opus 4.8 vs ERNIE 4.5

Compare Claude Opus 4.8 from Anthropic and ERNIE 4.5 from Baidu on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

AnthropicClaude Opus 4.8BaiduERNIE 4.5
Anthropic logo
Claude Opus 4.8
Anthropic · text, image, pdf → text

Claude Opus 4.8 is Anthropic’s newest and most powerful publicly available model. It is suitable for the most complex tasks. It is Anthropic’s strongest model for complex reasoning, long-horizon agent programming, and highly autonomous work.claude-opus-4-8 does not display thought content by default; you need to set the additional parameter "display": "summarized" to enable it

Input$5 /M
Output$25 /M
Cache read$0.5 /M
Baidu logo
ERNIE 4.5
Baidu · text, image → text

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.

Input$0.068 /M
Output$0.272 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Claude Opus 4.8
ERNIE 4.5
Input /M
$5
$0.068
Output /M
$25
$0.272
Cache read /M
$0.5
-
Context length
1,000,000
160,000
Max output
128,000
64,000
Time to First Token
1.1 s
0.9 s
Throughput
82.6 tok/s
98.7 tok/s
Modalities
textimagepdf
textimage
Supported Parameters
thinkingtoolsfunction callingstructured outputs
toolsfunction callingstructured outputs
API Formats
chat_completions · claude_api
Released
May 28, 2026
-

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

claude-opus-4-8ernie-4.5

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

claude-opus-4-8ernie-4.5

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

Cost calculator

Estimate your monthly bill for the same workload on each model.

ERNIE 4.5
$8.16 /mo
Claude Opus 4.8
$675 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Claude Opus 4.8, ERNIE 4.5?

ERNIE 4.5: $0.272/M output tokens; Claude Opus 4.8: $25/M. Use the cost calculator above to estimate your own workload.

Which responds faster?

ERNIE 4.5: 0.9s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

Claude Opus 4.8 accepts 1,000,000 and ERNIE 4.5 accepts 160,000 input tokens. Maximum output per request is 128,000 tokens on Claude Opus 4.8 and 64,000 tokens on ERNIE 4.5.

Which one generates tokens faster?

ERNIE 4.5 at 98.7 tok/s and Claude Opus 4.8 at 82.6 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

Claude Opus 4.8 accepts text, image and PDF input and supports thinking, tool calling, function calling and structured outputs; ERNIE 4.5 accepts text and image input and supports tool calling, function calling and structured outputs.

Can I call Claude Opus 4.8 and ERNIE 4.5 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.