Baidu: ERNIE 5.0 Thinking PreviewAPI pricing
ERNIE 5.0 Thinking Preview is a language model from Baidu. It reasons step by step before it answers.
- 每100万枚代币的价格
- $0.82 / $3.29input / output
- 缓存的输入
- $0.82per 1M tokens
- 上下文
- 183K tokens64K max output
- 服务提供商
- 1
服务提供商
1 provider ·
183K context · 64K 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-5.0-thinking-preview", "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-5.0-thinking-preview",
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-5.0-thinking-preview",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 ERNIE 5.0 Thinking Preview 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/ernie-5.0-thinking-preview;其余代码保持不变。
About ERNIE 5.0 Thinking Preview
- 请求示例
- $0.01210,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 5.0 Thinking Preview costs from $0.82 per 1M input tokens and $3.29 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.012, and 1,000 such requests about $11.51.
One provider serves ERNIE 5.0 Thinking Preview on OpenCheap today. Its context window is 183K tokens (183,000), room for roughly 140,000 words of English in one request.
ERNIE 5.0 Thinking Preview is one of 14 Baidu models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the ERNIE 5.0 Thinking Preview API cost per 1M tokens?
ERNIE 5.0 Thinking Preview costs from $0.82 per 1M input tokens and $3.29 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one ERNIE 5.0 Thinking Preview request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.012, and 1,000 such requests about $11.51. Every answer reports its own cost in usage.cost.
Which providers serve ERNIE 5.0 Thinking Preview?
One provider serves ERNIE 5.0 Thinking Preview 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 5.0 Thinking Preview?
Its context window is 183K tokens (183,000), room for roughly 140,000 words of English in one request.
How do I call the ERNIE 5.0 Thinking Preview API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/ernie-5.0-thinking-preview. 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 Turboernie-4.5-turbo-latest$0.11 / $0.44 per 1M · 135K context
- 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
类似型号
- deepseek-r1DeepSeek · 163K context$0.74 / $2.52 per 1M22 % cheaper
- GLM 5.1 Thinking TEEZhipu · 202K context$0.90 / $2.90 per 1M10 % cheaper
- thinkingmachines/InklingThinking Machines · 1M context$1.00 / $4.05 per 1M
- deepseek-r1-turboDeepSeek · 40K context$1.05 / $3.15 per 1M
- Mai Thinking 1Microsoft · 256K context$2.00 / $8.00 per 1M
- Sonar Deep ResearchPerplexity · 128K context$2.10 / $8.40 per 1M
Compare ERNIE 5.0 Thinking Preview with any model →Cheapest LLM API