z.ai GLM-5.3
GLM-5.3 API on a US endpoint
GLM-5.3 is z.ai's open-weight flagship for agentic coding and tool use. GreenPT serves it at api.us.greenpt.ai behind an OpenAI-compatible API, billed per token from prepaid credits.
Call it as glm-5.3 on api.us.greenpt.ai/v1. One key, a 1M-token context, and the energy and CO2e of every request in the response.
The short answer
What is the GLM-5.3 API?
The GLM-5.3 API on GreenPT serves z.ai's open-weight coding model from a US endpoint that speaks the OpenAI API. Send glm-5.3 as the model to https://api.us.greenpt.ai/v1, keep your SDK, and pay per token from prepaid credits on a free API account, with no subscription.
- Model ID
- glm-5.3
- US base URL
- https://api.us.greenpt.ai/v1
- Context window
- 1M tokens
- Tools
- Function calling and tool choice in the OpenAI schema
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.us.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 requestUse cases
What developers use GLM-5.3 for
Agentic coding
Long coding-agent sessions, hard refactors and changes across many files. z.ai scaled post-training on the GLM-5.2 base for 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 on the US endpoint, for a whole repository, contract set or document archive 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 serves this model on a US endpoint, api.us.greenpt.ai, through the same OpenAI-compatible API and key as every other GreenPT endpoint, and every response tells you the energy and emissions of that request.
A US endpoint: api.us.greenpt.ai/v1.
OpenAI-compatible: switch the base URL, keep your SDK.
Your prompts and outputs are never used for training.
A free API account and prepaid credits, no subscription.
The energy and emissions of every request in the response body.
GLM-5.3 on GreenPT, in short
Where does GLM-5.3 run on GreenPT?
On GreenPT's US endpoint when you call https://api.us.greenpt.ai/v1: your prompts and outputs are processed in the US. GreenPT's other region serves glm-5.3 too, under the same id and with the same API key, so the base URL alone decides where a request runs.
How is GLM-5.3 priced on the US endpoint?
Per token from prepaid credits, with separate rates for input, cached input and output. Prices are set per endpoint, so the live US price list at api.us.greenpt.ai/v1/pricing is the source of truth for what a glm-5.3 call costs there.
Is the GLM-5.3 API OpenAI-compatible?
Yes. Point any OpenAI SDK or tool at https://api.us.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, so switching takes a base URL and a model id.
Do I need a subscription to use GLM-5.3?
No. Create a free API-only account, buy prepaid credits and pay per token. Chat subscriptions are separate and optional, and the API never requires one.
Does GreenPT train on my GLM-5.3 prompts?
No. GreenPT never uses your prompts or outputs to train models. Every response also carries an impact object with the inference time, energy and emissions of that request.
Read next
More on open-model inference in the US
- GLM-5.3 Flash APIThe light tier of GLM-5.3: the same 1M-token context at a lower per-token rate.
- Qwen3 Embedding 8B APIMultilingual embeddings up to 4,096 dimensions, on the US endpoint.
- Metis APIYes/no, multiple-choice and scale answers, with a probability for each.
- Open-source LLM APIGLM-5.3, Kimi K3 and DeepSeek V4.1 Flash on a US endpoint, OpenAI-compatible.
- The 10 best US inference providers for open-source models in 2027Models, prices, speed and data handling, compared.
- GreenPT vs Together AITwo OpenAI-compatible APIs for open-weight models, side by side.
- GreenPT vs Fireworks AIFrontier open models, data handling and pricing compared.
- GreenPT vs GroqFrontier model choice versus raw tokens per second.
- GreenPT vs DeepInfraPer-request energy reporting versus promotional prices.
- The GreenPT APIChat, embeddings and Metis behind one OpenAI-compatible key.
Start building
Run GLM-5.3 on a US endpoint today.
A free API account, prepaid credits and the base URL you already know how to use.
- CCPA-ready
- No training on your data
- Energy measured per request
