GLM 5.2
inworld/models/GLM-5.2GLM 5.2 is a reasoning model by Z.ai with function calling, structured output — designed for complex, multi-step problem solving where accuracy matters more than speed. It supports a 1M token context window with up to 131K tokens of output. Priced at $1.2 per million input tokens and $4.1 per million output tokens. Access GLM 5.2 through Inworld LLM Inference with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.
- Input
- $1.20
- Output
- $4.10
- Cache read
- $0.20
- Context
- 1M
- Max output
- 131.1K
curl --fail-with-body https://api.inworld.ai/v1/chat/completions \
-H "Authorization: Basic $INWORLD_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "inworld/models/GLM-5.2",
"messages": [{"role": "user", "content": "Hello"}],
"stream": true
}'Pricing and providers
Access GLM 5.2 through Inworld LLM Inference or speech to speech via Inworld. By using the providers below you agree to their terms, listed under each provider's name in the Legal section.
| Modalities | |||||||
|---|---|---|---|---|---|---|---|
InworldThis pageinworld/models/GLM-5.2 | $1.20 | $4.10 | $0.20 | — | 1M | 131.1K | Text→Text |
Start building with GLM 5.2
Access GLM 5.2 and every other model through LLM Inference or speech to speech. Create a free account and start in minutes.