Today we are releasing Typhoon OCR V2, our next-generation open vision-language model designed for high-precision Thai and English document parsing. Released in two model sizes—2B and 0.8B—Typhoon OCR V2 introduces full layout awareness, structured element extraction, and state-of-the-art accuracy on Thai benchmarks.
While Typhoon OCR 1.5 converted entire pages directly into Markdown, Typhoon OCR V2 preserves both content and spatial structure. For each page, it returns a list of layout elements in reading order, annotating every block with its category (title, text, table, formula, header, footer, figure), bounding box coordinates, and recognized text. Tables come out as HTML, formulas as LaTeX, and other text as Markdown, which can be turned back into clean Markdown with just a few lines of code.
The 2B model also answers questions about documents, classifies them, extracts key information as JSON, and reads charts. On comprehensive Thai document evaluations, it scores highest among all open models we evaluated, while maintaining competitive parity with leading open document parsers on English.
The full method, results and analysis are in our technical report, Typhoon OCR 2: From Thai Document Transcription to Multilingual, Multi-Task OCR.
Why Thai document parsing is still hard
Open vision-language document parsers have improved quickly. On English and Chinese benchmarks such as olmOCR-bench and OmniDocBench, the best of them now score in the mid-80s to mid-90s. Thai is a different story. In our evaluation, these parsers have three main problems:
- Lower accuracy on Thai. On MDPBench, most general open parsers we tested score 5 to 16 points lower on Thai pages than on English pages, and OvisOCR2 barely reads Thai (14.7 on Thai pages against 79.9 on English). Thai has no spaces between words and stacks vowels and tone marks above and below the line, so small visual errors change the text.
- Little Thai layout data. Training data with bounding boxes and layout labels is mostly English and Chinese. Annotated Thai pages are scarce.
- Repetition loops on real photos. On folded, skewed or poorly lit phone photos, a model can start repeating a line or a number until it hits the token limit. When that happens, the whole page is lost.
While Typhoon OCR 1.5 achieved strong plain-text Thai transcription, it lacked bounding box localization, lagged behind general parsers on English documents (scoring 62.0 on olmOCR-bench), and suffered from repetition loops on 35 of the 320 MDPBench pages. Addressing these fundamental gaps became the primary design goal for Typhoon OCR V2.
How we built Typhoon OCR V2
Typhoon OCR V2 was built to keep what strong open parsers already do well on English, and to add Thai.
- Start from strong document parsers. The 2B model is fine-tuned from Infinity-Parser2-Flash, and the 0.8B model from OvisOCR2. Both already parse English and Chinese pages with layout. Starting from them means our Thai data does not have to teach English from scratch.
- Curated, multi-stage Thai data pipeline. We constructed an in-house Thai dataset annotated by larger vision-language models. Every label underwent rigorous rule-based validation and LLM-as-a-judge verification, with failed annotations systematically revised. We conducted targeted human review on bounding boxes, prioritizing pages with the most misaligned coordinates. This was combined with public English and Chinese corpora, followed by strict PII filtering across all data sources.
- Training for photographed pages. During fine-tuning, pages are randomly rotated, shrunk onto backgrounds, blurred, shadowed and compressed, so the model sees conditions like phone photos.
- Reinforcement learning against loops. After supervised fine-tuning, we trained both models with GRPO, a reinforcement-learning method, using rewards that check each task automatically. Any output that runs into the token limit gets a reward of zero. On MDPBench, averaged over four runs, this cut looping pages from 10.3 to 2.3 for the 2B model and from 12.8 to 8.5 for the 0.8B model. The 2B score rose by 2.3 points; the 0.8B gain was smaller and within run-to-run variation.
What's new in Typhoon OCR V2
1. Layout with bounding boxes, in reading order
Each page comes back as a JSON list of elements, using 13 categories: header, title, text, figure, table, formula, three caption types, three footnote types and footer. Boxes use a 0–1000 grid relative to the page, so they do not depend on the image resolution. You can use the boxes to crop figures, highlight sources in a RAG answer, or keep the reading order of multi-column pages.
2. One model, many document tasks (2B)
The same 2B model handles full-page parsing and a range of other tasks, chosen by the prompt:
- visual question answering about a document
- document classification
- key-information extraction to JSON, for fields you name or for everything on the page
- table, formula and chart reading
- reading the text inside a given region
On ThaiOCRBench, which covers 13 Thai tasks, the score rises from 40.5 for Typhoon OCR 1.5 to 59.9.
3. Much better on English, without losing Thai
Typhoon OCR 1.5 was trained mainly for Thai. V2 keeps the English strength of its base model: olmOCR-bench rises from 62.0 to 84.7 and OmniDocBench v1.6 from 70.97 to 90.97, about the same as Infinity-Parser2-Flash (84.4 and 91.03).
4. Fewer repetition loops on photographed pages
On MDPBench, where 240 of the 320 pages are photographs of printed documents, the 2B model loops on 1 to 3 pages across four runs, against 35 for Typhoon OCR 1.5. Its score on photographed pages rises from 64.7 to 79.0. The phone-photo examples below show pages that are crumpled, bent or held in the hand.
5. Two specialized sizes
- Typhoon OCR V2 2B: Our flagship, general-purpose document model. It delivers maximum accuracy across all supported capabilities—including full-page layout parsing, fine-grained KIE, visual question answering, and region-based reading.
- Typhoon OCR V2 0.8B: A compact, cost-effective page parser optimized for high-throughput transcription. Despite its sub-billion parameter footprint, it achieves 77.4 on MDPBench (surpassing all open baselines except our 2B model) and the lowest ranked error rate on SEA-DocBench (0.1081 NED). It is specifically dedicated to document parsing rather than conversational DocVQA or open-ended extraction.
Output format
The model returns a JSON list inside a json code block:
- Markdown for titles, paragraphs and other text
- HTML for tables, including merged cells (
rowspan/colspan) - LaTeX for formulas
- an empty text field for figures, with the box giving their position
To get Markdown, join the text of the elements in order. The model cards include a small helper that does this and lets you keep or drop headers and footers.
Examples
All examples below are real outputs of Typhoon OCR V2 2B. The first six are benchmark items. The next two use images from our training data, so they show the output format rather than accuracy on new documents. The last three are phone photos from MDPBench that we show in the technical report. Each image shows the input and the model's output; the parsing examples also show the predicted boxes, numbered in reading order, and the start of the output rendered as Markdown.
Dense Thai exam page (MDPBench):
The model reads the whole page in order. It gives each line of the numbered conclusions its own box, while the benchmark groups each pair of lines into one box.

Thai training handout with references (MDPBench):
18 of the 20 predicted boxes match the benchmark's layout boxes.

Key-information extraction from a snack bag (ThaiOCRBench): asked for the percentage of each ingredient as JSON, the model returns {"มะพร้าว": "68%", "น้ำตาล": "29%", "เกลือสมุทร": "2%", "กลิ่นคาราเมล": "1%"}, an exact match. None of the other open models we tested got this item right.

Matching values in a PM2.5 advisory table (ThaiOCRBench): the model matches each air-quality level to its number of provinces and answers in JSON, again an exact match.

Handwritten lecture notes (ThaiOCRBench): asked what is written in item 4, the model answers ④ ผูกขาด // ผู้ขายรายเดียว ไม่มีสินค้าอื่นมาทดแทน ex. ไฟฟ้า ประปา (score 0.96).

Reading a street sign at given coordinates (ThaiOCRBench): given a box on a 0–1000 grid, the model reads ชุมชนเสนานิคม 2 from a Bangkok street photo.

Extracting everything from a restaurant bill as JSON: without being told which fields to look for, the model finds them itself (the prompt is shown in the image). It returns the shop details, table, date and time, each item with its quantity and price, and the subtotal, service charge, VAT and total, using the labels printed on the bill as keys:
We blacked out the staff name before running the model, and it returned "" for that field instead of guessing. The output is not perfect: two item names have small spelling errors, and two options of a dish (spice level, no ice) are listed as separate items. The full output is in the model card.

Extracting everything from an infographic as JSON: with the same prompt, the model returns the title, the seven numbered reasons as a list, the note and the contact details (website, Facebook, TikTok and phone number), all copied correctly.

Phone photos from the technical report
These MDPBench pages were run with vLLM 0.33.0 at up to 16.7 MP. The photos are cropped to the page here. The boxes are axis-aligned rectangles, so on strongly tilted photos they fit rotated text loosely; we chose photos where this does not happen. The edit distances below come from our four MDPBench runs (0 is a perfect match).
A crumpled Thai report page, taken sideways: the page is crumpled and turned 90 degrees. The model still separates the two tables from the text that introduces them, the section title and the page number, and reads them in order. The text edit distance is 0 and the table edit distance 0.025 to 0.026.

A hand-held Thai report page: the list items, the explanatory text, three tables and the short headings above the first two tables each get their own box. The text matches the reference and the table edit distance is 0.055 to 0.056.

A bent English magazine page with dense tables: the model finds five separate tables with their captions and source notes, as well as the header and footer. The text edit distance is 0, but the table edit distance of 0.128 to 0.148 shows that some table cells are still wrong.

Performance evaluation
We evaluated both models, Typhoon OCR 1.5 and nine other open document parsers on five public benchmarks:
- MDPBench: 160 English and 160 Thai pages, most of them photos of printed documents (higher is better)
- olmOCR-bench: 7,018 unit tests on 1,403 English PDF pages (higher is better)
- ThaiOCRBench: 2,808 items over 13 Thai tasks, from OCR to question answering and key-information extraction (higher is better)
- SEA-DocBench: English and Thai pages, scored by normalized edit distance (lower is better)
- OmniDocBench v1.6: 1,651 English and Chinese pages (higher is better)
We ran every model ourselves with the same scripts, rather than copying numbers from other papers, so some numbers differ from those reported elsewhere. Typhoon OCR V2 and Infinity-Parser2-Flash, which share an architecture, were run with vLLM 0.27.1 in eager mode (see below). The other models were run with the prompts and post-processing published with them. Typhoon OCR 1.5's MDPBench scores were measured with vLLM 0.33.0 (62.8 overall and 64.3 on Thai pages with vLLM 0.27.1 in its default mode). The evaluation code is public at srn-source/evaluation_thai_ocr.
- Nemotron 3.5 Parse and the OpenThai models. Nemotron 3.5 Parse and its Thai fine-tunes, OpenThai2.0-OCR-Markdown and OpenThai2.1-OCR-Markdown, were run as their model cards recommend, with vLLM 0.33.0. OpenThai2.0 writes formulas as plain text and keeps page headers and footers, which olmOCR-bench, SEA-DocBench and OmniDocBench penalize; this explains most of its low scores there. OpenThai2.1 fixes both, which explains most of its gain over 2.0 on those benchmarks.
- DeepSeek-OCR-2 was run with the settings of its official OmniDocBench script. On photographed pages it often repeats itself until the token limit, which lowers its MDPBench score most.
- Four runs in the report. The technical report averages four MDPBench runs with vLLM 0.33.0 for Typhoon OCR V2 and Infinity-Parser2-Flash. Those averages are slightly lower than the single runs below (2B: 79.3 overall and 80.7 on Thai pages; 0.8B: 76.8 and 76.8), and the ranking stays the same.

| Model | Params | MDPBench ↑ | MDPBench TH ↑ | olmOCR-bench ↑ | ThaiOCRBench ↑ | SEA-DocBench NED ↓ | OmniDocBench v1.6 ↑ |
|---|---|---|---|---|---|---|---|
| Chandra-OCR-2 | 5B | 74.2 | 71.1 | 84.4 | 26.4 | 0.1141 | 89.65 |
| dots.mocr | 3B | 76.2 | 73.6 | 85.2 | 37.9 | 0.1135 | 91.09 |
| PaddleOCR-VL-1.6 | 0.9B | 72.5 | 68.4 | 80.8 | n/a | 0.1323 | 95.83 |
| OvisOCR2 | 0.8B | 47.7 | 14.7 | 72.3 | 10.2 | 0.3843 | 96.34 |
| Infinity-Parser2-Flash | 2B | 68.3 | 61.3 | 84.4 | 35.0 | 0.1266 | 91.03 |
| Nemotron 3.5 Parse | 0.6B | 74.7 | 75.9 | 62.7 | n/a | 0.1046† | 80.13 |
| OpenThai2.0-OCR-Markdown | 0.6B | 68.6 | 69.7 | 51.2 | n/a | 0.3342 | 62.02 |
| OpenThai2.1-OCR-Markdown | 0.6B | 75.2 | 76.3 | 73.1 | n/a | 0.1274 | 79.16 |
| DeepSeek-OCR-2 | 3B | 48.9 | 40.7 | 78.2 | 10.1 | 0.1356 | 90.05 |
| Typhoon OCR 1.5 | 2B | 66.0 | 68.9 | 62.0 | 40.5 | 0.1726 | 70.97 |
| Typhoon OCR V2 0.8B | 0.8B | 77.4 | 77.2 | 81.7 | 36.4 | 0.1081 | 89.37 |
| Typhoon OCR V2 2B | 2B | 79.8 | 81.3 | 84.7 | 59.9 | 0.1153 | 90.97 |
Bold is the best result in each column and underlined the second best. n/a: PaddleOCR-VL-1.6, Nemotron 3.5 Parse and the two OpenThai models do not answer questions, so they have no ThaiOCRBench score. † Not ranked: Nemotron 3.5 Parse writes most display formulas inline, and on Thai pages the scorer counted them as text, so its Thai NED averages three parts instead of four. Counting only text, tables and reading order for every model, it scores 0.075, close to the best (Typhoon OCR V2 2B and dots.mocr, both 0.074).
Key Takeaways
- State-of-the-Art on Thai: The 2B model sets a new open benchmark with 81.3 on MDPBench Thai pages (the next best other open parser, OpenThai2.1-OCR-Markdown, scores 76.3) and 59.9 on ThaiOCRBench (surpassing Typhoon OCR 1.5 at 40.5).
- Preserved English Competitiveness: Fine-tuning on Thai introduced no meaningful degradation in English capabilities. The 2B model scores 84.7 on olmOCR-bench (within 0.5 points of dots.mocr at 85.2) and 90.97 on OmniDocBench v1.6, matching base Infinity-Parser2-Flash (91.03).
- Substantial Generational Leap over V1.5: Across all dimensions, V2 vastly outperforms Typhoon OCR 1.5: MDPBench jumps from 66.0 to 79.8, olmOCR-bench from 62.0 to 84.7, and ThaiOCRBench from 40.5 to 59.9, while adding full spatial bounding boxes.
- Highly Competitive Lightweight 0.8B Model: The 0.8B model achieves 77.4 on MDPBench (ahead of dots.mocr at 76.2 and OpenThai2.1-OCR-Markdown at 75.2) and the best ranked normalized edit distance (0.1081 NED) on SEA-DocBench.
- Photographed vs. digital pages: In the technical report's four-run averages, the 2B model scores 79.0 on photographed MDPBench pages, against 73.1 for OpenThai2.1-OCR-Markdown and 70.9 for Nemotron 3.5 Parse. On digital pages the order changes: Nemotron 3.5 Parse leads with 86.4, against 81.5 for OpenThai2.1 and 81.2 for our 2B model.
Recommended Inference Settings
To achieve the benchmark accuracy reported above, we recommend the following serving configuration:
| Setting | Recommended Value | Notes / Impact |
|---|---|---|
| Serving Framework | vLLM ≥ 0.30.0 (or Transformers) | Older versions need eager mode (see below) |
| Max Image Pixels | 16.7 MP (max_pixels=16777216) | Using 4 MP lowers MDPBench by 1.6 pts (79.8 to 78.2) |
| Image Upscaling | ≥ 1,600 px on the long edge (required) | Enlarge smaller images before sending them; ThaiOCRBench rises from 59.9 to 62.9 for the 2B model. The typhoon-ocr2 package does this for you |
| Decoding Strategy | Greedy decoding (temperature=0.0) | Recommended default for all document tasks |
Use vLLM 0.30.0 or newer. On older versions, run in eager mode (--enforce-eager, or enforce_eager=True in Python).
Limitations
- Tables and formulas. PaddleOCR-VL-1.6 is well ahead of our models on tables and formulas (OmniDocBench table TEDS 93.38 against 82.94 for our 2B model).
- Digital pages. On clean digital pages, Nemotron 3.5 Parse scores higher than our models (86.4 against 81.2 for the 2B model on MDPBench digital pages). Our gains are largest on photographed pages.
- Key-information extraction. This is still the weakest ThaiOCRBench task for the 2B model (21.0). Check extracted fields before you use them downstream.
- Loops are rarer, not gone. Dense multi-column pages such as Thai newspapers can still trigger a loop, and the 0.8B model loops more often than the 2B model (8.5 against 2.3 MDPBench pages on average). The helper in the model card keeps the complete elements when this happens.
- No separate validation set for parsing. The SFT checkpoints were chosen by MDPBench score, so the MDPBench numbers are likely somewhat optimistic. The other four benchmarks were not used for any choice.
- Targeted use cases for the 0.8B model: The 0.8B model is optimized for full-page layout parsing. When tasked with complex conversational VQA or open-ended JSON extraction, its smaller capacity can lead to schema deviations (scoring 36.4 on ThaiOCRBench). For multi-task workloads involving question answering or structured extraction, the 2B model should be selected.
Summary
Typhoon OCR V2 brings layout-aware document parsing to Thai in an open model. The 2B model returns each page as elements with boxes, categories and text in reading order, handles question answering and extraction, and leads the open models we evaluated on Thai benchmarks while staying close to the best on English. The 0.8B model offers most of the page-parsing accuracy at less than half the size.
The technical report has the full method, per-benchmark results and our analysis of repetition loops and reinforcement learning.
Get started with Typhoon OCR V2
-
📄 Technical report: arXiv:2611.27494
-
🤗 Models on Hugging Face:
The model cards include ready-to-run code for vLLM and Transformers, the parsing prompt, and helpers to convert the output to Markdown.
-
🔍 Playground: try Typhoon OCR V2 in your browser at the Typhoon OCR Playground.
-
📦 GGUF and MLX versions: for llama.cpp and Apple silicon, in 16-, 8- and 4-bit: 2B GGUF, 0.8B GGUF, 2B MLX 8-bit, 0.8B MLX 8-bit. The 8-bit versions score within 0.5 points of the original weights on MDPBench; the 4-bit MLX versions lose 10 or more points on Thai pages.
-
🦙 Ollama: typhoon-ocr2-2b and typhoon-ocr2-0.8b, for example
ollama run SuraponOCR/typhoon-ocr2-2b. The defaultlatesttag is 8-bit and scores about 1.7 points below the original weights on MDPBench;bf16andint4tags are also available. Each Ollama page has a Python example with the parsing prompt. -
⚙️ API: Typhoon OCR V2 is available on the Typhoon API as model
typhoon-ocr-v2, through the OpenAI-compatible endpointhttps://api.opentyphoon.ai/v1. See the API documentation. -
⚡ Faster generation: EAGLE-3 draft heads for speculative decoding in vLLM, 2B and 0.8B. With the 2B head, generation was 1.9 to 2.6 times faster in our tests.
-
💻 Python package:
pip install typhoon-ocr2(PyPI, GitHub). It turns PDFs and images into layout elements and Markdown with Typhoon OCR V2 through the Typhoon API, vLLM, Ollama or llama.cpp, and also supports Typhoon OCR 1.5. The originaltyphoon-ocrpackage keeps running Typhoon OCR 1.5. -
📊 Evaluation code: srn-source/evaluation_thai_ocr, to reproduce the results above.
Use of these models is subject to the OpenTyphoon Terms and Conditions.
