LLM Reference

Using ERNIE 4.5 21B A3B on Novita AI

Implementation guide · ERNIE 4.5 · Baidu AI

Serverless

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-thinking.
  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.

About Novita AI

Novita AI offers a GPU-based inference API for image, video, and language model generation with a broad catalog of open-source models.

Pricing on Novita AI

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

Capabilities

Function CallingTool 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
Architecturemoe

Provider

Novita AI