Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Modal 6 min read Announcement mediumAdept

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

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.

Related posts

  • GLM-5.2: Built for Long-Horizon Tasks

    Hugging Face hardMaster

    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. It scores 81.0 on Terminal-Bench 2.1 and lands near Claude Opus 4.8 on FrontierSWE. Architecturally, IndexShare reuses one sparse-attention indexer across every four DSA layers, cutting per-token FLOPs 2.9× at 1M context. An improved MTP draft layer, using shared indices and KV, rejection sampling and an end-to-end TV loss, raises speculative-decoding acceptance length by 20%. Post-training switches from group-wise optimization to critic-based PPO, which handles compacted sub-traces, and uses slime for agentic RL plus a two-stage rule-and-LLM-judge guard that blocks reward-hacking tool calls online without aborting rollouts.

  • Inkling by Thinking Machines now available on Modal

    Modal hardMaster

    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. Inkling uses a local attention layout where five of every six attention layers are sliding-window. Modal pairs it with a custom DFlash block-diffusion speculator that drafts whole token blocks in one parallel pass, uses only sliding-window attention, and switches to causal layers so it can run on optimized kernels like trtllm. On 8x B200s, Modal reports 250 tokens/s per user at 2.5M TPM per GPU, 67% faster interactivity than Inkling's built-in MTP speculative path at matched throughput.

  • Open Models have crossed a threshold

    LangChain mediumAdept

    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. GLM-5 reached 0.64 correctness, MiniMax M2.7 0.57, and Claude Opus 4.6 0.68, across 138 tests covering file ops, tool use, retrieval, memory and summarization. The open models are far cheaper and faster: about $12/day versus $250/day for 10M output tokens, and 0.65s versus 2.56s latency. The eval metrics are defined (correctness, solve rate, step and tool-call ratios), and switching Deep Agents to an open model is a one-line change, with the harness adapting context management and model identity to each model.

  • Welcome Gemma 4: Frontier multimodal intelligence on device

    Hugging Face mediumAdept

    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. The models take text, image, video and in some sizes audio, with context windows up to 256K. The architecture combines alternating sliding-window and global attention, dual RoPE configurations, Per-Layer Embeddings that feed a small per-layer residual signal, and a shared KV cache in which the final layers reuse earlier layers' key/value tensors to save memory and compute. Practical guidance covers modality ordering in prompts (images before text, audio after), native JSON bounding-box output on a 1000x1000 grid, and running or fine-tuning the models with transformers, llama.cpp, MLX, transformers.js, Mistral.rs and TRL.

  • Run fast, private agents on-device with LFM2.5-24B-A2B

    Hugging Face mediumAdept

    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. It keeps LFM2's 40-layer hybrid of gated short convolutions and GQA with 64 experts and top-4 routing. The context window grows from 32K to 131K tokens, the vocabulary doubles to 128K, pre-training scales to ~33T tokens, and post-training runs SFT, teacher specialization, two on-policy distillation stages and agentic RL inside harnesses like OpenClaw and Hermes Agent. It leads larger MoEs such as Qwen3.6-35B-A3B on most tool-use and instruction-following benchmarks but trails on knowledge and coding tasks like SWE-Bench Verified. It decodes 184 tok/s on an M5 Max and up to 21K tok/s on a B300, and ships with transformers code and an OpenAI-compatible harness configuration.

The quest for software engineering knowledge.

Look:
Layout: