Skip to content

z.ai GLM-5.3

GLM-5.3 API, hosted in the EU

GLM-5.3 is z.ai's open-weight flagship for agentic coding and tool use. GreenPT runs it in European data centres behind an OpenAI-compatible API, billed per token in euros.

Call it as glm-5.3 on api.greenpt.ai/v1. One key, a 1M-token context, and the energy and CO2 of every request in the response.

The short answer

What is the GLM-5.3 API?

The GLM-5.3 API on GreenPT runs z.ai's open-weight coding model in EU data centres and answers over an OpenAI-compatible endpoint. Send glm-5.3 as the model to https://api.greenpt.ai/v1, keep your SDK, and pay per million tokens in euros from prepaid credits, with no subscription.

Model ID
glm-5.3
EU base URL
https://api.greenpt.ai/v1
Context window
1M tokens
Tools
Function calling and tool choice
Weights
Open-weight, published by z.ai under its own licence
Python, with the official OpenAI SDK
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.greenpt.ai/v1", api_key=os.environ["GREENPT_API_KEY"])
reply = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "Hello from Europe"}],
)
print(reply.choices[0].message.content)
print(reply.to_dict()["impact"])  # energy (Wms) and emissions (ugCO2e) for this request

Prices

What GLM-5.3 costs

Rates per million tokens, read from the GreenPT price list when this page was built. Cached input is billed at the cache rate automatically.

GreenPT API prices per model
ModelContextPrice (EUR, excl. VAT)
GLM-5.3glm-5.31M
  • Input €1.10
  • Cache €0.275
  • Output €4.40
per 1M tokens

See all models and rates

Use cases

What teams use GLM-5.3 for

  • Agentic coding

    Long sessions in coding agents, hard refactors and changes across many files. z.ai scaled post-training on the GLM-5.2 base: 50% higher Z.ai Code Bench scores at fewer output tokens per task.

  • Tool use

    Function calling and tool choice through the OpenAI schema, for agents that call your APIs, search and databases.

  • Long context

    A 1M-token context window for whole repositories, contracts or document sets in one request.

  • Reasoning you control

    Five reasoning_effort levels, from none for quick lookups to high for work that needs deliberation.

  • Cheaper repeated context

    Prompt caching bills a repeated prefix at the cached-input rate with no flag to set, which suits agents that resend the same system prompt.

Why GreenPT

Why run GLM-5.3 on GreenPT

GreenPT is a Dutch company, GreenPT BV in Utrecht. EU inference is the default endpoint, not a region you opt into, and account, billing and usage data stay in the EU whichever endpoint you call.

  • EU endpoint by default; the US endpoint only when you call it by name.

  • Your prompts and outputs are never used for training.

  • One API key for chat, embeddings, rerank, OCR and speech.

  • Prepaid credits in euros that do not expire.

  • The energy and CO2 of every request in the response body.

GLM-5.3 on GreenPT, in short

Where is GLM-5.3 hosted?

Requests to api.greenpt.ai are processed in EU data centres that run on renewable energy. Account, billing and usage data stay in the EU too, and GreenPT never trains on your prompts or outputs.

How much does GLM-5.3 cost?

GLM-5.3 is billed per million tokens in euros, with separate rates for input, cached input and output. The price table on this page shows the current rates from the GreenPT price list. The cached-input rate applies automatically.

Is the GLM-5.3 API OpenAI-compatible?

Yes. Point any OpenAI SDK or tool at https://api.greenpt.ai/v1, use your GreenPT API key and set the model to glm-5.3. Chat completions, streaming, tool calling and JSON mode follow the OpenAI schema.

Is GLM-5.3 available on the US endpoint?

Yes. api.us.greenpt.ai serves glm-5.3 under the same id, processed in the US. Prices are per endpoint, so the US rate is not the EU rate; GET /v1/pricing on that base URL lists it. The default endpoint stays in the EU.

Do I need a subscription to use GLM-5.3?

No. Create a free API-only account, buy prepaid credits and pay per token. Credits do not expire, and chat subscriptions are separate and optional.

Start building

Run GLM-5.3 in the EU today.

A free API-only account, credits in euros and the base URL you already know how to use.

  • EU hosted
  • OpenAI-compatible
  • 100% renewable