Baichuan M2 32B vs ERNIE 4.5 21B A3B

They cost about the same for input tokens: Baichuan M2 32B $0.07 per M, ERNIE 4.5 21B A3B $0.07 per M. Baichuan M2 32B is 4× cheaper for output tokens: Baichuan M2 32B costs $0.07 per M and ERNIE 4.5 21B A3B costs $0.28 per M. About the same: Baichuan M2 32B takes up to 131,072 tokens of context and ERNIE 4.5 21B A3B up to 120,000.

Baichuan M2 32BERNIE 4.5 21B A3B
Model idbaichuan/baichuan-m2-32bbaidu/ernie-4.5-21B-a3b
Input$0.07 per M$0.07 per M
Output$0.07 per M$0.28 per M
Context length131,072 tokens120,000 tokens
Acceptstexttext
Producestexttext
Served bynovitanovita

Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.