whichllm — Browse and compare AI model specs and pricing

LLM Gateway

GLM-5.1 model ID, context window & pricing

glm

Quick facts

Model ID glm-5.1
Source LLM Gateway
Context Window 200000
Pricing $6.00 input / $24.00 output per 1M tokens
Capabilities tool calling, reasoning, structured output, temperature control, open weights

Model overview

GLM-5.1 is an AI model from LLM Gateway with 200000 token context window and text input support.

Published pricing is $6.00 input and $24.00 output per 1M tokens.

  • Workloads that use text inputs with text outputs.
  • Agent and tool workflows that need function calling.
  • Reasoning-heavy prompts where stepwise problem solving matters.
Model ID glm-5.1
Provider LLM Gateway
Family glm
Status -
Knowledge Cutoff -
Release Date 2026-03-27
Input Modalities text
Output Modalities text
Context Window 200000
Input Limit -
Output Limit 131072
Tool Calling Yes
Reasoning Yes
Structured Output Yes
Temperature Control Yes
Open Weights Yes
Input Cost / 1M tokens $6.00
Output Cost / 1M tokens $24.00
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens $1.30
Cache Write Cost / 1M tokens $0.00