ERNIE Speed / 4.0

🇨🇳 Official Permanent Free
🏢 Baidu AI Cloud ⚡ Permanent Free 📖 128K Context 🏷️ lightweight

Baidu Qianfan's permanently free model for developers, zero cost with native Chinese knowledge base retrieval.

🏢 Free Providers
3 (3 在线)
3 条国内高速 BGP 直连线路
⚡ Lowest Latency
144ms
基于 FreeAI 全网边缘探活实测
🛡️ Overall SLA
99.9%
智能故障检测 · 多端点热备
🎁 Official Price
$0 Permanent Free
无隐藏门槛 · 开发者长期公测

📡 All Free Providers Live Radar

Ranked by live health & lowest latency. Copy provider model ID or claim free keys directly.

🟢 动态探活排序
#1

ModelScope (Alibaba)

Direct CN 🟢 144ms
Model ID: PaddlePaddle/ERNIE-4.5-300B-A47B-PT
🎁 Official Free Tier · Daily Auto Refresh (32k Context · 每日自动重置)
#2

百度千帆

Direct CN 🟢 174ms
Model ID: ernie-lite-8k
🎁 官方Permanent FreeFree Calls (8k Context · 永久有效)
#3

Baidu Qianfan

Direct CN 🟢 174ms
Model ID: ernie-speed-128k
🎁 Official permanent free tier · Unlimited calls (Baidu backbone · Permanent free tier)

💻 Quick Start Code Example

Fully compatible with OpenAI SDK. Replace the API Key and execute directly in Python or cURL.

from openai import OpenAI

# 1. 替换为对应厂商领取的 API Key 与 Base URL (参见下方厂商雷达表)
client = OpenAI(
    api_key="your_api_key_here",
    base_url="https://api.siliconflow.cn/v1"  # 示例: 硅基流动直连端点
)

response = client.chat.completions.create(
    model="PaddlePaddle/ERNIE-4.5-300B-A47B-PT",
    messages=[
        {"role": "system", "content": "You are a helpful AI assistant."},
        {"role": "user", "content": "Hello! Please introduce yourself briefly."}
    ],
    temperature=0.6,
    stream=True
)

for chunk in response:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
curl https://api.siliconflow.cn/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your_api_key_here" \
  -d '{
    "model": "PaddlePaddle/ERNIE-4.5-300B-A47B-PT",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ],
    "temperature": 0.7
  }'