Last refreshed 2026-12-02. Next refresh: weekly.
Why use GLM-5.4 on FriendliAI Serverless Endpoints?
FriendliAI Serverless Endpoints offers GLM-5.4 with pay-as-you-go pricing at $1.40/1M input tokens. FriendliAI empowers organizations to maximize the potential of their generative AI models with ease and cost-efficiency.
Compare GLM-5.4 across 9 providers to find the best fit for your use caseInput / 1M
$1.40
Output / 1M
$4.40
Cache
read $0.26
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: zai-org/GLM-5.4Model ID
zai-org/GLM-5.4Request example
Curated snippets for this provider are not sourced yet. Use FriendliAI Serverless Endpoints documentation with model ID
zai-org/GLM-5.4.Gotchas
- Use provider model ID "zai-org/GLM-5.4", not the LLMReference slug "glm-5.4".
Compare GLM-5.4 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Z.ai | $1.40 | $4.40 |
| OpenRouter | $1.40 | $4.40 |
| Vercel AI Gateway | $1.40 | $4.40 |
| Baseten API | $1.40 | $4.40 |
| FriendliAI Serverless Endpoints | $1.40 | $4.40 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $1.40 |
| Output tokens | $4.40 |
Capabilities
VisionMultimodalReasoningJSON / Tool useStructured OutputsPrompt Caching
About GLM-5.4
GLM-5.4 is a multimodal coding and reasoning model using a Loop Transformer that reuses layers. It accepts text, images, video and files, supports a 1M-token context and 128K output, and is available through the Z.ai API and GLM Coding Plan.
Model Specs
Released2026-11-23
Context1M
ArchitectureMixture of Experts