← Models
vercel-ai-gateway

GLM 5.1

zai/glm-5.1
Reasoning

Model details

Model
zai/glm-5.1
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text
Reasoning
Yes
Context window
202,800
Max tokens
64,000

Pricing

USD per million tokens.

Input
$1.4
Output
$4.4
Cache read
$0.26
Cache write
$0

A reference estimate. Provider pricing and context tiers may vary.

Session cost calculator

Estimate the model requests made during an agent session.

96%
Estimated session$0.35
Uncached input
$0.11
Cache reads
$0.17
Cache writes
$0.0000
Output
$0.07
Without caching
$1.08

25 model requests

The first request starts cold unless marked otherwise. Output is billed separately from context growth. Providers differ in eligibility, context tiers, rounding, and retention.

Compatibility flags

allowEmptySignature
Yes