Skip to content
Alpha
  • Models
  • Rankings
  • Ori

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • EU routing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

ERNIE 4.5 21B A3B vs GPT-5 Chat

Compare ERNIE 4.5 21B A3B from baidu and GPT-5 Chat 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
Favicon for openai
GPT-5 Chat
Favicon for baidu
ERNIE 4.5 21B A3B
Favicon for openai
GPT-5 Chat

Overview

ERNIE 4.5 21B A3B
Author
baidu
GPT-5 Chat
Author
OpenAI
ERNIE 4.5 21B A3B
Context length
131Ktokens
GPT-5 Chat
Context length
128Ktokens
ERNIE 4.5 21B A3B
Reasoning
GPT-5 Chat
Reasoning
ERNIE 4.5 21B A3B
Input modalities
GPT-5 Chat
Input modalities
ERNIE 4.5 21B A3B
Output modalities
GPT-5 Chat
Output modalities

ERNIE 4.5 21B A3B vs GPT-5 Chat: side-by-side summary

ERNIE 4.5 21B A3B and GPT-5 Chat are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

ERNIE 4.5 21B A3B, from baidu, has a 131,072-token context window and is priced by the provider serving it on OpenRouter.

GPT-5 Chat, from OpenAI, has a 128,000-token context window and is priced by the provider serving it on OpenRouter.

Context window
  • ERNIE 4.5 21B A3B: 131,072 tokens
  • GPT-5 Chat: 128,000 tokens
Price
  • ERNIE 4.5 21B A3B: Pricing varies by provider
  • GPT-5 Chat: Pricing varies by provider
Provided by
  • ERNIE 4.5 21B A3B: baidu
  • GPT-5 Chat: OpenAI
  • ERNIE 4.5 21B A3B model details, providers and pricing
  • GPT-5 Chat model details, providers and pricing

ERNIE 4.5 21B A3B vs GPT-5 Chat at a glance

ERNIE 4.5 21B A3B vs GPT-5 Chat comparison
AttributeERNIE 4.5 21B A3BGPT-5 Chat
Input pricePricing varies by providerPricing varies by provider
Output pricePricing varies by providerPricing varies by provider
Context window131,072 tokens128,000 tokens
Intelligence IndexNot available10.4
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)Not availableNot available
Throughput (p50)Not availableNot available

Benchmark data updated Oct 5, 2026

Frequently asked questions

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

ERNIE 4.5 21B A3B has the longer context window at 131,072 tokens, compared with 128,000 tokens for GPT-5 Chat.