←Model pricing

ERNIE vs Grok API pricing

Checked against the official price pages on 2026-10-14


In short

At 100M input and 20M output tokens a month, the cheapest model from each is ERNIE-4.5-Turbo (about ¥144 a month) and grok-4.3 (about ¥1,178 a month). ERNIE's entry model is cheaper; Grok's costs about 8.2 times as much.

The most expensive from each is ERNIE-5.1 (about ¥760 a month) and grok-4.7 (about ¥2,155 a month). Price says nothing about whether the models are equally capable; weigh it with benchmarks and context length.

For your own usage: API cost calculator

All models

Prices are per million tokens: ¥ is CNY, $ is USD; time-of-day pricing is written peak / off-peak. Monthly cost is in CNY and assumes 100M input and 20M output tokens a month, no cache hits and half of calls at peak hours where that applies, cheapest first. Models priced in USD are converted at 1 USD = 6.733 CNY (PBoC central parity, 2026-10-09).

ModelInputCache hitOutputMonthly (CNY)
BaiduERNIE-4.5-Turbo ¥0.8¥0.2¥3.2144
BaiduERNIE-5.1 ¥4—¥18760
xAIgrok-4.3 $1.25$0.2$2.51,178
xAIgrok-4.7 $2$0.5$62,155

Other comparisons