Baidu General Purpose

ERNIE 4.5 Turbo

Knowledge-Powered Intelligence

Baidu's flagship with real-time knowledge graph integration.

Pricing

Metric Official Price tokencnn.com Price
Input ¥0.30 ¥0.45
Output ¥0.60 ¥0.90

* tokencnn.com applies a 1.5x multiplier on official pricing for gateway and aggregation services.

API Reference

cURL
Python
curl -X POST https://api.tokencnn.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ernie-4.5-turbo",
    "messages": [{"role": "user", "content": "Latest developments in China AI regulation?"}],
    "temperature": 0.5
  }'
import openai

client = openai.OpenAI(
    base_url="https://api.tokencnn.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="ernie-4.5-turbo",
    messages=[
        {"role": "user", "content": "Explain the ERNIE architecture"}
    ],
    temperature=0.4,
    max_tokens=2048
)

print(response.choices[0].message.content)

Model Capabilities

🚀Knowledge-enhanced architecture powered by Baidu's search and knowledge graph
Superior factual accuracy with real-time knowledge updates
🧠Deep understanding of Chinese language, culture, and contextual nuances
🔧Enterprise-grade reliability backed by Baidu's massive infrastructure
📊Strong performance on Chinese knowledge-intensive tasks
🎯Compliance-ready with Chinese regulatory requirements

Ready to Build with ERNIE 4.5 Turbo?

Get your API key in minutes and start integrating China's best AI models.

Get API Key →