Requesty
Z.AI logo

glm-5

Z.AI/Open weights/2 providers

GLM-5 is an open-source foundation model engineered for complex system engineering and long-horizon Agent tasks, delivering reliable productivity for top-tier programmers. Transcending the boundary from "writing code" to "building systems," it moves beyond traditional snippet generation to offer senior-architect-level planning and execution capabilities. By rejecting the "frontend-heavy, logic-light" approach, GLM-5 demonstrates exceptional reasoning and self-healing abilities in backend refactoring, complex algorithm implementation, and deep debugging—autonomously analyzing logs and iteratively fixing persistent bugs until the system runs. As the first open-source model featuring Opus-class style and system engineering depth, GLM-5 provides extreme logic density alongside the freedom of local deployment and high cost-effectiveness, making it the ideal choice for large-scale backend development and automated Agent construction.More

Which id to call

novita/GLM-5

This model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.

From /1M input

$1.00

Novita AI

Context

203K

131K output

Endpoints

2

1 region

Regions

1

chat

Capabilities 3/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

2 endpoints / 1 region

Providers serving glm-5

Provider prices, per 1M tokens. Pay as you go adds 5%, or 0% on your own keys.

Providers serving glm-5, with pricing and measured performance. The best value in each column is highlighted.
RankPrivacy
1Novita AIGlobal203K$1.00$3.20$0.20zdr
2Z.aiGlobal200K$1.00$3.20$0.20zdr

A column is blank where no qualifying sample exists, and every row links to that provider's endpoint page.

model=

Which id to call

One base url, https://router.requesty.ai/v1, and one key for every id here.

novita/GLM-5

This model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.

OpenAI compatible

Call it in three lines

Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="novita/GLM-5", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Artificial Analysis

Benchmark scores

GPQA Diamondreasoning
82.0%

Graduate-level physics, chemistry & biology questions designed to resist Googling.

Intelligence Indexreasoning
27.9%

Artificial Analysis Intelligence Index: a composite of multiple evaluations measuring overall model capability.

Scores from artificialanalysis.ai. They measure the model, not the provider, so they are the same on every endpoint above.

6

More from Z.AI

Reference

glm-5 questions

Which providers serve glm-5?

glm-5 is available from 2 providers through Requesty: Novita AI, Z.ai. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.

How much does glm-5 cost?

Pricing starts at $1.00 per million input tokens and $3.20 per million output tokens on Novita AI, the cheapest endpoint. Prices vary by provider and region; the table above shows every endpoint. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

Is glm-5 open weights?

Yes. glm-5 is an open-weights model from Z.AI, which is why multiple inference providers can host it. Provider choice affects price, latency, and data-privacy terms, all compared above.

What is the context window of glm-5?

glm-5 supports up to 203K tokens of context, with up to 131K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.

How do I use glm-5 with the OpenAI SDK?

Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "novita/GLM-5" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

Route glm-5 through one endpoint

One key for 2 providers on this model and 600+ others. No markup on provider prices, automatic failover, caching built in.

Benchmark rankings