ERNIE 5.5 Flash Preview
Model ID
Put this value in the request body's `model` field — not the display name above.
by baidu · Baidu ERNIE 5.5 Flash Preview: the newest ERNIE base model (preview), 280B total and 14B active parameters per token, built for coding, agents, knowledge work and deep research. 1M context and up to 1M output. Reasoning cannot be turned off (thinking tokens bill as output); tool calling and JSON output, text-only input. Billed at Baidu's official peak / off-peak prices: list price 8:00-22:00 Beijing time every day, half price 22:00-8:00.
Quick start
POST /v1/chat/completionshttps://qd.zsopc.com/v1curl https://qd.zsopc.com/v1/chat/completions \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "ernie-5.5-flash-preview",
"messages": [
{"role": "user", "content": "你可以帮我做什么"}
]
}'Pricing
Billed per token: input and output are priced separately and settled on the upstream's reported usage.
- Rates
- Input 0.12Credits/K·
Output 0.48Credits/K
- Input tokens that hit the prompt cache are billed at 12 Credits / 1M — cheaper than full-price input.
- Failed requests (upstream 4xx / 5xx) are not billed.
- All your API keys share one balance; when it runs out the API returns HTTP 402 `quota_exceeded`.
Sign in and any personal discount on your account will show up here. Sign in
Capabilities & specs
- Category
- Text generation
- Context window
- 1M tokens
- Default max output
- 66k tokens
- Endpoint family
- Chat Completions
- Protocols
- OpenAI Chat
- Released
- 2026-11-10
- License
- Closed source
Try it
Pick a key under "API access" and fire one real request to see the response — the estimated cost is shown before you send.
Common errors
404 model_not_foundYou passed the display name instead of the model ID.✗ ERNIE 5.5 Flash Preview→✓ ernie-5.5-flash-preview
→ Copy the Model ID at the top of this page
402 quota_exceededInsufficient account balance. All your API keys share one balance.
401 / 403The API key is invalid, or it has a model allowlist that doesn't include this ID.
→ Check the key's status and allowed models
400 invalid_requestA request body field is invalid, or this model doesn't support the protocol endpoint you called.
→ Check your request body against the sample code above