返回模型列表

ERNIE 4.5

baidubaidu/ernie-4.5

Baidu ERNIE 4.5 (300B MoE, 47B active) — Baidu's flagship model with strong Chinese language understanding.

上下文长度
131K
最大输出
33K
输入价格
$0.468每百万 Tokens
输出价格
$1.85每百万 Tokens

模态能力

文本文本

价格明细

类型费率
输入$0.468 每百万 Tokens
输出$1.85 每百万 Tokens

支持参数

temperaturemax_tokenstop_ptoolstool_choicestop

API 使用示例

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "baidu/ernie-4.5",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'