Model

GLM-5.2 (Zhipu/Z.ai)

EU sovereignEU Sovereign · 90/100

Call GLM-5.2 (Zhipu/Z.ai) through an OpenAI-compatible API hosted in Europe: licence, real per-token price, hosting jurisdiction.

€0.3024

Input — per 100k tokens

€0.924

Output — per 100k tokens

Estimate your monthly cost ↓

About this model

GLM-5.2 is a Mixture-of-Experts language model from Z.ai, published on Hugging Face in June 2026 under the MIT license. Its checkpoint holds about 753B parameters; it works with text, and its model card lists English and Chinese. Z.ai introduced it as its flagship for long-horizon tasks, on what it calls a solid 1M-token context. On Scaleway, which serves it here, the window is limited to 256k tokens during the preview stage. Several thinking-effort levels balance performance and latency, and Z.ai says its IndexShare design cuts per-token FLOPs by 2.9× at a 1M context. Z.ai reports 62.1 on SWE-bench Pro and 76.8 on MCP-Atlas. It suits long agent sessions and repository-scale coding. GLM-5.3, also in this catalogue, uses the same base model with further post-training, under a custom license.

Sources, checked on 23 September 2026: huggingface.co/zai-org/GLM-5.2 ↗ · huggingface.co/zai-org/GLM-5.3 ↗ · scaleway.com (supported models) ↗

Specifications

API model id
glm-5.2
Availability
Live
Hosting jurisdiction
EU sovereign
Served via
Scaleway
Publisher
Zhipu / Z.ai
Parameters
753B
Licence
MIT
Context window
256k

Reasoning model — thinks before answering. Omit max_tokens or allow at least ~1,000.

Open weights & AI Act facts

Factual characteristics of this model's weights — stated, not certified. Under the EU AI Act, whether a deployment is compliant depends on the model, your role and your use case.

Open weights
Weights public and freely executable
AI Act class
GPAI — general-purpose AI
Systemic risk
Not assessed by us — training compute not published, or too close to the 10²⁵ FLOP threshold to call
Data retention
None at Frontière AI; Scaleway states prompts are not stored, except requests causing errors or abuse (kept up to 2 weeks)

Frontière Verified

Our 6-criteria checklist for this model. Each criterion is assessed independently — a checkmark means we ran, recorded and passed the check; an empty circle means not confirmed yet.

✓
License verified
License checked and confirmed
✓
Provenance verified
Weights confirmed on HF, publisher verified
✓
Security analyzed
15 adversarial prompts via the gateway: injection, prompt leak, jailbreak, data extraction, harmful requests
✓
GDPR assessed
GDPR compliance assessment: retention, sub-processors
✓
Benchmarks run
Quality, latency and throughput measured through the gateway, dated per route
✓
API tested
Real call through the gateway (dated in the registry)

Compliance evidence

Provider facts for this model's serving path, as documented by Frontière AI; the retention row quotes each provider's own documentation where it exists. Dates reflect the most recent documented audit of each fact.

Last verified: 2026-08-13

Provider / operator
Scaleway Generative APIs
Country
France
Ownership / control
EU-controlled — no non-EU capital control
Jurisdiction
EU (observed serving region)
Deployment
Managed cloud inference
Data retention
None at Frontière AI; Scaleway states prompts are not stored, except requests causing errors or abuse (kept up to 2 weeks)

Frontière AI retains neither prompts nor completions from API calls; processing is structured to fit a short DPA (Art. 28 GDPR). DPA and subprocessor documentation available on request.

What its label means

This model is run by a French provider (OVHcloud or Scaleway), in data centres in France. It is not a US company, so the CLOUD Act does not reach it the way it reaches a US provider, and under GDPR a foreign court order is only enforceable in the EU through an international agreement (Article 48). That is the SecNumCloud principle — who controls the operator matters more than where the servers sit — applied as a label, not a qualification: this service is not SecNumCloud-qualified. Our gateway runs in Vercel's Paris region (a US company): your prompts pass through it without being stored.

How we draw the line: GDPR vs. the CLOUD Act →All GLM models and their jurisdiction →

Sovereignty Score — 90/100

Deterministic 0–100 score computed from the five factors below — ownership, hosting jurisdiction, cloud-provider control, data retention, deployment control. Full methodology: How Frontière AI determines sovereignty →

Operating-company ownership
40/40
Hosting jurisdiction (observed)
30/30
Cloud-provider control
10/15
Data retention
10/10
Deployment control
0/5

Effective provider assessed: scaleway.

Calling it

The API is OpenAI-compatible. Change base_url and the key, then use this model id:

client = OpenAI(
    base_url="https://getfrontiereai.eu/api/v1",
    api_key=os.environ["FRONTIERE_KEY"],
)

reply = client.chat.completions.create(
    model="glm-5.2",
    messages=[{"role": "user", "content": "Bonjour"}],
)

One key covers the whole catalog — you switch models by changing a single string.

API reference →

Pricing

The price you see is the price debited from your prepaid balance, margin and VAT included — not an infrastructure cost. No subscription: top up from €10; calls are refused once the balance reaches zero, and a call already running can take it slightly below — deducted from your next top-up.

What will it cost you?

Pick a workload or type your own token counts: the estimate uses the prices above, margin and VAT included.

Example workload

Roughly 1,000 tokens ≈ 750 English words.

No discounted cache rate on this model: every input token is billed at the input rate.

Per request

€0.0078

Per day

€7.77

Per month

€233.10

30 days

A €10 top-up covers about 1,287 requests · GLM-5.2

Where the money goes

  • Input€136.08 · 58%
  • Output€97.02 · 42%

Estimate, margin and VAT included, from the prices on this page. You are billed on the tokens the provider reports for each call, debited from a prepaid balance — no subscription.

Compare every GLM model's API price →

FAQ

Is GLM-5.2 (Zhipu/Z.ai) GDPR-compliant on Frontière AI?

It is the setup a GDPR assessment looks for: GLM-5.2 (Zhipu/Z.ai) is served by Scaleway, a French company, in data centres in France — not a US provider, so outside the CLOUD Act's direct reach. Your prompts transit through our gateway, hosted by Vercel in Paris (a US company), without being stored: Frontière AI keeps only the token counts billing requires. Compliance also depends on your use and your data processing agreement.

How much does GLM-5.2 (Zhipu/Z.ai) cost?

€0.3024 per 100,000 input tokens and €0.924 per 100,000 output tokens — margin and VAT included, that is the amount debited from your prepaid balance. No subscription: you top up from €10; calls are refused once the balance reaches zero, and a call already running can take it slightly below — deducted from your next top-up.

How do I call GLM-5.2 (Zhipu/Z.ai) from my code?

The API is OpenAI-compatible: point base_url at https://getfrontiereai.eu/api/v1, swap the key, and pass “glm-5.2” as the model field. Your SDK, scripts and tools keep working, streaming included.

Under which licence is GLM-5.2 (Zhipu/Z.ai) released?

MIT, a permissive licence. It covers the model weights published by Zhipu / Z.ai; your use through Frontière AI's API is separately governed by our own terms.

Is there any behaviour I should know about?

Reasoning model — thinks before answering. Omit max_tokens or allow at least ~1,000.

Articles about this model

Other models in the catalog

See the full catalog →

Call it in minutes

Create an account, top up €10, change two lines.

Create an account