Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Model comparison - Similar price, same tier

GLM-5.3 vs GPT-5.4 Mini

GLM-5.3 is from Z.ai and GPT-5.4 Mini is from OpenAI. On list price, GLM-5.3 charges 1.9x GPT-5.4 Mini's input price ($1.40 vs $0.75 per 1M tokens), and GLM-5.3 charges 2% less than GPT-5.4 Mini for output ($4.40 vs $4.50 per 1M tokens). GLM-5.3 has a 1,000,000-token context window and GPT-5.4 Mini 400,000 tokens, and both return up to 128,000 output tokens per response. GLM-5.3 was released on August 18, 2026 and GPT-5.4 Mini on March 17, 2026. GLM-5.3 publishes open weights (GLM-5.3 license (Hugging Face license tag: other)); GPT-5.4 Mini is closed-weights.

Last verified from each provider's pricing page. All sources

Z.ai - Open

GLM-5.3
Input / 1M
$1.40
Output / 1M
$4.40
Context
1M

OpenAI - Closed

GPT-5.4 Mini
Input / 1M
$0.75
Output / 1M
$4.50
Context
400K

Side-by-side specs

SpecGLM-5.3GPT-5.4 Mini
ProviderZ.aiOpenAI
Input / 1M tokens$1.40$0.75
Output / 1M tokens$4.40$4.50
Cache read / 1M$0.26$0.075
Batch input / 1M-$0.375
Batch output / 1M-$2.25
Context window1,000,000400,000
Max output128,000128,000
Release date
WeightsOpenClosed
LicenseGLM-5.3 license (Hugging Face license tag: other)-
API model idglm-5.3gpt-5.4-mini
AI Gateway idzai/glm-5.3openai/gpt-5.4-mini
Last verified

Prices in USD per 1M tokens at each provider's standard first-party rate. A dash means the provider does not bill that item separately or no primary page states it.

What each costs in practice

The same three workloads every model page uses, worked from each model's standard list rates. Swap in your own token counts with the math on each model's page.

WorkloadGLM-5.3GPT-5.4 Mini
One agent session1M input tokens and 100K output tokens, no caching.$1.84$1.20
A chat app10,000 requests a day at 2K input and 500 output tokens each.$50.00$1,500.00 per 30-day month$37.50$1,125.00 per 30-day month
The same session at a 90% cache hit90% of the input is read from the prompt cache. The one-time cache write premium is not included.$0.814$0.5925
Show the math

GLM-5.3

  • One agent sessionInput: 1M x $1.40 = $1.40Output: 0.1M x $4.40 = $0.44
  • A chat appInput: 20M x $1.40 = $28.00Output: 5M x $4.40 = $22.00
  • The same session at a 90% cache hitCached input: 0.9M x $0.26 = $0.234Uncached input: 0.1M x $1.40 = $0.14Output: 0.1M x $4.40 = $0.44

GPT-5.4 Mini

  • One agent sessionInput: 1M x $0.75 = $0.75Output: 0.1M x $4.50 = $0.45
  • A chat appInput: 20M x $0.75 = $15.00Output: 5M x $4.50 = $22.50
  • The same session at a 90% cache hitCached input: 0.9M x $0.075 = $0.0675Uncached input: 0.1M x $0.75 = $0.075Output: 0.1M x $4.50 = $0.45

Benchmarks under the same setting

No board in the benchmark directory lists both GLM-5.3 and GPT-5.4 Mini under the same setting, so there is no like-for-like score to show here.

Set them up in your tools

Step-by-step guides whose official docs list GLM-5.3 or GPT-5.4 Mini by model id.

Model pages

FAQ

How do GLM-5.3 and GPT-5.4 Mini compare on price?

On list price, GLM-5.3 charges 1.9x GPT-5.4 Mini's input price ($1.40 vs $0.75 per 1M tokens), and GLM-5.3 charges 2% less than GPT-5.4 Mini for output ($4.40 vs $4.50 per 1M tokens). For one agent session of 1M input and 100K output tokens with no caching, that is $1.84 on GLM-5.3 and $1.20 on GPT-5.4 Mini. Prices are each provider's first-party list rates, verified October 17, 2026 and October 17, 2026.

What are the context windows of GLM-5.3 and GPT-5.4 Mini?

GLM-5.3 has a 1,000,000-token context window and GPT-5.4 Mini 400,000 tokens, and both return up to 128,000 output tokens per response.

Are GLM-5.3 and GPT-5.4 Mini open weights?

GLM-5.3's weights are published at huggingface.co under the GLM-5.3 license (Hugging Face license tag: other). GPT-5.4 Mini is closed-weights and is called through OpenAI's API as gpt-5.4-mini.

More comparisons

Sources

GLM-5.3 verified from docs.z.ai; GPT-5.4 Mini verified from developers.openai.com. This page is as current as the older of the two: .

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.