ERNIE 5.0 Thinking Preview
Preview version of ERNIE 5.0 with deep thinking enabled by default. Scheduled to be retired on 2026-10-29 (official retirement notice).
Specs
- Context
- 131.1K
- Max output
- 65.5K
- Input price
- ¥6/ 1M tokens
- Output price
- ¥24/ 1M tokens
- Released
- 2025-11-13
Context
- Context window
- 131.1K
- Max input
- 121.9K
- Max output
- 65.5K
Pricing · CNY / 1M tokens
- Input
- ¥6
- Output
- ¥24
- Cache read
- —
- Cache write
- —
Modalities
- Input
- TextImage
- Output
- Text
API
- API types
Reasoning
- Reasoning
- Yes
- Levels
- —
Info
- Status
- Deprecated
- Released
- 2025-11-13
- Knowledge cutoff
- —
Features
- Confirmed
How to call
1 provider
baidumodel = ernie-5.0-thinking-previewreasoning = enable_thinking
chat
POSThttps://qianfan.baidubce.com/v2/chat/completions
messages
POSThttps://qianfan.baidubce.com/anthropic/v1/messages
JSON
Standard format
{
"id": "ernie-5.0-thinking-preview",
"object": "model",
"created": 1762992000,
"owned_by": "baidu",
"name": "ERNIE 5.0 Thinking Preview",
"api": {
"types": [
"chat",
"messages"
]
},
"limits": {
"context": 131072,
"input": 121856,
"output": 65536
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"reasoning": {
"supported": true,
"efforts": []
},
"pricing": {
"currency": "CNY",
"unit": "1M_tokens",
"input": 6,
"output": 24,
"cache_read": null,
"cache_write": null
},
"features": [
"streaming"
],
"info": {
"status": "deprecated",
"release_date": "2025-11-13",
"knowledge_cutoff": null,
"description": "Preview version of ERNIE 5.0 with deep thinking enabled by default. Scheduled to be retired on 2026-10-29 (official retirement notice).",
"docs": "https://cloud.baidu.com/doc/qianfan/s/rmh4stp0j",
"verified_at": "2026-10-11"
}
}Official sources
7