Z AI

Glm 5

Glm 5 is a Z AI model. It is priced at $1 per million input tokens and $3.2 per million output tokens. Access the Glm 5 API through Inworld Router or Realtime API.
curl --location 'https://api.inworld.ai/router/v1/routers' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic <your-api-key>' \ --data '{ "name": "compare-frontier-models", "default_route": { "route_id": "default", "variants": [ { "variant": {
"variant_id": "fireworks", "model_id": "fireworks/glm-5"
}, "weight": 33 }, { "variant": { "variant_id": "deepinfra", "model_id": "deepinfra/glm-5" }, "weight": 33 }, { "variant": { "variant_id": "deepinfra", "model_id": "deepinfra/glm-4-7" }, "weight": 34 } ] } }'

Inference providers

Access Glm 5 through Inworld Router or Realtime API via 2 inference providers. Copy provider slugs below to control routing preferences.
CapabilitiesInput modalitiesOutput modalities
FireworksFireworks$1.00$3.20
DeepInfraDeepInfra$0.80$2.56

More models by Z AI

Other Z AI models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
Glm 4.7$0.40$1.75
Glm 4.7 Flash$0.06$0.40
Zai Org/GLM 4.6$0.43$1.74
Zai Org/GLM 4.6V$0.30$0.90

Start building with Glm 5

Access Glm 5 and every other model through Inworld Router or Realtime API. Create your free account and start routing in minutes.
Copyright © 2021-2026 Inworld AI