GLM-OCR
Z.ai's GLM-OCR document model joins the catalog. It reads text, tables and formulas from page images and extracts typed fields. BYOK only.
Open GLM-OCRz-ai/glm-ocr is Z.ai's 0.9B document OCR model. A CogViT visual encoder feeds a token-downsampling connector and a GLM-0.5B decoder. It parses text, tables and formulas from page images and supports strict JSON extraction for named fields.
The model card reports 94.62 on OmniDocBench V1.5 and 1.86 parsed PDF pages per second at one concurrency. Full-page parsing uses the vendor SDK with PP-DocLayoutV3 layout analysis; the model itself handles regions. The hosted route accepts an 8,192-token window and is BYOK-only: add your own key under Dashboard → BYOK.
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({
model: anyrouter("z-ai/glm-ocr"),
messages: [{ role: "user", content: [
{ type: "text", text: "Table Recognition:" },
{ type: "image", image: pageImage },
] }],
})curl -fsSL https://anyr.dev/cli.sh | bash
anyr login
anyr claude --model "z-ai/glm-ocr"Playbooks: document parsing, vision models.
Looking for the full catalog?Muốn xem toàn bộ danh mục?想看完整目录? Browse all modelsXem tất cả model浏览全部模型.