GLM 5.2 is live! Opus-level intelligence at open-source rates. Pay per token on serverless. Try it today.

Model Library
/Z.ai/GLM 5.1
model path:accounts/fireworks/models/glm-5p1

GLM-5.1 is Z.ai's next-generation flagship model built for agentic engineering, with stronger coding capabilities and sustained performance over long-horizon tasks with hundreds of iteration rounds. It's a 754B-parameter MoE model

GLM 5.1 API Features

Fine-tuning

Docs

GLM 5.1 can be customized with your data to improve responses. Fireworks uses LoRA to efficiently train and deploy your personalized model

Serverless

Docs

GLM 5.1 is available via Fireworks' serverless API, where you pay per token. There are several ways to call the Fireworks API, including Fireworks' Python client, the REST API, or OpenAI's Python client.

On-demand Deployment

Docs

On-demand deployments allow you to use GLM 5.1 on dedicated GPUs with Fireworks' high-performance serving stack with high reliability and no rate limits.

Available Serverless

Run queries immediately, pay only for usage

$1.40 / $0.26 / $4.40
Per 1M Tokens (input/cached input/output)

Metadata

State
Ready
Created on
3/27/2026
Kind
Base model
Provider
Z.ai

Specification

Calibrated
No
Mixture-of-Experts
Yes
Parameters
743B

Supported Functionality

Fine-tuning
Supported
Serverless
Supported
Context Length
202k tokens
Function Calling
Supported
Embeddings
Not supported
Rerankers
Not supported
Support image input
Not supported