Model reference · open weights

OpenThai2.1-OCR-Text-20261118

LLMs iapp Image→text 1 build Open weights 3k dl/mo

OpenThai2.1-OCR-Text-20261118 is an open-weight language model from iapp. OpenThai2.1-OCR-Text-20261118 (BF16) weighs 2 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • OpenThai2.1-OCR-Text-20261118 is an image-to-text model developed by iApp for reading Thai and English printed text.
  • It runs on CPU using ONNX models and processes a dense A4 page in about 0.5 CPU-seconds.
  • The model is released under the Apache 2.0 license.

Summary of the iapp/OpenThai2.1-OCR-Text-20261118 model card, 2026-11-19

What it is

Released byiapp
Released2026-10-02
VRAM2 MB for the weights

What it runs on

Memory and cards for OpenThai2.1-OCR-Text-20261118 (BF16)

2 MBweights, file size
762 MBruntime overhead, at least

How much memory each request adds isn't estimated yet for this architecture. The weights need at least the cards below, plus room for the context.

CardWeights alone
RTX 3060 12 GBfits
RTX 4060 Ti 16 GBfits
RTX 3090 24 GBfits
RTX 4090 24 GBfits
RTX 5090 32 GBfits
L40S 48 GBfits
A100 80 GBfits
H100 80 GBfits
RTX PRO 6000 Blackwell 96 GBfits
DGX Spark (GB10) 128 GB unifiedfits
H200 141 GBfits
B200 180 GBfits

From the model card

What iapp says about OpenThai2.1-OCR-Text-20261118

Read the model card

OpenThai2.1-OCR-Text-20261118, version 2.1.4 (18 November 2026). This repository was named OpenThai2.0-OCR-Text; the old name redirects here. It keeps v2.0.0's model files with a new runtime and, since 2.1.2, a second recognizer for loopless Thai fonts: it keeps the tone marks that float above the letters in old books, reads two- and three-column pages column by column, reads loopless fonts (Kanit, Prompt, Sukhumvit Set) without Latin look-alikes, keeps single-digit and single-letter table cells, and writes decimal points in amounts. v2.0.0 stays available with revision="v2.0.0"; pin revision="v2.1.4" to keep this version.

Fast Thai + English printed-text OCR that runs on a CPU. It is the engine behind iApp Document OCR v3.0, released as open weights with its runtime, from OpenThai (formerly OpenThaiGPT). Developed by iApp, launched with AIEAT.

  • Detector: PP-OCRv6-tiny (1.8 MB).
  • Recognizer: a Thai CTC line recognizer trained by iApp (2.4 MB).
  • Runtime: ONNX models on OpenVINO (or ONNX Runtime), CPU only. About 0.5 CPU-seconds per dense A4 page, roughly 950 pages a minute on 8 Xeon cores.

It reads a page image and returns its text in reading order, with a box and a confidence for every line. It does not write tables or Markdown; for that, see OpenThai2.1-OCR-Markdown-20261118.

Step-by-step guide for Windows, Mac and Linux (installing Python, reading pictures and PDFs, a ready script): English · ภาษาไทย · 中文

What is new in v2.1

Thai old books keep their tone marks. In letterpress books of the 1930s the tone marks and upper vowels float well above the consonants. The detector boxed each line without them and found the marks as separate small boxes, which were then dropped as junk, so the marks were never read. Black-and-white preprocessing could not bring them back. An outside tester found this on page 324 of a 1935 book (ตำหรับสายเยาวภา, archive.org unset00002427): v2.0.0 lost 128 of its 159 tone marks.

v2.1 attaches such mark boxes to their own line, grows the line's crop to take them in, and reads the line again:

Testv2.0.0v2.1
The tester's page 324: character error rate21.5 %5.9 %
Page 324: tone marks lost, of 15912823
Page 324, the tester's six versions (original and five black-and-white treatments): error rate20.9–21.5 %5.2–6.2 %
The whole 416-page book: words found in the Thai dictionary86.5 %93.2 %
Old books (Wikisource, 200 test pages): accuracy77.178.8

A re-read never changes a digit, and on pages whose type does not float its marks it may change nothing but the marks, so receipts and tax IDs keep their numbers (400 synthetic receipt pages: no change on average; 600 real NECTEC receipts: field recall unchanged). All 22 robustness conditions still pass. Old-book pages take about 15–30 % longer, because their lines are read twice.

Reading order: v2.1 also reads two- and three-column pages column by column, including pages with a title or a footer across the columns. ThaiOCRBench full pages 82.0 → 83.8, SEA-DocBench Thai 54.1 → 55.5.

2.1.1 (15 November 2026): lists keep their row order. 2.1.0 sometimes took a list for two text columns. A Royal Gazette committee list ("๑. นาย… | นายกสมาคม") came out with every name first and every position after, so Royal Gazette fell from 96.3 to 96.1. 2.1.1 reads a gap as a list when the lines on both sides start alike: names, positions, "label : value", or numbers. Lists are then read row by row, and prose columns are still read column by column. Royal Gazette is back to 96.3; on the whole benchmark only the two affected pages changed.

2.1.2 (16 November 2026): loopless Thai fonts. Modern loopless faces (Kanit, Prompt, Sukhumvit Set) were sometimes read as Latin look-alikes: บ/ป as U, ร as S, ท as n, so "และผลกระทบ" came out as "lละพลNSะทU". A recognizer retrained on loopless fonts fixed that, but it read court scans worse. So 2.1.2 keeps the original recognizer and adds a second one (rec2.onnx, the same network trained with loopless fonts as well). A line is read again with it only when its first reading has Latin letters inside a Thai word, and the second reading is kept only if it has fewer of them. Lines without that sign, such as almost every court line, are never read twice.

Test2.1.12.1.2
Stray Latin letters, 12 pages in 4 fonts never trained on (Noto Sans/Serif Thai, Noto Sans Thai Looped, Anuphan)5811
Character error rate on those pages0.58 %0.33 %
Stray Latin letters, Sukhumvit Set at 40 / 26 / 32 px scan14 / 20 / 51 / 2 / 0
English and Thai+English lines, error rate (fonts never trained on / seen)3.06 / 3.19 %2.58 / 2.54 %
ThaiOCRBench full pages, accuracy83.884.1
12-set printed average, accuracy88.288.3

Court judgments go from 96.88 to 96.84: margin date stamps that 2.1.1 read as "12 ก.H. 2560" now read "12 ก.ค. 2560" and are kept, and the test's reference text has no stamps. The 1935 book, receipts (field recall slightly up), Royal Gazette, budget documents and every other set are unchanged; all 22 robustness conditions pass. Not fixed: the sara am (ำ) of Thonburi at large sizes, which involves no Latin letters.

2.1.3 (18 November 2026): single-digit table cells. Users reported that a lone digit in a table cell disappeared: "กาแฟ 2 120.00" came out as "กาแฟ 120.00". The line filter drops every one-character line, because stamps and specks often read as a single character. 2.1.3 keeps a line made only of digits (Arabic or Thai) when its box is at least 0.62 of the page's normal line height. Real table digits measure 0.65–1.0

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms