GLM 5.2 Fast via Wafer is now available on AI Gateway .
Based on our own benchmarking across small-context, large-context, and tool-call scenarios, Wafer delivers a 2x higher throughput than other providers serving GLM-5.2 on serverless, leading on decode and end-to-end speed for sustained generation in the small- and large-context cases.
In our testing, GLM 5.2 Fast on Wafer measured:
Small context: 170+ tok/s
Large context: 200+ tok/s
To use GLM 5.2 Fast, set model to zai/glm-5.2-fast in the AI SDK :
import { streamText } from 'ai' ;
const result = streamText ( {
model : 'zai/glm-5.2-fast' ,
prompt : 'Add error recovery to the data ingestion pipeline.' ,
} ) ;
AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime.…