ERNIE API pricing

How ERNIE API charges, what to know before you commit, and what you'd pay at your usage — next to what the alternatives would cost for the same thing.

How it charges

Checked 2026-10-07 on intl.cloud.baidu.com ↗ · USD, list prices
In short

Pay per token on Qianfan, from $0.11 / $0.45 per million input/output tokens on ERNIE 4.5 Turbo to $0.56 / $2.53 on ERNIE 5.1.

Free plan
Yes
Side project
$1.00/mo ERNIE 4.5 Turbo
Growing
$10/mo ERNIE 4.5 Turbo
Scaling
$200/mo ERNIE 4.5 Turbo
What the model leaves out

International prices for the lowest input-length tier. ERNIE 5.0, which adds image input and a thinking mode, costs $0.84 / $3.38.

Before you commit
  • Prices are tiered by input length: ERNIE 5.1 is $0.56 / $2.53 up to 32K input and $0.84 / $3.10 from 32K to 128K.
  • Mainland (cloud.baidu.com) prices are in yuan per thousand tokens and also sold as prepaid token packs.
PlanMonthly feeInput tokens per monthOutput tokens per month
ERNIE 5.1None$0.56 per million tokens$2.53 per million tokens
ERNIE 4.5 TurboNone$0.11 per million tokens$0.45 per million tokens

What you'd pay

ERNIE 4.5 Turbo50 million tokens × $0.11 per million tokens + 10 million tokens × $0.45 per million tokens$10/mo

Cost as you grow

$0$100$500$1,000$2,0001510501005001k5k
ERNIE APIDeepSeekMistral AIGroqGemini APIClaudeOpenAI APIx: input tokens per month (million tokens), other usage scaled with it · cheapest usable plan at each point, list prices