Model family
GLM on FlexAI.Every variant. One key
GLM is Zhipu AI's open model line on FlexAI. One variant runs serverless on the OpenAI-compatible API, with 6 more available as dedicated endpoints, spanning chat, vision. One API key serves every variant.
Variants
Every served variant in the family, with live serverless pricing.
Serverless · pay per token
| Model | Context | Price | Status |
|---|---|---|---|
| GLM 4.5 Air | 128K | $0.125 / $0.85 per M | Serving |
Which variant for what
Pick by the role you're filling. Same key for all of them.
Call the flagship
OpenAI-compatible. Swap the model id for any variant above.
curl https://tokens.flex.ai/v1/chat/completions \
-H "Authorization: Bearer $FLEXAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "GLM-4.5-Air-FP8",
"messages": [{"role": "user", "content": "Hello from FlexAI"}]
}'Run GLM on one API key
Every GLM variant, serverless and dedicated, behind one OpenAI-compatible key.
$10/month in free credits for your first 3 months