LLM Reference
Baidu Qianfan

Using ERNIE 4.5 Turbo on Baidu Qianfan

Implementation guide · ERNIE 4.5 · Baidu AI

ServerlessOpen Source

Baidu Qianfan exposes ERNIE 4.5 Turbo through model ID ernie-4.5-turbo-128k. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-06-29. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Baidu Qianfan and generate an API key.
  2. 2
    Use the Baidu Qianfan SDK or REST API to call ernie-4.5-turbo-128k — see the documentation for request format.
  3. 3
    You'll be billed $0.12/1M input, $0.47/1M output tokens. See full pricing.

Code Examples

See Baidu Qianfan documentation for integration details.

Pricing on Baidu Qianfan

TypePrice (per 1M)
Input tokens$0.12
Output tokens$0.47

Capabilities

JSON / Tool useStructured Outputs

About ERNIE 4.5 Turbo

ERNIE 4.5 Turbo is Baidu's faster, more cost-efficient variant of ERNIE 4.5, launched April 24, 2025. It delivers ERNIE 4.5-level multimodal performance at 20% of the original cost ($0.12/1M input tokens vs $0.59). Strong at multimodal reasoning, with an average benchmark score of 77.68, surpassing GPT-4o (72.76). Text-only API variant; see ERNIE 4.5 Turbo VL for vision capabilities. API model IDs: ernie-4.5-turbo-128k (primary, 128K context); ernie-4.5-turbo-32k (32K context).

Model Specs

Released2025-04-24
Context128k
ArchitectureMixture of Experts

Provider

Baidu Qianfan
Baidu Qianfan

Baidu

Beijing, China