Models / GLM pricing

GLM API pricing

10 GLM models from Z.ai on one key, per million tokens. Input 36% to 70% under Z.ai's list price, output 36% to 70%. Lowest price: GLM 5.3 Flash, $0.09 in and $0.15 out.

Prices · per million tokens, USD, next to Z.ai's list price

ModelInputCached inputOutputUnder list
GLM 5.3 APIglm-5.3$0.3276list $1.092$0.068list $0.2028$1.0296list $3.43270% in · 70% out
GLM 5.4 APIglm-5.4$0.42list $1.40$0.078list $0.26$1.32list $4.4070% in · 70% out
GLM 5.3 Flash APIglm-5.3-flash$0.09list $0.15$0.0112list $0.03$0.15list $0.5040% in · 70% out
GLM 5.3 FlashX APIglm-5.3-flashx$0.0479list $0.075$0.045$0.1596list $0.2536% in · 36% out
GLM-5.3 Flash Cybersecurity APIglm-5.3-flash-cybersecurity$0.525$0.2625$1.75no list price
GLM 5.2 APIglm-5.2$0.24list $0.60$0.068list $0.15$0.60list $2.0060% in · 70% out
GLM 5.1 APIglm-5.1$0.3824list $0.966$0.325list $0.1794$1.2017list $3.03660% in · 60% out
GLM 5 APIglm-5$0.3824$0.0765$1.2235no list price
GLM-4.6 Derestricted v5 APIglm-4.6-derestricted-v5$1.40input rate$5.25no list price
GLM 4.5 APIglm-4.5$1.92$0.352$7.04no list price
List price: Z.ai's published rate, read October 2026. Live from GET https://api.uplinkswitch.com/v1/catalog.

What each model accepts

GLM models: input types, API formats and cached input pricing
InputAPIPricing
TextImageAudioVideoOpenAI formatAnthropic formatCached input
GLM 5.3SupportedNot supportedNot supportedNot supportedSupportedNot supportedSupported
GLM 5.4Not listedNot listedNot listedNot listedSupportedNot supportedSupported
GLM 5.3 FlashSupportedSupportedNot supportedSupportedSupportedNot supportedSupported
GLM 5.3 FlashXNot listedNot listedNot listedNot listedSupportedNot supportedSupported
GLM-5.3 Flash CybersecuritySupportedSupportedNot supportedNot supportedSupportedNot supportedSupported
GLM 5.2SupportedNot supportedNot supportedNot supportedSupportedNot supportedSupported
GLM 5.1SupportedNot supportedNot supportedNot supportedSupportedNot supportedSupported
GLM 5Not listedNot listedNot listedNot listedSupportedNot supportedSupported
GLM-4.6 Derestricted v5SupportedNot supportedNot supportedNot supportedSupportedNot supportedNot supported
GLM 4.5Not listedNot listedNot listedNot listedSupportedNot supportedSupported

How GLM API pricing works · per million tokens, billed per request

GLM API pricing is per million tokens, with input and output billed separately. On GLM 5.3 input is $0.3276 and output $1.0296 per million here, so one output token costs 3.1 times one input token. Z.ai's list price for the same model is $1.092 and $3.432.

9 of the 10 GLM models have a cached input rate. A cache read on GLM 5.3 costs $0.068 per million, 21% of its input rate, so a system prompt or document that repeats across requests bills at the cached rate after the first one. A model with no cached rate bills cached tokens at its input rate.

Every request bills from prepaid credit, from $10, with no subscription. Each paid top-up locks your rates for 30 days, and inside that window a price can only go down. A non-streamed response carries the request's cost and its saving against list in its headers, x-uplink-charge and x-uplink-saved.

Price your own token counts on every GLM model with the LLM cost calculator.

GLM API cost per request · three request shapes at live prices

A request costs its tokens times the rate. The table prices three shapes on every GLM model at today's rates, with Z.ai's list price under each figure where one is published.

ModelChat turn2,000 in, 500 outLong document30,000 in, 1,000 outAgent turn40,000 in, 30,000 of them cached, 1,500 out
GLM 5.3$0.0012list $0.0039$0.0109list $0.0362$0.0069list $0.0222
GLM 5.4$0.0015list $0.005$0.0139list $0.0464$0.0085list $0.0284
GLM 5.3 Flash$0.0003list $0.0006$0.0029list $0.005$0.0015list $0.0032
GLM 5.3 FlashX$0.0002list $0.0003$0.0016list $0.0025$0.0021list $0.0034
GLM-5.3 Flash Cybersecurity$0.0019$0.0175$0.0158
GLM 5.2$0.0008list $0.0022$0.0078list $0.02$0.0053list $0.0135
GLM 5.1$0.0014list $0.0035$0.0127list $0.032$0.0154list $0.0196
GLM 5$0.0014$0.0127$0.008
GLM-4.6 Derestricted v5$0.0054$0.0473$0.0639
GLM 4.5$0.0074$0.0646$0.0403

Worked through on GLM 5.3: a chat turn is 2,000 × $0.3276 / 1,000,000 + 500 × $1.0296 / 1,000,000 = $0.0012. A thousand such turns come to $1.17.

GLM API cost per request: Z.ai's API next to one price here · one request of 2,000 input and 500 output tokens

ModelZ.ai listHereRequest at Z.aiRequest here
GLM 5.3glm-5.3$1.092 / $3.432$0.3276 / $1.0296$0.0039$0.0012
GLM 5.4glm-5.4$1.40 / $4.40$0.42 / $1.32$0.005$0.0015
GLM 5.3 Flashglm-5.3-flash$0.15 / $0.50$0.09 / $0.15$0.0006$0.0003
GLM 5.3 FlashXglm-5.3-flashx$0.075 / $0.25$0.0479 / $0.1596$0.0003$0.0002
GLM 5.2glm-5.2$0.60 / $2.00$0.24 / $0.60$0.0022$0.0008
GLM 5.1glm-5.1$0.966 / $3.036$0.3824 / $1.2017$0.0035$0.0014

USD per million tokens as input / output, then one request at each rate. Ours from the live catalog; Z.ai's from its pricing page, the read date on each model page.

One key calls every GLM model above and, on the same base URL, the GLM-5.3 uncensored and abliterated builds on the uncensored LLM API page.

Which GLM model to choose on price · lowest to highest, per 1,000 chat turns

By the chat turn above, GLM 5.3 FlashX costs the least at $0.1756 per 1,000 turns and GLM 4.5 the most at $7.36, 42 times as much. The context window and output limit are Z.ai's published figures for each model.

Model1,000 chat turnsContext windowMax output
GLM 5.3 FlashXglm-5.3-flashx$0.17561,049Knot published
GLM 5.3 Flashglm-5.3-flash$0.2551M131,072
GLM 5.2glm-5.2$0.781M131,072
GLM 5.3glm-5.3$1.171M131,072
GLM 5.1glm-5.1$1.3655200K131,072
GLM 5glm-5$1.3765198Knot published
GLM 5.4glm-5.4$1.501Mnot published
GLM-5.3 Flash Cybersecurityglm-5.3-flash-cybersecurity$1.9251,049K32,768
GLM-4.6 Derestricted v5glm-4.6-derestricted-v5$5.425131Knot published
GLM 4.5glm-4.5$7.36128Knot published

GLM vs other model families · the lead model of each, per 1,000 chat turns

The lead model of each family on the same key, priced on the same chat turn. GLM 5.3 comes to $1.17 per 1,000 turns; GPT-6.1 Sol, the lead GPT model, to $2.70.

FamilyLead modelInputOutput1,000 chat turns
Claude API pricingClaude Fable 5.2$4.00$20.00$18.00
GPT API pricingGPT-6.1 Sol$0.60$3.00$2.70
Gemini API pricingGemini 4 Argon$1.20$3.00$3.90
Grok API pricingGrok 4.6$0.60$1.80$2.10
DeepSeek API pricingDeepSeek V4 Pro 0813$0.792$1.188$2.178
Kimi API pricingKimi K3$0.90$4.50$4.05
GLMGLM 5.3$0.3276$1.0296$1.17
Qwen API pricingQwen3.7 Max$0.6471$1.9412$2.2647
MiniMax API pricingMiniMax M3$0.09$0.36$0.36
MiMo API pricingMiMo V2.6 Flash$0.084$0.12$0.228

Call them · same base URL and key for every model

Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'glm-5.3',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
Guides: Cursor, SDKs.

Questions

GLM 5.3 Flash (glm-5.3-flash): $0.09 per million input tokens and $0.15 per million output tokens.

Input runs 36% to 70% under Z.ai's list price, output 36% to 70%, depending on the model. Each row above shows both prices.

Not on this key. Every request bills from prepaid credit, from $10, with no subscription; a thousand chat turns on GLM 5.3 FlashX cost $0.1756. Z.ai publishes its own terms on its pricing page.

On GLM 5.3, 1 million input tokens cost $0.3276 and 1 million output tokens $1.0296. Across the 10 GLM models, input runs from $0.0479 to $1.92 and output from $0.15 to $7.04 per million.

It depends on the model. On the lead models and a chat turn of 2,000 tokens in and 500 out, GLM 5.3 costs $1.17 per 1,000 turns and GPT-6.1 Sol $2.70. Both families are on the same key; the table above has every family's lead model.

No contract. Prepaid credit from $10, or an optional monthly usage plan (the plans are on the pricing index). Paying by card switches on auto top-up, and a plan renews by card; both switch off in Billing, and crypto never recharges. Each top-up locks your prices for 30 days.

At the cached rate in the table. A model with no cached rate bills cached tokens at its input rate.

Yes, per account and per key. The account's tier sets how many requests it may send a minute and run at once, and it rises with the balance or auto top-up; a key can be held lower than its account. Every tier is in the acceptable use policy.

$0.3824 per million input tokens and $1.2017 per million output tokens here against $0.966 and $3.036 at Z.ai's list: 60% under on both. GLM 5.3 Flash is the lowest GLM price, $0.09 and $0.15 against $0.15 and $0.50.
Join on Telegram
Help