GLM 5.3 & 5.3 Flash API Pricing, 1M Context & OpenAI SDK
Compare Zhipu GLM 5.3, 5.3 Flash & 5.2 USD token and cache rates. Drop-in OpenAI SDK Base URL, $1–$2 free test credits, and pay-as-you-go USDT or Binance Pay billing.
New accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests
Test live models side-by-side before signing up
Verify real model outputs, streaming TTFT, and exact USD token cost before creating an account. Pick 1 or 2 models to race live.
Measured latency, strict-JSON pass rate & live uptime
Published directly from Modelseed production relay telemetry and scheduled streaming JSON benchmark probes — real measured numbers, never synthetic estimates.
| Model ID | Measured TTFT | Throughput | Strict JSON | 30d Success | Measured 1-req cost |
|---|---|---|---|---|---|
glm-5.3-flash | 4.31s | 298.1 tok/s | PASS | Probe OK | $0.00005 |
glm-5.3 | 1.27s | 16.9 tok/s | Media / Relay | 80% (10) | — |
deepseek-v4-1-flash | 1.99s | 39.8 tok/s | PASS | 99.94% (6404) | $0.00003 |
GLM API cost calculator
Choose a version and pricing tier. Enter total project input and output volumes; this estimate uses the published uncached rates.
Context tiers apply per request, not to the monthly token total. For DeepSeek, select the period. See the full table for cache and other components.
glm-5.3-flash$0.1881188.081 credits1 × $0.1003 + 0.25 × $0.3511
Modelseed base rates. Actual usage determines charges. Payment fees and plan bonuses are excluded from this estimate.
All components and rates ↓Choosing a version
GLM is Zhipu’s language model family for text applications. This page lists GLM 5.3, 5.3 Flash and 5.2 with separate input, output and cache prices. Manage your key and balance in the Modelseed console.
GLM 5.3
glm-5.3Compare it on your project’s text and code examples using the same instructions and output limit.
View rates ↓GLM 5.3 Flash
glm-5.3-flashFlash has its own rate. For repeated tasks, evaluate the average cost including retries and output tokens.
View rates ↓GLM 5.2
glm-5.2Use the exact version ID when comparing with 5.3 so your application does not switch models unintentionally.
View rates ↓Estimating cost
GLM Flash and main versions have different rates. Compare responses on your own chat, text processing or coding examples: the Flash name alone does not establish speed, quality or tool support.
- Input, output and cache reads are listed separately.
- A developer-issued GLM key and a modelseed key are different credentials. Send your modelseed key to our API.
- Context labels describe pricing tiers. Check the active route limit before large requests.
Models & rates
Exact model names and all published rate components.
GLM 5.3 Flash
glm-5.3-flash| Tier | Component | Per unit | Price |
|---|---|---|---|
| Standard · 1M context | Input · no cache | 1M tokens | $0.10031100.3098 credits |
| Standard · 1M context | Output | 1M tokens | $0.351084351.0843 credits |
| Standard · 1M context | Cache read | 1M tokens | $0.02883928.8391 credits |
GLM 5.3
glm-5.3| Tier | Component | Per unit | Price |
|---|---|---|---|
| Standard · 1M context | Input · no cache | 1M tokens | $0.820727820.7273 credits |
| Standard · 1M context | Output | 1M tokens | $2.8725462,872.5457 credits |
| Standard · 1M context | Cache read | 1M tokens | $0.205182205.1818 credits |
GLM 5.2
glm-5.2| Tier | Component | Per unit | Price |
|---|---|---|---|
| Standard · 1M context | Input · no cache | 1M tokens | $0.820727820.7273 credits |
| Standard · 1M context | Output | 1M tokens | $2.8725462,872.5457 credits |
| Standard · 1M context | Cache read | 1M tokens | $0.205182205.1818 credits |
Base rates from the active reference, shown in USD. Checkout confirms the final amount. A listed rate is not a route availability check. Check the console for current models and key permissions.
Get a key and connect GLM API
Access GLM through a Modelseed account and key. Payments fund your Modelseed balance; they do not top up your account on the model developer’s official website.
- 01
Account and model
Sign in, choose an exact ID and check key permissions. For video, images and agents, confirm the required format and mode first.
Create an API key → - 02
Balance or plan
For occasional use, choose a top-up: credits last 365 days. Pro, Max and Ultra add credits for 30 days. Model usage draws from your shared balance.
Pay with Lava or USDT → - 03
A small test
Create a project key, send a small request and check its output and actual usage in the console. Then connect your application workload.
Create account and get key →
GLM API with Python: first request
Install the package with python -m pip install openai. Set the MODELSEED_API_KEY environment variable on your computer or server, then run the example. The Base URL already includes /v1.
This Chat Completions example spends credits when run. Check Responses support for Codex and Messages support for Claude Code separately.
Node.js, cURL and environment setup →import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.modelseed.dev/v1",
api_key=os.environ["MODELSEED_API_KEY"],
)
response = client.chat.completions.create(
model="glm-5.3-flash",
messages=[{"role": "user", "content": "Explain the difference between input and output tokens in two sentences."}],
max_tokens=256,
)
print(response.choices[0].message.content)Modelseed is an independent API service, not the official GLM website. The active route determines model availability and supported features.
Before you connect
How do I connect GLM to Python or Node.js?
For a compatible text route, use the OpenAI SDK, https://api.modelseed.dev/v1, a Modelseed key and a GLM ID from the table. Check model list access first, then try a small text request with an output limit.
How do GLM 5.3 and GLM 5.3 Flash costs differ?
Each version has its own input, output and cache read rates. Apply the same token counts to both tables and add the components. A lower input rate does not guarantee a lower total response cost.
Can I use GLM for coding and automation?
Evaluate a text model on code generation, error explanations and message processing. Verify JSON, streaming and tool support separately for the selected route, and review generated code and automated decisions.
From an idea to your first request.
One key and a familiar API. New verified accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests before topping up.