PaddlePaddle
PP-OCRv6
About
PP-OCRv6 is a 20M open-weight model from PaddlePaddle. PaddleOCR PP-OCRv6 medium text detection and recognition, GPU end to end; scene OCR JSONL on image chat; text returns plain text; document_url fan-out via text. It accepts images and documents. Released June 11, 2026.
Parameters
20M
Published parameter count.
License
Apache-2.0
License on the weights.
Pricing
Token rates are US dollars per 1M tokens. Image rates are per 1K images. Audio rates are per 1M audio seconds.
| Rate | Price |
|---|---|
| Input / 1M | $0.02 |
| Cached input / 1M | $0.02 |
| Output / 1M | $0.40 |
Compare
PP-OCRv6 is the smallest of these OCR models, at 20M, and its published input rate is the lowest, $0.02 / 1M input.
| Model | What it does | Price | Parameters | Context |
|---|---|---|---|---|
| PP-OCRv6 | PaddleOCR PP-OCRv6 medium text detection and recognition, GPU end to end; scene OCR JSONL on image chat; text returns plain text; document_url fan-out via text. | $0.02 / 1M input | 20M | — |
| PaddleOCR-VL 1.6 | PaddleOCR-VL-1.6 for OCR, tables, formulas, and charts. | $0.15 / 1M input | 0.9B | 16K |
| dots.mocr | Multilingual document layout parsing and markdown OCR. | $0.20 / 1M input | 3B | 24K |
| GLM-OCR | Compact multilingual document OCR and markdown extraction. | $0.10 / 1M input | 0.9B | 8K |
Benchmarks
Published scores for PP-OCRv6, from the PP-OCRv6 paper. Medium tier.
- Detection Hmean86.2
| Reading | Example |
|---|---|
| Qualitative | Clear structure, grounded in the input |
| Quantitative | Detection Hmean: 86.2. |
| Cost and performance | Lower listed rate, mid-pack latency |
Performance
Latency is the end-to-end round trip. Throughput is completion tokens divided by that time. It is a request rate, not decode speed.
Latency
57 ms
Throughput
7,511 tok/s
Requests
4,456
Examples

Invoice text lines with boxes
ocr
Supported inputs
- textNo
A request with no media part is a
400. - image_urlYes
One per request. A second
image_urlpart is a400. - video_urlNo
Not accepted.
- document_urlYes
One PDF, up to 128 pages, rasterized per page at
document_dpi(default 96).redactreads a PDF one page per call only:document_mode: "document"is a400. See Document Inputs.
- Default method
ocr. - Aliases:
pp-ocrv6,pp-ocrv6:realtime,pp-ocrv6-realtime.
Methods
Methods this model serves. Payload shapes are in the docs.
| Method | Returns |
|---|---|
| ocr | Region items with bbox_xywh, optional poly_xy, text, score |
| detect | Region items with bbox_xywh and optional poly_xy, geometry only |
| text | Recognized text stitched in reading order |
| redact | The text with each span replaced by [ENTITY_n], and one item per span with offset, length, entity, score, and bbox_xywh |
The payload kind is the same for an image and for each page of a PDF. Text mode emits the payload alone for one image, and one <document> / <page> block for a PDF. In JSON mode an image content is the tagged container above, and a document page content is always doc.page.blocks. See Methods & Response Format.
Coordinates are normalized 0-1 against the image or rasterized page, at precision decimals (default 4). text is plain scene text stitched in reading order, not generative Markdown.
Method parameters
| Parameter | Default | Description |
|---|---|---|
score_threshold | 0.5 | ocr and text: drop text regions below this recognition confidence (0.0-1.0). detect returns every region. |
word_boxes | false | true adds a box for every word, grouped under its line. ocr: each image line gains words, and each PDF line block lists its word blocks in child_ids. detect: one box per word. text ignores it. Same price. |
preset | pii | redact: the entities to find. pii is person, address, phone, email, government ID, date of birth, and financial account. phi adds date, health ID, URL, and IP address. |
threshold | 0.25 | redact: drop spans below this score (0.0-1.0). |
include_text | false | redact: true adds the removed text to each span as text. |
Word boxes
Set word_boxes to highlight a word or phrase on the original page. Boxes are normalized 0-1, axis-aligned, and the height of their line. Punctuation stays with its word, and confidence is per line, not per word. See the Word Boxes guide.
Each image line gains a words list, in reading order:
Redact
Set method="redact" to find personal or health data before you store or share a page. The reply is the page text with each span replaced by a placeholder such as [PERSON_1]; equal values share one number. Each span carries its placeholder's offset and length in that text, the entity, a score, and the box to mask on the page. On a PDF, block 0 of each page is the redacted text, then one block per span.
The pii preset on an invoice photo, in text mode:
Estimate cost
Estimate. A page is 256 input tokens and 1,000 output tokens.
$0.41
Quick start
Call this model on the OpenAI-compatible gateway. The model id is already filled in.
Response
A single image returns the region container alone, with no wrapper:
{"object": "img.ocr.lines", "items": [{"bbox_xywh": [0.0332, 0.0138, 0.1719, 0.0331], "poly_xy": [[0.0332, 0.0138], [0.2051, 0.0138], [0.2051, 0.047], [0.0332, 0.047]], "text": "Invoice", "score": 0.998}, {"bbox_xywh": [0.0332, 0.0829, 0.2598, 0.0331], "text": "Total: $99.00", "score": 0.987}]}
For PDFs, each page's content is doc.page.blocks, and every region becomes one block with the same geometry under a zero-based block_id. See the Document OCR guide.
