Using ERNIE 4.5 21B A3B on Novita AI

Implementation guide · ERNIE 4.5 · Baidu AI

ServerlessOpen Source

Novita AI exposes ERNIE 4.5 21B A3B through model ID ernie-4.5-21b-a3b. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-06-29. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Novita AI and generate an API key.
  2. 2
    Use the Novita AI SDK or REST API to call ernie-4.5-21b-a3b.
  3. 3
    You'll be billed $0.07/1M input, $0.28/1M output tokens. See full pricing.

Code Examples

Code examples for this provider have not been sourced yet.

Pricing on Novita AI

TypePrice (per 1M)
Input tokens$0.07
Output tokens$0.28

Capabilities

JSON / Tool useStructured Outputs

About ERNIE 4.5 21B A3B

ERNIE 4.5 21B A3B is a Mixture-of-Experts model from Baidu with 21B total parameters and 3B activated per token. It delivers strong performance across Chinese and English language tasks with efficient inference at 120K context.

Model Specs

Released2026-01-01
Parameters21B
Context120k
ArchitectureMixture of Experts

Provider

Novita AI