Qianfan-OCR
Baidu Qianfan OCR model that converts document images to structured Markdown, with optional thinking mode.
Specs
- Context
- 32.8K
- Max output
- 28.7K
- Input price
- ¥0.45/ 1M tokens
- Output price
- ¥1.8/ 1M tokens
- Released
- —
Context
- Context window
- 32.8K
- Max input
- 32.8K
- Max output
- 28.7K
Pricing · CNY / 1M tokens
- Input
- ¥0.45
- Output
- ¥1.8
- Cache read
- —
- Cache write
- —
Modalities
- Input
- TextImage
- Output
- Text
API
- API types
Reasoning
- Reasoning
- Yes
- Levels
- —
Info
- Status
- Active
- Released
- —
- Knowledge cutoff
- —
Features
- Not published
How to call
1 provider
baidumodel = qianfan-ocr
chat
POSThttps://qianfan.baidubce.com/v2/chat/completions
messages
POSThttps://qianfan.baidubce.com/anthropic/v1/messages
JSON
Standard format
{
"id": "qianfan-ocr",
"object": "model",
"created": null,
"owned_by": "baidu",
"name": "Qianfan-OCR",
"api": {
"types": [
"ocr",
"chat",
"messages"
]
},
"limits": {
"context": 32768,
"input": 32768,
"output": 28672
},
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"reasoning": {
"supported": true,
"efforts": []
},
"pricing": {
"currency": "CNY",
"unit": "1M_tokens",
"input": 0.45,
"output": 1.8,
"cache_read": null,
"cache_write": null
},
"features": [],
"info": {
"status": "active",
"release_date": null,
"knowledge_cutoff": null,
"description": "Baidu Qianfan OCR model that converts document images to structured Markdown, with optional thinking mode.",
"docs": "https://cloud.baidu.com/doc/qianfan-docs/s/Qmispikeo",
"verified_at": "2026-10-11"
}
}Official sources
4