Baidu: ERNIE 5.5 Flash Preview
ERNIE-5.5-Flash-Preview is a language model from Baidu. It reads and writes text.
- Price per 1M tokens
- $0.15 / $0.59input / output
- Cached input
- $0.015per 1M tokens
- Context
- 1M tokens1M max output
Providers
1 provider ·
1M context · 1M max output
A request picks by price (:floor) or by speed (provider.sort, :nitro), or sets a floor on tokens per second. How routing works
Price history
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.5-flash-preview", "messages": [{ "role": "user", "content": "Hi" }] }'About ERNIE 5.5 Flash Preview
ERNIE 5.5 Flash Preview costs from $0.15 per 1M input tokens and $0.59 per 1M output tokens on OpenCheap, with cached input at $0.015 per 1M tokens. 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.0021, and 1,000 such requests about $2.06. Prices as of 2026-11-23 23:43 UTC.
One provider serves ERNIE 5.5 Flash Preview on OpenCheap today. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in usage.cost. Its context window is 1M tokens (1,000,000), room for roughly 750,000 words of English in one request.
ERNIE 5.5 Flash Preview is one of 14 Baidu models on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
Call ERNIE 5.5 Flash Preview with the OpenAI SDK
Point the OpenAI SDK at OpenCheap and pass the model id opencheap/ernie-5.5-flash-preview; the rest of your code stays the same.
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.5-flash-preview",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)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
Similar models
- Gemini 3.8 FlashGoogle · 1M context$0.12 / $0.58 per 1MCompare with ERNIE 5.5 Flash Preview →
- MiniMax M3MiniMax · 1M context$0.25 / $1.02 per 1MCompare with ERNIE 5.5 Flash Preview →
- Qwen3.8 FlashQwen · 1M context$0.11 / $0.35 per 1M40 % cheaperCompare with ERNIE 5.5 Flash Preview →
- Claude Haiku 5.5Anthropic · 1M context$0.10 / $0.50 per 1M16 % cheaperCompare with ERNIE 5.5 Flash Preview →
- Qwen 3.8 27B FableQwen · 1M context$0.095 / $0.58 per 1MCompare with ERNIE 5.5 Flash Preview →
- Apex Flash 1Zhipu · 1M context$0.15 / $0.50 per 1M14 % cheaperCompare with ERNIE 5.5 Flash Preview →