LLM ReferenceLLM Reference

Using ERNIE 4.5 Turbo VL on Baidu Qianfan

Implementation guide · ERNIE 4.5 · Baidu AI

Serverless

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-vl — see the documentation for request format.
  3. 3
    You'll be billed $0.44/1M input, $1.33/1M output tokens. See full pricing.

Code Examples

See Baidu Qianfan documentation for integration details.

About Baidu Qianfan

Baidu Qianfan provides native hosted access to Baidu's ERNIE model lineup, including ERNIE 5.1, through model service APIs and the Qianfan console. The platform documents OpenAI-compatible access patterns, model lists, rate limits, and token-based pricing for online inference.

Baidu Qianfan is Baidu Intelligent Cloud's foundation model and Agent development platform, providing hosted API access to ERNIE and Qianfan models for text generation, reasoning, multimodal understanding, embeddings, and agent workflows.

Pricing on Baidu Qianfan

TypePrice (per 1M)
Input tokens$0.44
Output tokens$1.33

Capabilities

VisionMultimodalReasoningFunction CallingTool UseStructured OutputsCode Execution

About ERNIE 4.5 Turbo VL

ERNIE 4.5 Turbo VL is the vision-language variant of ERNIE 4.5 Turbo, launched April 24, 2025. Supports image and text inputs with strong visual understanding and multimodal reasoning at reduced cost. API model IDs: ernie-4.5-turbo-vl (primary, 128K context); ernie-4.5-turbo-vl-32k (32K context).

Model Specs

Released2025-04-24
Context128K
Architecturemoe

Provider

Baidu Qianfan

Baidu

Beijing, China