Baidu: ERNIE 4.5 TurboAPI pricing
ERNIE 4.5 Turbo is a language model from Baidu. It reads and writes text.
- 每100万枚代币的价格
- $0.11 / $0.44input / output
- 上下文
- 135K tokens12K max output
- 服务提供商
- 1
服务提供商
1 provider ·
135K context · 12K max output
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/ernie-4.5-turbo-latest", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/ernie-4.5-turbo-latest",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/ernie-4.5-turbo-latest",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 ERNIE 4.5 Turbo 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/ernie-4.5-turbo-latest;其余代码保持不变。
About ERNIE 4.5 Turbo
- 请求示例
- $0.001510,000 in + 1,000 out
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
ERNIE 4.5 Turbo costs from $0.11 per 1M input tokens and $0.44 per 1M output tokens on OpenCheap. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0015, and 1,000 such requests about $1.54.
One provider serves ERNIE 4.5 Turbo on OpenCheap today. Its context window is 135K tokens (135,000), room for roughly 100,000 words of English in one request.
ERNIE 4.5 Turbo is one of 14 Baidu models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the ERNIE 4.5 Turbo API cost per 1M tokens?
ERNIE 4.5 Turbo costs from $0.11 per 1M input tokens and $0.44 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one ERNIE 4.5 Turbo request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0015, and 1,000 such requests about $1.54. Every answer reports its own cost in usage.cost.
Which providers serve ERNIE 4.5 Turbo?
One provider serves ERNIE 4.5 Turbo on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of ERNIE 4.5 Turbo?
Its context window is 135K tokens (135,000), room for roughly 100,000 words of English in one request.
How do I call the ERNIE 4.5 Turbo API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/ernie-4.5-turbo-latest. One OpenCheap key works for every model; the rest of your code stays the same.
More from Baidu
- ERNIE 4.5ernie-4.5$0.068 / $0.27 per 1M · 160K context
- ERNIE 4.5 0.3bernie-4.5-0.3b$0.014 / $0.054 per 1M
- ERNIE 4.5 300B A47Bernie-4.5-300b-a47b$0.32 / $1.28 per 1M
- ERNIE 4.5 Turbo 128K Previewernie-4.5-turbo-128k-preview$0.11 / $0.43 per 1M
- ERNIE 4.5 Turbo VLernie-4.5-turbo-vl$0.40 / $1.20 per 1M · 139K context
- ERNIE 5.0ernie-5.0$0.82 / $3.29 per 1M · 119K context
- ERNIE 5.0 Thinking Expernie-5.0-thinking-exp$0.82 / $3.29 per 1M · 119K context
- ERNIE 5.0 Thinking Previewernie-5.0-thinking-preview$0.82 / $3.29 per 1M · 183K context
类似型号
- DeepSeek V3.2DeepSeek · 163K context$0.22 / $0.34 per 1M14 % cheaper
- GLM 5.1Zhipu · 204K context$0.16 / $0.49 per 1M
- GLM 4.5Zhipu · 131K context$0.15 / $0.55 per 1M
- Doubao Seed CharacterByteDance · 128K context$0.15 / $0.37 per 1M12 % cheaper
- Gemma SEA-LION v4 27BGoogle · 131K context$0.24 / $0.48 per 1M
- Ternary Bonsai 2 27BPrismML · 262K context$0.075 / $0.50 per 1M