Bertrande

GPT vs GLM

The short answer. The cheapest GPT model we track, gpt-5-nano, costs $0.400 per million output tokens and $0.050 per million input tokens. The cheapest GLM model, GLM-OCR, costs $0.030 per million output tokens and $0.030 per million input tokens. At the entry level, GLM is 13.3 times cheaper than GPT on output tokens. Prices read on 27 October 2026 and 31 October 2026.

This page compares what OpenAI and Z.ai charge through their APIs. Every price below carries the day we read it and links to the page it came from. We do not rank quality: we tell you what each model costs, and since when.

At the top of each range

The index is produced by Artificial Analysis and relayed through OpenRouter's catalogue. It is not our measurement; we record it as a level 4 source and show it next to the price we read. A model without a score here has not been scored yet, which is not the same as scoring low.

Every model, side by side

GPT models

34 standard offers, from the prices OpenAI publishes itself.

ModelInputOutputContextRead onSource
gpt-5-nano$0.050$0.40031 October 2026OpenAI
gpt-6-luna$0.100$0.50031 October 2026OpenAI
gpt-4o-mini$0.150$0.60031 October 2026OpenAI
gpt-5.6-luna$0.200$1.2031 October 2026OpenAI
gpt-5.4-nano$0.200$1.2531 October 2026OpenAI
gpt-4.1-mini$0.400$1.6031 October 2026OpenAI
gpt-5-mini$0.250$2.0031 October 2026OpenAI
o3-mini$1.10$4.4031 October 2026OpenAI
o4-mini$1.10$4.4031 October 2026OpenAI
gpt-5.4-mini$0.750$4.5031 October 2026OpenAI
gpt-6.1-terra$1.00$5.0027 October 2026OpenAI
gpt-4.1$2.00$8.0031 October 2026OpenAI
o3$2.00$8.0031 October 2026OpenAI
gpt-5$1.25$10.0031 October 2026OpenAI
gpt-5.1$1.25$10.0031 October 2026OpenAI
gpt-6-sol$2.00$10.0031 October 2026OpenAI
gpt-6.1-sol$2.00$10.0031 October 2026OpenAI
gpt-4o$2.50$10.0031 October 2026OpenAI
gpt-5.6-terra$2.00$12.0031 October 2026OpenAI
gpt-5.2$1.75$14.0031 October 2026OpenAI
gpt-5.4 (<272K context length)$2.50$15.0031 October 2026OpenAI
gpt-4o-2024-05-13$5.00$15.0031 October 2026OpenAI
gpt-5.6-sol$4.00$20.0031 October 2026OpenAI
gpt-5.5 (<272K context length)$5.00$30.0031 October 2026OpenAI
gpt-4-turbo-2024-04-09$10.00$30.0031 October 2026OpenAI
gpt-6-astra$10.00$50.0031 October 2026OpenAI
o1$15.00$60.0031 October 2026OpenAI
gpt-4-0613$30.00$60.0031 October 2026OpenAI
o3-pro$20.00$80.0031 October 2026OpenAI
gpt-5-pro$15.00$12031 October 2026OpenAI
gpt-5.2-pro$21.00$16831 October 2026OpenAI
gpt-5.4-pro (<272K context length)$30.00$18031 October 2026OpenAI
gpt-5.5-pro (<272K context length)$30.00$18031 October 2026OpenAI
o1-pro$150$60031 October 2026OpenAI

GLM models

19 standard offers, from the prices Z.ai publishes itself.

ModelInputOutputContextRead onSource
GLM-OCR$0.030$0.03027 October 2026Z.ai
GLM-4-32B-0414-128K$0.100$0.10027 October 2026Z.ai
GLM-4.6V-FlashX$0.040$0.40027 October 2026Z.ai
GLM-4.7-FlashX$0.070$0.40027 October 2026Z.ai
GLM-5.3-Flash$0.150$0.5003 November 2026Z.ai
GLM-4.6V$0.300$0.9003 November 2026Z.ai
GLM-4.5-Air$0.200$1.103 November 2026Z.ai
GLM-5.3-FlashX$0.370$1.2527 October 2026Z.ai
GLM-5.3-FlashX-Legal$0.370$1.2529 October 2026Z.ai
GLM-4.5V$0.600$1.803 November 2026Z.ai
GLM-4.5$0.600$2.203 November 2026Z.ai
GLM-4.6$0.600$2.203 November 2026Z.ai
GLM-4.7$0.600$2.203 November 2026Z.ai
GLM-5$1.00$3.203 November 2026Z.ai
GLM-5.1$1.40$4.403 November 2026Z.ai
GLM-5.2$1.40$4.403 November 2026Z.ai
GLM-5.3$1.40$4.403 November 2026Z.ai
GLM-4.5-AirX$1.10$4.5027 October 2026Z.ai
GLM-4.5-X$2.20$8.9027 October 2026Z.ai

How these prices have moved

We hold dated captures of these models' prices back to 26 July 2023. We did not observe these values ourselves: they were recovered from public captures of OpenRouter's catalogue, and each links to its capture so you can check it without trusting us. Largest moves on output price:

ModelBeforeAfterChangeCaptured
Z.ai: GLM 4.5$0.200$0.800064+300%12 August 2025
Z.ai: GLM 4.5 Air$0.220$0.850+286%19 February 2026
Z.ai: GLM 5.2$0.8624$2.9788+245%21 July 2026
OpenAI: GPT-5$5.00$10.00+100%26 September 2025
OpenAI: GPT-5.6 Luna$0.600$1.20+100%21 August 2026
OpenAI: GPT-5.6 Luna Pro$0.600$1.20+100%21 August 2026

Questions

Which is cheaper, GPT or GLM?

The cheapest GPT model we track, gpt-5-nano, costs $0.400 per million output tokens and $0.050 per million input tokens. The cheapest GLM model, GLM-OCR, costs $0.030 per million output tokens and $0.030 per million input tokens. At the entry level, GLM is 13.3 times cheaper than GPT on output tokens. Prices read on 27 October 2026 and 31 October 2026.

What is the cheapest GPT model?

gpt-5-nano, at $0.400 per million output tokens, read on 31 October 2026.

What is the cheapest GLM model?

GLM-OCR, at $0.030 per million output tokens, read on 27 October 2026.

Where do these prices come from?

From the price lists OpenAI and Z.ai publish, read by our collectors. No figure on this page was produced by a language model.

Other comparisons

All comparisons