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 Granite 4.0 Micro

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

ERNIE 4.5 21B A3B Thinking vs Granite 4.0 Micro: side-by-side summary

ERNIE 4.5 21B A3B Thinking and Granite 4.0 Micro 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.

Granite 4.0 Micro, from ibm-granite, has a 131,000-token context window and is priced at $0.017/M tokens input, $0.112/M tokens output on OpenRouter.

Context window
  • ERNIE 4.5 21B A3B Thinking: 131,072 tokens
  • Granite 4.0 Micro: 131,000 tokens
Price
  • ERNIE 4.5 21B A3B Thinking: Pricing varies by provider
  • Granite 4.0 Micro: $0.017/M tokens input, $0.112/M tokens output
Provided by
  • ERNIE 4.5 21B A3B Thinking: baidu
  • Granite 4.0 Micro: ibm-granite
  • ERNIE 4.5 21B A3B Thinking model details, providers and pricing
  • Granite 4.0 Micro model details, providers and pricing