ER

Baidu ERNIE

degraded

ERNIE 4.5 Turbo. Free quota via Baidu Cloud.

LLMest. 2000 · Beijing, China
83
/ 100 APIVault Score

// At a glance

Free Tier
Free quota · phone required · China
Category
LLM
Credit Card
Not required
Last Verified
1m ago

// Free tier details

Available Models

ERNIE 4.5ERNIE 4.5 TurboERNIE Speed

Monthly Tokens

Free developer quota on Baidu Cloud

No credit card needed
Phone verification required

// Quick start

300">"text-purple-400">import requests

3 italic"># Get access token first
token_url = 300">"https://aip.baidubce.com/oauth/2.0/token"
params = {
    300">"grant_type": 300">"client_credentials",
    300">"client_id": 300">"YOUR_API_KEY",
    300">"client_secret": 300">"YOUR_SECRET_KEY",
}
access_token = requests.post(token_url, params=params).json()[300">"access_token"]

response = requests.post(
    f300">"https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/ernie-4.5-turbo?access_token={access_token}",
    json={300">"messages": [{300">"role": 300">"user", 300">"content": 300">"Hello."}]},
)
print(response.json()[300">"result"])

// Overview

Baidu's ERNIE Bot (文心一言) is one of China's top LLMs with strong Chinese language performance. Available via the Qianfan platform with free quota for developers.

// Pros

  • Strong Chinese language performance
  • Integrated with Baidu search
  • Free quota available

// Cons

  • Requires Chinese phone number
  • Complex auth flow
  • Primarily China-accessible

// Score breakdown

Reliability (35%) (from 1m ago health check)100/100
Free Tier Generosity (30%) (computed from quota, no-CC, no-phone fields)75/100
Documentation (20%) (human rating)72/100
Popularity (15%) (GitHub stars (log-normalised), or manual baseline)72/100

Methodology: apivault.dev/methodology

// Best for

Chinese AI appsSearch-augmented AIBaidu ecosystem