---
title: "Try GLM-5.1, the new frontier of open intelligence, on Modal"
description: "Modal is offering a free, OpenAI API-compatible endpoint for Z.ai's MIT-licensed GLM-5 (since upgraded to GLM-5.1) through the end of April, limited to one concurrent request per user."
url: "https://swe.quest/articles/try-glm-5-1-the-new-frontier-of-open-intelligence-on-modal-a82f7ab29ce4cb24"
canonical: "https://modal.com/blog/try-glm-5"
source: "Modal"
published: "2026-02-11"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["inference","llms","ai-coding","ai-agents"]
---

# Try GLM-5.1, the new frontier of open intelligence, on Modal

A post on [Modal](https://swe.quest/sources/modal.md), published 2026-02-11, 6 min read, Announcement. Original: [https://modal.com/blog/try-glm-5](https://modal.com/blog/try-glm-5)

## Summary

Modal is offering a free, OpenAI API-compatible endpoint for Z.ai's MIT-licensed GLM-5 (since upgraded to GLM-5.1) through the end of April, limited to one concurrent request per user. At roughly 700 GB in FP8, the model needs multiple GPUs. Modal serves it with SGLang on a single 8×B200 node, using tensor parallelism with DeepGemm kernels for the MoE layers and data parallelism with FlashMLA for the DeepSeek-Sparse-Attention-style attention layers, and reaches 30–75 tokens/s per user. Configuration snippets cover hooking the endpoint into OpenCode, OpenClaw, Claude Code (via a LiteLLM proxy) and the Vercel AI SDK.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- OpenAI-compatible APIs ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))
- LLM inference basics ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))

## Keywords

GLM-5, GLM-5.1, Modal, SGLang, OpenCode, OpenClaw, Vercel AI SDK, DeepGemm

## Related posts

- [GLM-5.2: Built for Long-Horizon Tasks](https://swe.quest/articles/glm-5-2-built-for-long-horizon-tasks-22484eb2dd0aab06.md): Hugging Face · 2026-06-17 · Hard · 13 min read · LLMs, Inference & serving, Model training, AI for coding, Evaluation
  GLM-5.2 is Z.ai's MIT-licensed flagship model for long-horizon coding-agent work, with a 1M-token context and selectable thinking effort levels.
- [Inkling by Thinking Machines now available on Modal](https://swe.quest/articles/inkling-by-thinking-machines-now-available-on-modal-50e08c4be27f183d.md): Modal · 2026-07-15 · Hard · 3 min read · Inference & serving, LLMs, Performance engineering
  Thinking Machines' Inkling, a 975B-parameter (41B active) mixture-of-experts multimodal model with a 1M token context window, launches on Modal as a token-priced, OpenAI-compatible managed endpoint.
- [Open Models have crossed a threshold](https://swe.quest/articles/open-models-have-crossed-a-threshold-c54376af892bf600.md): LangChain · 2026-10-13 · Medium · 7 min read · Evaluation, LLMs, AI agents, Cost optimization
  Open-weight models GLM-5 and MiniMax M2.7 now score close to closed frontier models on core agent tasks in LangChain's Deep Agents eval suite.
- [Welcome Gemma 4: Frontier multimodal intelligence on device](https://swe.quest/articles/welcome-gemma-4-frontier-multimodal-intelligence-on-device-0f273ea2e465623b.md): Hugging Face · 2026-04-02 · Medium · 36 min read · LLMs, Inference & serving, Computer vision, Model training
  Google DeepMind's Gemma 4 is an Apache 2-licensed multimodal model family in five sizes: E2B, E4B, a 12B encoder-free Unified model, a 31B dense model and a 26B MoE with 4B active parameters.
- [Run fast, private agents on-device with LFM2.5-24B-A2B](https://swe.quest/articles/run-fast-private-agents-on-device-with-lfm2-5-24b-a2b-52b7fe0729873bfd.md): Hugging Face · 2026-10-13 · Medium · 7 min read · LLMs, AI agents, Model training, Inference & serving, Evaluation
  LFM2.5-24B-A2B is an open-weight 24B-parameter MoE reasoning model with 2B active parameters per token, aimed at running tool-using agents on local hardware.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
