Compositev12
← All models Model directory

AI model

Z.ai: GLM 4.7

z-ai/glm-4.7

Z.ai: GLM 4.7 is a 202,752-token model served on Composite at $0.400 per million tokens in and $1.75 per million tokens out. Ranked #28 of 179 models by traffic on Composite over the last 30 days, taking 0.42% of tokens and 0.27% of requests. Measured on Composite, 99.0% of its last 100 requests on Composite succeeded, the typical first token arrives in 31641 ms, output runs at about 78.3 tokens per second.

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-4.7
ProviderDeepInfra
Context window202,752 tokens
Acceptstext
Returnstext
Input price$0.400 per million tokens
Output price$1.75 per million tokens
Prompt cachingSupported — cached input is billed at the provider's cache rate, on credits and plans alike
ModeratedNo
Cost on a monthly planAbout 4.0 plan credits per typical call (8k in, 1k out)
Routing endpoints2 (base plus 1 routing variant)

Use Z.ai: GLM 4.7 in JanitorAI or SillyTavern

Make a Composite API key and type z-ai/glm-4.7 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

Traffic rank on Composite

#28 of 179

0.42% of tokens and 0.27% of requests over 30 days.

Success rate

99.0%

Across the last 100 requests Composite served for this model.

Time to first token

31641 ms

Median across the same sample.

Output speed

78.3 tok/s

Median generation rate after the first token.

Prompt cache hits

11.7%

Share of prompt tokens served from the provider's cache over 7 days.

Routing variants

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

RouteModel IDProviderPrice
cheapThink z-ai/glm-4.7:cheapThink DeepInfra $0.400 per million tokens input · $1.75 per million tokens output

Pricing

$0.400 per million tokens input · $1.75 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 4.0 plan credits, at the provider's own price.

Provider

DeepInfra

Roleplay fit

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

Context behavior

With a 202,752-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 is priced low enough for high-volume daily roleplay without the per-message cost adding up quickly.

From the provider

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...

Supplied by DeepInfra, not written by Composite.