Baidu: ERNIE X1.1 PreviewAPI pricing
ERNIE X1.1 Preview is a language model from Baidu. It reads and writes text.
- 每100万枚代币的价格
- $0.14 / $0.54input / output
- 上下文
- 119K tokens64K max output
- 服务提供商
- 1
服务提供商
1 provider ·
119K 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-x1.1-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-x1.1-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-x1.1-preview",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 ERNIE X1.1 Preview 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/ernie-x1.1-preview;其余代码保持不变。
About ERNIE X1.1 Preview
- 请求示例
- $0.001910,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 X1.1 Preview costs from $0.14 per 1M input tokens and $0.54 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.0019, and 1,000 such requests about $1.90.
One provider serves ERNIE X1.1 Preview on OpenCheap today. Its context window is 119K tokens (119,000), room for roughly 89,000 words of English in one request.
ERNIE X1.1 Preview is one of 14 Baidu models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the ERNIE X1.1 Preview API cost per 1M tokens?
ERNIE X1.1 Preview costs from $0.14 per 1M input tokens and $0.54 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one ERNIE X1.1 Preview request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0019, and 1,000 such requests about $1.90. Every answer reports its own cost in usage.cost.
Which providers serve ERNIE X1.1 Preview?
One provider serves ERNIE X1.1 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 X1.1 Preview?
Its context window is 119K tokens (119,000), room for roughly 89,000 words of English in one request.
How do I call the ERNIE X1.1 Preview API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/ernie-x1.1-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
类似型号
- GLM 5.1Zhipu · 204K context$0.16 / $0.49 per 1M9 % cheaper
- DeepSeek V3.2DeepSeek · 163K context$0.22 / $0.34 per 1M30 % cheaper
- GLM 4.5Zhipu · 131K context$0.15 / $0.55 per 1M
- Gemma SEA-LION v4 27BGoogle · 131K context$0.24 / $0.48 per 1M
- Shisa V2 Llama 3.3 70BShisa.AI · 128K context$0.50 / $0.50 per 1M
- Qwen SEA-LION v4 32BQwen · 131K context$0.30 / $0.60 per 1M