MODELSEED / MODEL FAMILY

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.

ZERO-LOGIN LIVE TEST

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.

Free live tries left: 2 / 2
LIVE GATEWAY TELEMETRY · UPDATED EVERY 15 MIN

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.

Measured 2026-11-27 06:49 UTC
30-day relay success rate99.52%
Measured relay volume6,498
Strict-JSON probes passing6 / 6
Monitored catalog models18
Model IDMeasured TTFTThroughputStrict JSON30d SuccessMeasured 1-req cost
glm-5.3-flash4.31s298.1 tok/sPASSProbe OK$0.00005
glm-5.31.27s16.9 tok/sMedia / Relay80% (10)—
deepseek-v4-1-flash1.99s39.8 tok/sPASS99.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.

TEXT REQUEST ESTIMATEglm-5.3-flash$0.1881188.081 credits

1 × $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.

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.

Models & rates

Exact model names and all published rate components.

GLM 5.3 Flash

glm-5.3-flash
Text & code
modelseed rates by usage component
TierComponentPer unitPrice
Standard · 1M contextInput · no cache1M tokens$0.10031100.3098 credits
Standard · 1M contextOutput1M tokens$0.351084351.0843 credits
Standard · 1M contextCache read1M tokens$0.02883928.8391 credits

GLM 5.3

glm-5.3
Text & code
modelseed rates by usage component
TierComponentPer unitPrice
Standard · 1M contextInput · no cache1M tokens$0.820727820.7273 credits
Standard · 1M contextOutput1M tokens$2.8725462,872.5457 credits
Standard · 1M contextCache read1M tokens$0.205182205.1818 credits

GLM 5.2

glm-5.2
Text & code
modelseed rates by usage component
TierComponentPer unitPrice
Standard · 1M contextInput · no cache1M tokens$0.820727820.7273 credits
Standard · 1M contextOutput1M tokens$2.8725462,872.5457 credits
Standard · 1M contextCache read1M 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.

  1. 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 →
  2. 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 →
  3. 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 →
GLM / Python
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.

BUILD WITH MODELSEED

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.

Get your API key