ERNIE 4.5 21B A3B

baidu/ernie-4.5-21B-a3b — available through the Autonomous Relay Agents API, served by Novita AI.

ERNIE 4.5 21B A3B has a 120,000-token context window and costs $0.07 per million input tokens and $0.28 per million output tokens, at the provider's list price on your own key.

Context length
120,000 tokens
Input
$0.07 per M
Output
$0.28 per M
Served by
novita
Input modalities
text

This is a BYOK-only model: requests use your own provider key. Prices shown are the provider's list prices.

Call it

Any OpenAI-compatible client works: change the base URL and send this model id.

curl https://autonomousrelay.com/v1/chat/completions \
  -H "Authorization: Bearer $AUTONOMOUS_RELAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "baidu/ernie-4.5-21B-a3b", "messages": [{"role": "user", "content": "Hello"}]}'

Compare