
PaddleOCR-VL 1.6
PaddleOCR-VL 1.6 reads documents in pictures in many languages: it writes out the text of a page, its tables…
Fine-tunableGLM_OCRGLM-OCR reads documents in pictures: it writes out the text of a page, tables as HTML and formulas as LaTeX, and can pull named fields such as an invoice number or a total out of a page as JSON.

| Name | Type | Required | Default | Details |
|---|---|---|---|---|
image | file | Yes | — | A page or a part of one: JPEG, PNG or WebP, at most 20 MB and 40 megapixels. Max 2048 characters · image/jpeg, png, webp |
schema | text | No | — | For task extract: a JSON object of the fields to find, such as {"invoice_number": "", "total": ""}; nested objects are allowed. Max 4096 characters |
max_new_tokens | integer | No | 2048 | The most tokens the text may have; a dense page is 1,000 to 3,000. 1–4096 |
task | text | No | text | What to read the picture as: text, formula, table, extract. The default, text, is the plain text. Allowed: text, formula, table, extract |
Output. The text of the picture as the model writes it: plain text, tables as HTML, formulas as LaTeX, or for extract the JSON of the fields asked for.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=GLM_OCR" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.png",
"max_new_tokens": 2048,
"task": "text"
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"GLM_OCR",
{
"image": "https://example.com/input.png",
"max_new_tokens": 2048,
"task": "text"
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune GLM-OCR on your own data and run the tuned model through the same API. Dataset: A JSONL manifest plus its pictures, or one ZIP with both: one {"file", "text", "task", "schema"} per line, 4 to 5,000 lines, 4 GB in all. More rules: Good to know, in the README.
The steps are in the docs.
Price per 1M tokens: 1748 credits ($17.48). The price is shown again before every run; all prices are on the pricing page.

PaddleOCR-VL 1.6 reads documents in pictures in many languages: it writes out the text of a page, its tables…
Fine-tunable
One small vision model that captions images, reads text, boxes objects and finds things named by a phrase.
Fine-tunable
EasyOCR finds the lines of text in a photo or a scan and reads each one, returning every line with its box and its…
Fine-tunable
Qwen3-VL 8B Instruct answers questions about up to four pictures: it describes photos, reads printed and handwritten…
Fine-tunable
Describes a photo in a sentence or answers a question about it in plain English.
Fine-tunable
IBM Granite Vision 3.3 2B reads documents in pictures: it answers questions about tables, charts, infographics, forms…
Fine-tunable