Get started
Z AI

Glm 4.7 Flash

Glm 4.7 Flash is a large language model by Z AI. Priced at $0.06 per million input tokens and $0.4 per million output tokens, it is one of the most cost-efficient options in its class. Access Glm 4.7 Flash through Inworld Router with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.

Step 1 — Create Router

curl --location 'https://api.inworld.ai/router/v1/routers' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "compare-frontier-models", "defaultRoute": { "route_id": "default", "variants": [ { "variant": { "variant_id": "deepinfra/glm-4-7-flash-a", "model_id": "deepinfra/glm-4-7-flash" }, "weight": 33 }, { "variant": { "variant_id": "deepinfra/glm-4-7-b", "model_id": "deepinfra/glm-4-7" }, "weight": 33 }, { "variant": { "variant_id": "fireworks/glm-5-c", "model_id": "fireworks/glm-5" }, "weight": 34 } ] } }'

Step 2 — Chat Completion

curl --location 'https://api.inworld.ai/v1/chat/completions' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "model": "inworld/compare-frontier-models", "messages": [{"role": "user", "content": "Hello!"}] }'

Glm 4.7 Flash pricing and providers

Access Glm 4.7 Flash through DeepInfra via Inworld Router or Realtime API. By using the AI provider(s) below you acknowledge you reviewed and agree to their terms listed in the Legal section under the AI provider's name.
CapabilitiesInput modalitiesOutput modalities
DeepInfraDeepInfra$0.06$0.40

Other Z AI models available through Inworld

Compare Glm 4.7 Flash with other Z AI models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
Glm 4.7$0.40$1.75
Glm 5$0.80$2.56
Glm 5.1$1.40$4.40
Zai Org/GLM 4.6$0.43$1.74
Zai Org/GLM 4.6V$0.30$0.90

Start building with Glm 4.7 Flash

Access Glm 4.7 Flash and every other model through Inworld Router or Realtime API. Create your free account and start routing in minutes.
Copyright © 2021-2026 Inworld AI
Glm 4.7 Flash by Z AI — Pricing, Specs & API Access | Inworld