Title card reading 'GLM-5.4 vs Grok 4.5', subtitled 'The cost cliff starts at 200K', with three chips reading 'Index 42 vs unscored', '$1.40 / $4.40 vs $2 / $6', and '1M vs 500K context'. The OrcaRouter logo sits in the bottom-right corner.
Guides & Insights

GLM-5.4 vs Grok 4.5: The Cost Cliff Starts at 200K

Author

Rowan Sterling

Date Published

Models in this article · 4View all models →
Back to all posts

A 400,000-token request with a 5,000-token answer bills at roughly $1.66 on Grok 4.5 and roughly $0.58 on GLM-5.4. The headline rates explain only part of that gap. Grok 4.5 charges $2 per million input tokens up to 200,000 tokens of context and $4 per million above it; GLM-5.4 charges $1.40 at every length up to its 1M ceiling. Cross the 200K line and the comparison stops being a 40% discount and becomes a 2.9× one, on the same request, with no change to either model's behaviour.

The dates matter, because the two models are not from the same moment. Grok 4.5 shipped on 8 July 2026. GLM-5.4 reached Z.ai's Coding Plan subscribers on 23 November 2026 and opened a public API on 2 December, three days before this was written, at the same $1.40/$4.40 rate card GLM-5.3 used. The vendor has already moved on: Artificial Analysis marks Grok 4.5 as deprecated, benchmarks it every 18 hours instead of every 6, and points readers to Grok 4.6. The site no longer publishes an Intelligence Index or a cost-per-task figure for Grok 4.5 at all. That does not make the matchup pointless. Plenty of teams still have Grok 4.5 wired into a pipeline, and the long-context tier is the kind of charge you only notice on an invoice.

The arithmetic nobody quotes

Both vendors publish a rate card. Only one of them changes the rate mid-request, and the tier is chosen by the input token count of that request rather than the size of the conversation. That means a single 300,000-token document is billed at the high rate in full. You cannot split it into two 150,000-token calls to stay in the cheap tier without giving up the cross-document reasoning you were paying for.

Three worked cases, all with the same output length so the input side is the only variable. None of these include cache reads, which are billed separately on both sides.

• 150,000 input tokens, 3,000 output — Grok 4.5 costs $0.30 input plus $0.018 output, about $0.32. GLM-5.4 costs $0.21 plus $0.013, about $0.22. Grok 4.5 is 1.4× the price.

• 400,000 input tokens, 5,000 output — Grok 4.5 costs $1.60 plus $0.06, about $1.66. GLM-5.4 costs $0.56 plus $0.022, about $0.58. Grok 4.5 is 2.9× the price.

• 480,000 input tokens, 5,000 output — Grok 4.5 costs $1.92 plus $0.06, about $1.98, and that is close to its 500K ceiling. GLM-5.4 costs $0.672 plus $0.022, about $0.69. Grok 4.5 is 2.9× the price for a request GLM can still double in length.

Cache reads narrow the gap slightly rather than closing it. Grok 4.5 lists cached input at $0.30 per million below 200K and $0.60 above; GLM-5.4 lists $0.26 per million with an 81% cache discount on the independent card. On a repeat-heavy pipeline the cache rate is the number that dominates the bill, and here the two are close enough that the tier structure still decides the outcome.

Two-column comparison scoreboard titled 'GLM-5.4 vs Grok 4.5'. Left column GLM-5.4: Intelligence Index 42 (#54 of 99), $5.08 per Index task, 83 tokens per second, 29.82 seconds to first token, 1M context, $1.40 / $4.40 per million, API live 2 December 2026. Right column Grok 4.5: Intelligence Index not scored (deprecated), cost per task not scored, 63 tokens per second, 5.11 seconds to first token, 500K context, $2 / $6 to 200K then $4 / $12, shipped 8 July 2026. Footer: 'Grok 4.5 figures from Artificial Analysis before deprecation and the OrcaRouter rate card; GLM-5.4 per Artificial Analysis, 4 December 2026.'

Grok 4.5 has been superseded

Artificial Analysis is blunt about it: the Grok 4.5 page now opens with a notice that the model is deprecated and that SpaceXAI has launched Grok 4.6, which readers should consider instead. The practical consequences are worth spelling out, because they change what a comparison can honestly claim.

• The Intelligence Index is gone. Where the page used to carry a score and a rank, it now shows N/A, so there is no current independent capability number to set against GLM-5.4's 42.

• Cost per Index task is gone too, for the same reason. Any per-task comparison you see for Grok 4.5 today is either stale or reconstructed from token counts, not measured.

• The model is still callable. Deprecation at an evaluation site is not withdrawal by the vendor, and Grok 4.5 remains on our catalogue at its list price with zero-retention routing available. Teams with it in production are not stranded.

• The fair current comparator is Grok 4.6, and beyond it the later 4.x releases. This article is about the model the slug names, not about pretending it is still the frontier.

What the independent numbers say

GLM-5.4 scores 42 on the Artificial Analysis Intelligence Index, 54th of 99 models measured, and the page was live on 4 December 2026, two days after the API opened. The same card puts it at $5.08 per Index task, 76th of 98 on cost; 15.9 minutes per task, 61st of 97 on speed; 83 output tokens per second; 29.82 seconds to first answer token; and 123M output tokens across the suite, which is 74th of 98 on verbosity. Input across the suite was 10.4B tokens.

Those numbers describe the model at its default effort, and the default is max. Z.ai's documentation recommends reasoning_effort: max, allows low, high and max, and does not let you turn thinking off: thinking.type accepts only enabled. Every GLM-5.4 call is a reasoning call, and every latency figure above includes the thinking time.

Z.ai publishes no standard benchmark table for GLM-5.4. The launch material shows a win-rate chart with no stated methodology and omits coding benchmarks entirely. Its one controlled result comes from a 30B test model trained on the same looping recipe, where it reports roughly 15% on MMLU-Pro and 12% on GPQA-Diamond over an iso-parameter baseline, at about 10% more training compute. That is evidence about the architecture, not about the 750B production model, and it should be read that way.

Artificial Analysis model page for GLM-5.4 showing an Intelligence Index of 42 and rank 54 of 99, $5.08 cost per Intelligence Index task, 15.9 minutes per task, 83 output tokens per second, 29.82 seconds to first answer token, 123M output tokens, $1.40 input and $4.40 output per million tokens, an 81% cache discount, a 1M-token context window, and default effort set to max.

Speed splits in two directions

The latency numbers look contradictory until you separate first-token time from streaming rate. Grok 4.5 reaches its first token in 5.11 seconds; GLM-5.4 takes 29.82. But GLM streams faster once it starts, at 83 tokens per second against 63. Which one feels quicker depends entirely on how much output you asked for.

For a 500-token chat reply, Grok 4.5 finishes in about 13 seconds and GLM in about 36. For a 5,000-token answer, Grok 4.5 spends roughly 79 seconds generating after its 5-second start, for about 84 seconds total; GLM spends about 60 seconds after its 30-second start, for about 90 seconds. The gap collapses from nearly 3× to about 7%. Interactive autocomplete and chat belong to Grok 4.5. Long generations, where thinking time is amortised over thousands of output tokens, belong to whichever model is cheaper and better, and that is a different argument.

Which workload belongs to Grok 4.5

Keep Grok 4.5 for short, latency-sensitive calls well under 200,000 tokens, especially where the integration already exists and the migration cost is real. Its first-token advantage is large and its price at that length is only about 40% above GLM-5.4's, which is often inside the noise of a product decision.

Move to GLM-5.4 for anything that reads a long document, a repository or a transcript in one pass. The 1M context window is four times Grok 4.5's, the price does not step up at 200K, and the model accepts text, images, video and files in a single request. The 128K maximum output is also larger than what most long-context work needs, which matters when you are asking for a structured extraction rather than a paragraph.

Do not move to GLM-5.4 for a workload that depends on sub-second first-token latency. A reasoning model that always thinks will not beat a 5-second start, and no amount of routing fixes that.

Running both behind one key

Both models are on our catalogue, so the migration is a model-id change rather than a second contract: one OpenAI-compatible endpoint, one key, and the provider's list price passed through at 0% markup, which means a vendor price change lands on our side the same day it lands on theirs. Failover is the useful part for a model this new. GLM-5.4's API is three days old; routing a production path to it with Grok 4.5 as the fallback lets you measure it on real traffic without betting the pipeline on a three-day-old endpoint.

The routing DSL earns its keep on the length dimension specifically. A rule that sends requests above 200K tokens to GLM-5.4 and leaves shorter ones on Grok 4.5 captures most of the saving in the arithmetic above without a rewrite, and it keeps the fast model in front of the users who notice latency.

OrcaRouter model page for Grok 4.5 showing release date 2026-07-08, a 500K-token context window, $2.00 input and $6.00 output per million tokens, a tier table charging $4.00 input and $12.00 output above 200K tokens, cache reads at $0.30 and $0.60 per million by tier, and a 3.36-second p50 time to first token with zero data retention available.

The 200K cliff is the whole story, and it is easy to miss because both vendors advertise a single headline rate. Grok 4.5's high tier is not a surcharge for a rare case; it is the price of the long-context work that makes a 500K window useful in the first place. GLM-5.4's flat rate is simpler, but it buys that simplicity with a 1M window and a model that has three days of public API history and one independent score. If your requests are short, stay where you are. If they are long, the invoice has already made the decision for you.

Compared in this article2

Detected from this article · Benchmarks: Artificial Analysis · updated daily