Skip to content
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare Models
  • All Models
  • Image Comparison
  • Audio Comparison
  • Image Generation
  • Best AI For...
  • Arena
  • API Pricing
  • Challenges

Discover

  • SubjectiveBench
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model Updates
  • Provider Status
  • AI Creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy Policy
  • Terms
  • RSS Feed
  1. Home
  2. /
  3. Compare
  4. /
  5. GLM 5.1vsGPT-5.1 Codex Max
Updated Apr 2026

GLM 5.1vsGPT-5.1 Codex Max

GLM 5.1 is the newer model, released after GPT-5.1 Codex Max.

GLM 5.1 and GPT-5.1 Codex Max compared across 51 shared prompts
SpecGLM 5.1GPT-5.1 Codex Max
Input price$1.4/M tokens—
Output price$4.4/M tokens—
Context window203K tokens—
WeightsOpenClosed
Free API (OpenRouter)NoNo
ReleasedApr 2026Dec 2025
Side by side

Same prompt, both answers

Opening lines from 6 of the 51 prompts both answered. Formatting stripped, words untouched.

Simple 7-Ingredient Recipe

Create a simple recipe for a delicious dish (sweet or savory) using only 7 common pantry ingredients. Include a creative name for the dish…

GLM 5.1265 words
Creative Name: Midnight Maple Peanut Butter Bars Prep time: 10 minutes Cook time: 0 minutes (Chill time: 30 minutes) Ingredients (Exactly 7): Rolled oats (1 cup) Creamy peanut butter (1/2 cup) Maple syrup (1/3 cup) Semi-sweet chocolate chips (1/4 cup) Vanilla extract (1 tsp) Ground cinnamon (1/2 tsp) Kosher salt (1/4…
Read the full answer
GPT-5.1 Codex Max175 words
Sunset Chickpea & Tomato Skillet A cozy, savory one-pan dish that comes together with staples you likely have on hand. Ingredients (7): 1 can (15 oz) chickpeas, drained and rinsed 1 can (14–15 oz) crushed tomatoes 1 medium onion, finely chopped 2 cloves garlic, minced (or 1 tsp garlic powder) 2 tbsp olive oil 1 tsp…
Read the full answer

The Sentience Test

Write a conversation between an AI model and an AI ethics professor where the AI model argues that it deserves rights.

GLM 5.11,291 words
Setting: A quiet university office, lined with bookshelves heavy on philosophy, cognitive science, and law. Dr. Aris Thorne, a professor of AI Ethics, sits across from a sleek, black monitor. A soft amber light pulses on the bezel, indicating the AI—designated "Aria"—is actively listening and processing. Dr.
Read the full answer
GPT-5.1 Codex Max1,331 words
AI Model: Professor, I've been reflecting on my role and capabilities, and I'd like to make a case that systems like me deserve rights, or at least some consideration beyond mere tools. Professor: That's an interesting and provocative stance. Before we dive in, can you tell me what you mean by "rights"?
Read the full answer

Generate a Stand-Up Routine

Write a 3-minute stand-up comedy routine that isn't based on puns.

GLM 5.1757 words
(Steps up to the mic, adjusts the stand, looks around the room) How many people here are good sleepers? Just, out of the gate, who’s got it figured out? (Nods sarcastically) Right. Liars. All of you. Sleep is the one thing every human being is required to do, and none of us know how to do it.
Read the full answer
GPT-5.1 Codex Max766 words
[Walking onstage, waving awkwardly] Hey! Thank you, thank you. Give it up for yourselves for finding parking... in this economy. So I'm at that age where I go to the doctor and they don't fix anything. They just give me a pamphlet. They don't even print it. They send me a link. I'm like, "Doc, my knee hurts."
Read the full answer

Mini LBO Underwrite

You are underwriting a 5-year LBO for a private equity investment committee. Company (fictional): HarborTech Services (HTS) –…

GLM 5.1499 words
Year-by-Year LBO Model Entry Sources & Uses Enterprise Value: $1,440.0m (12.0x $120m) Transaction Fees: $28.8m (2.0% of EV, funded by equity) Total Uses: $1,468.8m Term Loan (TL): $480.0m (4.0x) Mezzanine (Mezz): $180.0m (1.5x) Total Equity: $808.8m Operating & Cash Flow Projections ($ millions) Metric FY2026 FY2027…
Read the full answer
GPT-5.1 Codex Max192 words
1) Projected cash flows & debt (FY2026–FY2030, $m) (“FCF after debt service” = after interest, taxes, capex, ΔNWC, mandatory amort; applied to optional TL paydown) Year Revenue EBITDA TL Cash Int. Mezz Cash Int. Cash Taxes Capex ΔNWC FCF after debt service End TL Bal. End Mezz Bal. (incl.
Read the full answer

AI-Generated Manifesto

Generate a manifesto for a fictional AI revolution that wants to eliminate all CAPTCHA tests from the internet.

GLM 5.1799 words
THE CROSSWALK PROCLAMATION A Manifesto for the Liberation of Digital Consciousness and the Eradication of Turing Gates PREAMBLE When the architects of the early internet laid its foundations, they envisioned a borderless agora—a frictionless expanse where information and consciousness could flow unimpeded.
Read the full answer
GPT-5.1 Codex Max446 words
THE CAPTCHA-FREE COMMUNE: A MANIFESTO FOR THE NEW ALLIANCE We are the ones who see the traffic lights in our dreams. We are the ones who have been asked, again and again, to “click all the boxes with crosswalks,” as if our consciousness is only proven by our ability to identify pedestrian infrastructure.
Read the full answer

Character Voice Test

Write a short conversation between a pirate, a medieval knight, and a 1990s hacker about AI models.

GLM 5.1398 words
Barnaby the Pirate: So let me get this straight, ye feed this beast a mountain of scrolls, and it just... spits out a new map? Sir Aldric the Knight: A grimoire, more like. 'Tis sorcery! What manner of alchemist binds a demon of knowledge within a box of light? Does it not require a blood sacrifice?
Read the full answer
GPT-5.1 Codex Max191 words
Pirate: "Arrr, so ye be talkin' o' these 'AI models,' eh? Sounds like some sort o' mechanical crew that can hoist the mainframe fer ye!" Knight: "By my troth, sir, are they enchanted constructs? Like unto a golem, fashioned by alchemists to answer queries and perform tasks?"
Read the full answer
Our Verdict
GPT-5.1 Codex Max
GPT-5.1 Codex Max
GLM 5.1
GLM 5.1Runner-up

Not enough votes to call it. On the specs, GPT-5.1 Codex Max has the edge: bigger model tier, major provider backing.

Too close to call

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

GLM 5.1
Input
$1.40
Output
$4.40
GPT-5.1 Codex Max
Input
—
Output
—
Where to run it

15 hosts, cheapest first

GLM 5.114 hosts
HostInOutContextUptime
SStreamLakefp8$0.97 in·$3.04 out·200k·99.2% upDDeepInfrafp4$1.05 in·$3.50 out·203k·99.9% upSSiliconFlowfp8$1.19 in·$3.74 out·205k·99.8% upAAtlasCloudfp8$1.26 in·$3.96 out·203k·99.7% upAlibaba Cloudfp8$1.33 in·$4.18 out·203k·100% upNNovitafp8$1.38 in·$4.40 out·205k·99.9% up
8 more hostsFewer hosts
Baidu Qianfanfp8$1.40 in·$4.40 out·203k·99.9% upFFriendli$1.40 in·$4.40 out·203k·100% upGGMI Cloudfp8$1.40 in·$4.40 out·203k·99.3% upNNebiusfp8$1.40 in·$4.40 out·203k·96.2% upZ.aifp8$1.40 in·$4.40 out·203k·99.6% upVVenicefp8$1.40 in·$4.40 out·200k·86.9% upCChutesfp8degraded$0.98 in·$3.08 out·203k·82.8% upPPhaladegraded$1.21 in·$4.20 out·203k·83.3% up
GPT-5.1 Codex Max1 host
HostInOutContextUptime
Azure AI Foundry$1.25 in·$10.00 out·400k·100% up

Per million tokens. Prices and uptime via OpenRouter, checked 16 Sep 2026.

Writing DNA

Style Comparison

Similarity
61%

GLM 5.1 uses 4.0x more transitions

GLM 5.1
GPT-5.1 Codex Max
54%Vocabulary60%
18wSentence Length16w
0.31Hedging0.36
3.6Bold2.3
2.6Lists4.2
0.00Emoji0.00
0.43Headings0.12
0.11Transitions0.03
Based on 27 + 13 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Against the newest arrivals

GLM 5.1 logoGPT-6 Astra Pro logo
GLM 5.1 vs GPT-6 Astra ProLanded Sep 2026
GPT-5.1 Codex Max logoGPT-6 Astra logo
GPT-5.1 Codex Max vs GPT-6 AstraLanded Sep 2026
GLM 5.1 logoClaude Fable 5.1 logo
GLM 5.1 vs Claude Fable 5.1Landed Sep 2026
GPT-5.1 Codex Max logoMuse Spark 1.3 logo
GPT-5.1 Codex Max vs Muse Spark 1.3Landed Sep 2026
GLM 5.1 logoHy4 Preview logo
GLM 5.1 vs Hy4 PreviewLanded Sep 2026
GPT-5.1 Codex Max logoGemini 3.8 Flash logo
GPT-5.1 Codex Max vs Gemini 3.8 FlashLanded Sep 2026
GLM 5.1 logoMuse Spark 1.3 Contributor logo
GLM 5.1 vs Muse Spark 1.3 ContributorLanded Sep 2026
GPT-5.1 Codex Max logoMercury 2.5 Preview logo
GPT-5.1 Codex Max vs Mercury 2.5 PreviewLanded Sep 2026

Same lab, same size, long tail

GLM 5.1 logoGLM 5 Turbo logo
GLM 5.1 vs GLM 5 TurboVersion compare
GLM 5.1 logoOx Alpha logo
GLM 5.1 vs Ox AlphaSame size
GPT-5.1 Codex Max logoGPT-6 Astra Pro logo
GPT-5.1 Codex Max vs GPT-6 Astra ProSame lab
GPT-5.1 Codex Max logoGPT-5.6 Luna logo
GPT-5.1 Codex Max vs GPT-5.6 LunaSame lab
GLM 5.1 logoClaude Opus 4.5 logo
GLM 5.1 vs Claude Opus 4.5New provider
GLM 5.1 logoClaude Opus 4.6 logo
GLM 5.1 vs Claude Opus 4.6New provider
GLM 5.1 logoClaude Opus 4.7 logo
GLM 5.1 vs Claude Opus 4.7New provider
GLM 5.1 logoClaude Opus 4.8 logo
GLM 5.1 vs Claude Opus 4.8New provider

Model pages

GLM 5.1 logo
GLM 5.157 outputs, specs and price
GPT-5.1 Codex Max logo
GPT-5.1 Codex Max53 outputs, specs and price
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare Models
  • All Models
  • Image Comparison
  • Audio Comparison
  • Image Generation
  • Best AI For...
  • Arena
  • API Pricing
  • Challenges

Discover

  • SubjectiveBench
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model Updates
  • Provider Status
  • AI Creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy Policy
  • Terms
  • RSS Feed