by zhipu
GLM-OCR is Z.ai's lightweight (about 0.9B) open-weight multimodal OCR model for complex document understanding: text, formula and table recognition, plus information extraction into a JSON template given in the prompt. Built on the GLM-V encoder-decoder architecture with a CogViT visual encoder and a GLM-0.5B decoder.
Use GLM-OCR with a simple API call. OpenAI-compatible endpoint, EU data residency guaranteed.
const response = await fetch("https://api.eurouter.info/api/v1/chat/completions", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${process.env.EUROUTER_API_KEY}`,
},
body: JSON.stringify({
model: "zhipu/glm-ocr",
messages: [
{ role: "user", content: "Hello!" }
],
}),
});
const data = await response.json();
console.log(data.choices[0].message.content);You need AI that won’t create compliance headaches. Your data stays in the EU, GDPR is enforced by default, and every request is routed for the best balance of cost, latency, and uptime, reducing risk while improving performance.