Model garden Router · warm Dedicated · on request

GLM 5.1

Instantly via the EU router or as a dedicated GPU deployment. Data stays in Europe.

GLM-5.1 is our next-generation flagship model for agentic engineering, with significantly stronger coding capabilities than its predecessor. It achieves state-of-the-art performance on SWE-Bench Pro and leads GLM-5 by a wide margin on NL2Repo (repo generation) and Terminal-Bench...

zai-org/GLM-5.1
text->text · zai-org · sovereign EU
Runs on EU infrastructure operated by European companies; US marketplace capacity is never part of this chain. Full chain
754B
Parameters
203K
Context window
1810GB
Minimum VRAM
POST /api/v1/chat/completions 200 OK

Specifications

Parameters 754B
Context window 202,752 tokens
Minimum VRAM 1810 GB
Architecture GlmMoeDsaForCausalLM (vLLM)
License mit
Modality text->text
Released April 2026
Publisher zai-org ↗

Pricing

Shared router · per token
€1.48
Input (per 1M tokens)
€4.66
Output (per 1M tokens)
€0.40 per million cached input tokens
Dedicated GPU · per hour
On request
Dedicated deployment, from 1810 GB of VRAM. Billed per GPU-hour.

Shared EU router, pay-per-token, scale-to-zero. Dedicated GPU deployments are billed hourly, see pricing.

Bench index

Bench is our quality index for every model, 0 to 100. It rests on public measurements (Epoch AI with about 40 benchmarks, LiveBench, LMArena and more) and is refreshed every morning. Where nobody measures, it shows an estimate with a range.

74.8 / 100 · Measured

Measured by Epoch AI across 12 benchmarks, with a range.

Range 72.4 to 76.8 · Rank 56 of 274 at Epoch AI

Sources: Epoch AI ↗ · LiveBench ↗ · LMArena ↗ · Refreshed daily, last on 08-10-2026

LiveBench · 70.2
Reasoning 72.5
Coding 75.4
Agentic coding 55.0
Mathematics 84.9
Data analysis 63.2
Language 71.8
Instruction following 68.5
Every benchmark (12)
OTIS Mock AIME 2024-2025 93.3
GPQA diamond 86.5
SWE-Bench verified 74.2
WeirdML 57.1
SimpleBench 46.1
APEX-Agents 40.9
FrontierMath-Tiers-1-3-v2-Private 36.8
SimpleQA Verified 34.0
ProofBench 22.2
FrontierMath-Tier-4-2025-07-01-Private 20.8
ExploitBench 18.1
Chess Puzzles 14.8
LiveBench · All tasks
Reasoning
theory of mind 78.9
zebra puzzle 49.3
spatial 94.0
logic with navigation 68.0
Coding
code generation 74.7
code completion 76.1
Agentic coding
javascript 55.0
typescript 45.0
python 65.0
Mathematics
AMPS Hard 97.0
integrals with game 60.0
math comp 94.1
olympiad 88.5
Data analysis
consecutive events 53.9
tablejoin 49.5
tablereformat 86.3
Language
connections 79.0
plot unscrambling 60.3
typos 76.0
Instruction following
paraphrase 65.9
simplify 68.6
story generation 69.7
summarize 69.7

Call it now

Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.

curl https://hostyourai.com/api/v1/chat/completions \
  -H "Authorization: Bearer hyai-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/GLM-5.1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Frequently asked questions

Can I run GLM 5.1 in the EU?

Yes. HostYourAI runs GLM 5.1 on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.

Is hosting GLM 5.1 GDPR-compliant?

Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.

How much does GLM 5.1 cost?

Via the shared EU router you pay €1.48 per million input tokens and €4.66 per million output tokens, with no fixed costs. For high volume or isolation you can also run GLM 5.1 as a dedicated hourly GPU instance.

Is the API OpenAI-compatible?

Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.

More models from Z.AI

GLM 5.3 Flash

We introduce GLM-5.3-Flash, the first natively multimodal model in the GLM-5 series. With 320B total parameters and just 18B active parameters, it outperforms GLM-5.2 across benchmarks and real-world workloads at one-tenth the price, while approaching Claude Opus 4.8 on coding and agentic benchmarks.

321B 1M context View model →
GLM 5.3

GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks:

753B 1M context View model →
GLM 5.2

We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context. GLM-5.2's new capabilities include: - Solid 1M Context: A solid 1M-token context that stably sustains long-horizon work - Advanced Coding with Flexible Effort: Stronger coding capabilities with multiple thinking effort levels to balance performance and latency - Improved Architecture: We propose IndexShare, which reuses the same indexer across every fou

753B 1M context View model →
GLM 5

We are launching GLM-5, targeting complex systems engineering and long-horizon agentic tasks. Scaling is still one of the most important ways to improve the intelligence efficiency of Artificial General Intelligence (AGI). Compared to GLM-4.5, GLM-5 scales from 355B parameters (32B active) to 744B parameters (40B active), and increases pre-training data from 23T to 28.5T tokens. GLM-5 also integrates DeepSeek Sparse Attention (DSA), largely reducing deployment cost while preserving long-context capacity.

754B 203K context View model →
GLM 4.7 Flash

GLM-4.7-Flash is a 30B-A3B MoE model. As the strongest model in the 30B class, GLM-4.7-Flash offers a new option for lightweight deployment that balances performance and efficiency.

31B 203K context View model →
GLM Image

GLM-Image is an image generation model adopts a hybrid autoregressive + diffusion decoder architecture. In general image generation quality, GLM‑Image aligns with mainstream latent diffusion approaches, but it shows significant advantages in text-rendering and knowledge‑intensive generation scenarios. It performs especially well in tasks requiring precise semantic understanding and complex information expression, while maintaining strong capabilities in high‑fidelity and fine‑grained detail generation. In addition to text‑to‑image generation, GLM‑Image also supports a rich set of image‑to‑imag

6.9B View model →

Try GLM 5.1 for free

Creating an account takes a minute. Test GLM 5.1 straight away in the playground.

Start for free