ERNIE 4.5 21B A3B Thinking vs GPT-5.2

Compare ERNIE 4.5 21B A3B Thinking from baidu and GPT-5.2 from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for baidu
ERNIE 4.5 21B A3B Thinking
Favicon for openai
GPT-5.2

Overview

ERNIE 4.5 21B A3B Thinking
Author
baidu
GPT-5.2
Author
OpenAI
ERNIE 4.5 21B A3B Thinking
Context length
131Ktokens
GPT-5.2
Context length
400Ktokens
ERNIE 4.5 21B A3B Thinking
Reasoning
GPT-5.2
Reasoning
ERNIE 4.5 21B A3B Thinking
Input modalities
GPT-5.2
Input modalities
ERNIE 4.5 21B A3B Thinking
Output modalities
GPT-5.2
Output modalities

Analysis

ERNIE 4.5 21B A3B Thinking vs GPT-5.2 at a glance

ERNIE 4.5 21B A3B Thinking
Input price
Pricing varies by provider
GPT-5.2
Input price
$1.75/M tokens
ERNIE 4.5 21B A3B Thinking
Output price
Pricing varies by provider
GPT-5.2
Output price
$14/M tokens
ERNIE 4.5 21B A3B Thinking
Context window
131,072 tokens
GPT-5.2
Context window
400,000 tokens
ERNIE 4.5 21B A3B Thinking
Intelligence Index
Not available
GPT-5.2
Intelligence Index
Not available
ERNIE 4.5 21B A3B Thinking
Coding Index
Not available
GPT-5.2
Coding Index
Not available
ERNIE 4.5 21B A3B Thinking
Agentic Index
Not available
GPT-5.2
Agentic Index
Not available
ERNIE 4.5 21B A3B Thinking
Latency (p50)
Not available
GPT-5.2
Latency (p50)
2.77 s
ERNIE 4.5 21B A3B Thinking
Throughput (p50)
Not available
GPT-5.2
Throughput (p50)
36.0 tok/s
ERNIE 4.5 21B A3B Thinking
Provided by
baidu
GPT-5.2
Provided by
OpenAI

Benchmark data updated

Frequently asked questions

Which has the longer context window, ERNIE 4.5 21B A3B Thinking or GPT-5.2?

GPT-5.2 has the longer context window at 400,000 tokens, compared with 131,072 tokens for ERNIE 4.5 21B A3B Thinking.