Most AI tasks no longer need a frontier model Read launch post

GLM‑OCR

An open model built to read documents, such as receipts and handwritten notes from a photo. zai-org/GLM-OCR

  • Accuracy

    73.8%

    olmOCR-Bench, checks passed

  • Time per request

    Not timed one request at a time

  • Serverless price

    $0.25

    per 1,000 images

  • Read receipts and handwriting 93% cheaper than Mistral OCR 4.1

    71.0%

    Photos read correctly · 372 photos

    $0.25

    Cost per 1,000 photos

    See the comparison on OCR

Call it

from pathlib import Path
from sie_sdk import SIEClient
​
client = SIEClient(api_key="API keysk-sie-…")
​
image = {"data": Path(imagereceipt.jpgbrowse).read_bytes(), "format": "jpeg"}
result = client.extract(
"modelzai-org/GLM-OCR",
{"images": [image]},
)
print(result["entities"][0]["text"])
import { readFile } from 'node:fs/promises';
import { SIEClient } from '@superlinked/sie-sdk';

const client = new SIEClient(undefined, { apiKey: 'sk-sie-…' });

const image = await readFile("receipt.jpg");
const result = await client.extract(
  'zai-org/GLM-OCR',
  { images: [image] },
  { labels: [] },
);
console.log(result.entities[0].text);
images_bytes=$(base64 < 'receipt.jpg' | tr -d '\n')
curl https://api.superlinked.com/v1/extract/zai-org%2FGLM-OCR \
  -H "Authorization: Bearer sk-sie-…" \
  -H "Content-Type: application/json" \
  -d "{\"items\":[{\"images\":[{\"data\":\"$images_bytes\",\"format\":\"jpeg\"}]}]}"
Build the "OCR" capability into my app using the Superlinked Inference Engine (SIE).

Context
- SIE is an OpenAI-style inference API. Python SDK: `from sie_sdk import SIEClient`; TypeScript: `@superlinked/sie-sdk`.
- Base URL: https://api.superlinked.com (or my regional endpoint). Auth: Bearer key from env `SIE_API_KEY` (never hard-code it).
- Model: zai-org/GLM-OCR (SIE primitive: /extract). Keep the model id configurable.

Task
- Input: an uploaded image containing text.
- Behaviour: return the text visible in the image
- Call the selected SIE primitive once per request and map the response into your domain type.

Deliverables
- A typed client wrapper, an application-level function for this task, error handling for timeouts/empty input, and unit tests with a stubbed client.
- Wire it into my existing stack (ask me which framework if unclear) and add a short usage example.
Output
Source receipt.jpg
source · receipt.jpg

2 Ayam Bakar 55,000

2 Nasi Putih 20,000

1 Nila Bakar/Goreng 27,500

1 Sop Gurame 87,000

1 Teh Poci 25,000

SUBTOTAL 214,500

Service 12,870

Pajak Restoran 22,737

TOTAL 250,107

Next to the other document models

Next to the other document models
Model olmOCR-Bench, checks passed Time per request Serverless price Size
LightOnOCR-3 lightonai Not measured Not timed $0.14 in · $1.37 out per 1M tokens 4.5B
LightOnOCR 2 1B lightonai 77.7% Not timed $2.00 per 1,000 pages 1.0B
MinerU2.5 Pro 2604 1.2B opendatalab 59.1% Not timed Run in your cloud 1.2B
PaddleOCR VL 1.5 PaddlePaddle 51.7% Not timed Run in your cloud 959M
All 6 document models

Measured on public datasets

Measured on public datasets
Dataset Accuracy
olmOCR-Bench Measured internally 73.8%

Facts

Size
1.3B parameters
License
MIT
Reads
Image
Endpoint
extract
Evaluation
Accuracy
Run on SIE against the public dataset named in each figure
Prices
Serverless list prices, effective 10 Nov 2026

Run GLM‑OCR on Serverless or in your own cloud

Native Inference

Kubernetes in your own cloud, backed by our engineers.

  • Terraform modules for your cloud
  • Apache-2.0, same engine as Serverless
  • GPU workers scale to zero between jobs
  • Separate worker pools for each tenant
Agent prompt Deploy SIE to our AWS account with the superlinked/sie/aws Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Google Cloud project with the superlinked/sie/google Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Azure subscription with the superlinked/sie/azure Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Alibaba Cloud account with the superlinked/sie/alicloud Terraform module. Docs: superlinked.com/docs/deployment.

SIE Local

The open-source server on your own machine.

  • NVIDIA GPU
  • One container, no cluster
  • Process your data fully offline
  • Same SDK and model IDs as Serverless
docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-sglang-vision-extract

Talk to us

Tell us about your use case and we'll get back to you shortly.

Apply for an inference grant

Free capacity on our hosted cluster for selected projects. Tell us what you run and we reply by email.