Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Business
  • 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

Connect

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

ERNIE 4.5 21B A3B Thinking vs Codestral Embed 2505

Compare ERNIE 4.5 21B A3B Thinking from baidu and Codestral Embed 2505 from Mistral AI 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 mistralai
Codestral Embed 2505
Favicon for baidu
ERNIE 4.5 21B A3B Thinking
Favicon for mistralai
Codestral Embed 2505

Overview

ERNIE 4.5 21B A3B Thinking
Author
baidu
Codestral Embed 2505
Author
Mistral AI
ERNIE 4.5 21B A3B Thinking
Context length
131Ktokens
Codestral Embed 2505
Context length
8Ktokens
ERNIE 4.5 21B A3B Thinking
Reasoning
Codestral Embed 2505
Reasoning
ERNIE 4.5 21B A3B Thinking
Input modalities
Codestral Embed 2505
Input modalities
ERNIE 4.5 21B A3B Thinking
Output modalities
Codestral Embed 2505
Output modalities

ERNIE 4.5 21B A3B Thinking vs Codestral Embed 2505: side-by-side summary

ERNIE 4.5 21B A3B Thinking and Codestral Embed 2505 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 Thinking, from baidu, has a 131,072-token context window and is priced by the provider serving it on OpenRouter.

Codestral Embed 2505, from Mistral AI, has a 8,192-token context window and is priced at $0.15/M tokens on OpenRouter.

Context window
  • ERNIE 4.5 21B A3B Thinking: 131,072 tokens
  • Codestral Embed 2505: 8,192 tokens
Price
  • ERNIE 4.5 21B A3B Thinking: Pricing varies by provider
  • Codestral Embed 2505: $0.15/M tokens
Provided by
  • ERNIE 4.5 21B A3B Thinking: baidu
  • Codestral Embed 2505: Mistral AI
model details, providers and pricing
model details, providers and pricing
ERNIE 4.5 21B A3B Thinking
Codestral Embed 2505