Compositev12
← All models Model directory

AI model

Z.ai: GLM 5.4

z-ai/glm-5.4

Z.ai: GLM 5.4 is a 1,048,576-token model served on Composite at $0.500 per million tokens in and $3.08 per million tokens out.

Try in Playground

Community rating

— No community ratings yet.

Sign in to rate this model. Ratings come from accounts that have run requests through Composite.

Specifications

Specifications and pricing as served by Composite
Model IDz-ai/glm-5.4
Providercv11
Context window1,048,576 tokens
Acceptstext, image, video
Returnstext
Input price$0.500 per million tokens
Output price$3.08 per million tokens
Prompt cachingSupported — cached input is billed at the provider's cache rate, on credits and plans alike
ThinkingAlways on for this model
ModeratedNo
Cost on a monthly planAbout 5.7 plan credits per typical call (8k in, 1k out)
Routing endpoints10 (base plus 9 routing variants)

Use Z.ai: GLM 5.4 in JanitorAI or SillyTavern

Make a Composite API key and type z-ai/glm-5.4 as the model name. JanitorAI takes the full URL https://composite.lucidity.sh/v1/chat/completions; SillyTavern, ChubAI, Agnai and RisuAI take https://composite.lucidity.sh/v1. It runs on credits, a plan, or your own provider key.

JanitorAI setup · SillyTavern setup · Best Janitor AI proxies compared

Measured on Composite

This model has not carried enough traffic on Composite yet to publish a success rate, a latency figure or a traffic rank. The numbers appear here once it has.

Routing variants

The same model behind 9 alternative endpoints. Call the id directly to pin a route; the base id above picks for you.

RouteModel IDProviderPrice
Normal z-ai/glm-5.4-normal cv11 $0.500 per million tokens input · $3.08 per million tokens output
Normal + cheapThink z-ai/glm-5.4-normal:cheapThink cv11 $0.500 per million tokens input · $3.08 per million tokens output
Cheapest provider z-ai/glm-5.4:cheapest-provider PrimeIntellect $0.500 per million tokens input · $3.08 per million tokens output
Cheapest provider + cheapThink z-ai/glm-5.4:cheapest-provider:cheapThink PrimeIntellect $0.500 per million tokens input · $3.08 per million tokens output
cheapThink z-ai/glm-5.4:cheapThink cv11 $0.500 per million tokens input · $3.08 per million tokens output
Fast z-ai/glm-5.4:fast PrimeIntellect $0.500 per million tokens input · $3.08 per million tokens output
Fast + cheapThink z-ai/glm-5.4:fast:cheapThink PrimeIntellect $0.500 per million tokens input · $3.08 per million tokens output
Quality z-ai/glm-5.4:quality Crusoe $1.75 per million tokens input · $5.50 per million tokens output
Quality + cheapThink z-ai/glm-5.4:quality:cheapThink Crusoe $1.75 per million tokens input · $5.50 per million tokens output

Pricing

$0.500 per million tokens input · $3.08 per million tokens output

Credits pay the provider’s price plus 25%; cache hits cost less.

On a monthly plan, a typical call (8k tokens in, 1k out) uses about 5.7 plan credits, at the provider's own price.

Provider

cv11

Roleplay fit

GLM models balance strong instruction-following with competitive pricing, a reasonable middle ground for most roleplay setups.

Context behavior

With a 1,048,576-token context window, it can hold a long-running roleplay or a full lorebook in memory without losing earlier plot details, so it suits multi-session campaigns and character cards with heavy backstory.

Cost for regular use

It sits in the mid-range on price, a reasonable pick for regular roleplay use without going for the cheapest option available.

From the provider

GLM-5.4 is Z.ai's first flagship model with native vision capabilities, featuring Z.ai's first Loop Transformer architecture with enhanced reasoning and generalized coding capabilities.

Supplied by cv11, not written by Composite.