Fireworks AI · none caching

GLM 5.1

Z.ai open-weights model with strong agentic coding behaviour and balanced input/output pricing that favours output-heavy generation.

Input / 1M tokens
Output / 1M tokens
Cache read
203K
Context window

Specifications

At a glance.

ProviderFireworks AI
Familyglm_moe_dsa
Released
LicenseOpen weights
Context window203K tokens
Max output
Parameters744B
Modalitiestext
Tool callingYes
Reasoning modeYes
Cachingnone
Batch discountNo batch tier

Measured by Zumik

What reuse looks like here.

GLM 5.1 · agent trafficper request
Total input100%
Candidate reuse61%
Realized reuse51%
Capture rate83%
130ms
Warm TTFT · −62% vs cold
230
Output tokens / sec

Call it

Same OpenAI client, this model.

python
from openai import OpenAI

client = OpenAI(base_url="https://api.zumik.ai/v1", api_key="zk_live_...")

r = client.responses.create(
    model="glm-5p1",          # or an alias like code.balanced
    input="Draft a fix for the failing test.",
)
print(r.usage.input_tokens_cached)   # confirm reuse

Frequently asked

GLM 5.1, answered.

How much does GLM 5.1 cost?

GLM 5.1 is an open-weights model routed through Fireworks AI. It is priced on the host's serverless size tier rather than a single published per-token list price, so it shows "—" here until profiled.

What is GLM 5.1's context window?

GLM 5.1 supports a 203K-token context window.

Does GLM 5.1 support prompt caching?

Yes. Fireworks AI uses Automatic prompt caching (serverless and dedicated) caching. In the Zumik corpus, GLM 5.1 shows a median cache capture of 83% on agent workloads.

Which Zumik aliases route to GLM 5.1?

GLM 5.1 is a candidate for the code.balanced alias, selected when it wins under current routing policy.

Run GLM 5.1 with reuse measured.

Point an OpenAI client at Zumik and see exactly how much of this model's input you are reusing.