Back to Models

GLM 5

by zhipu

Chat

Description

GLM-5 is Zhipu AI's flagship language model with strong coding, reasoning, and function calling capabilities. Features 203K context window and enhanced multilingual performance.

Providers

Pricing

Input$1.00 /1M tokens
Output$3.20 /1M tokens
Get Your API Key

Specifications

Context203K tokens
Parameters
Licenseglm-5
Released

Capabilities

ReasoningToolsJSON ModeStreaming

EU-Compliant API Access

Use GLM 5 with a simple API call. OpenAI-compatible endpoint, EU data residency guaranteed.

JavaScript
const response = await fetch("https://api.eurouter.ai/api/v1/chat/completions", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "Authorization": `Bearer ${process.env.EUROUTER_API_KEY}`,
  },
  body: JSON.stringify({
    model: "glm-5",
    messages: [
      { role: "user", content: "Hello!" }
    ],
  }),
});

const data = await response.json();
console.log(data.choices[0].message.content);

More from zhipu

Explore more

Integrate AI without GDPR risk.

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.

Get Your API Key
GDPR by default
EU data residency
Smart routing
Claim €15 free credits·300 left
Sign up free →