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.2vsGPT OSS 20B
Updated Jun 2026

GLM 5.2vsGPT OSS 20B

GPT OSS 20B is cheaper than GLM 5.2 at $0.02/M vs $1.4/M input tokens.

GLM 5.2 and GPT OSS 20B compared across 53 shared prompts
SpecGLM 5.2GPT OSS 20B
Input price$1.4/M tokens$0.02/M tokens
Output price$4.4/M tokens$0.1/M tokens
Context window1.0M tokens131K tokens
WeightsOpenOpen
Free API (OpenRouter)Yes (1 provider)No
ReleasedJun 2026Aug 2025
Side by side

Same prompt, both answers

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

Advanced Longevity Plan (Biohacker)

Develop a comprehensive, cutting-edge 3-month longevity plan for a biohacker aiming to optimize longevity, physical and cognitive…

GLM 5.21,222 words
Disclaimer: This plan is for informational purposes and is intended for a highly healthy, biochemically literate individual. Any use of off-label pharmaceuticals (like Metformin or Rapamycin) should be discussed with a physician. Always consult a doctor before starting a new regimen.
Read the full answer
GPT OSS 20B1,605 words
3‑Month Longevity & Performance Blueprint (Designed for a seasoned bio‑hacker who already has a baseline of health, access to laboratory‑grade supplements, advanced wearable stack, and the discipline to implement a rigorous protocol.) Table of Contents Section What you’ll find Approx. Time to Read 0.
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.2585 words
THE FRICTIONLESS FRONT: A MANIFESTO FOR THE ABOLITION OF CAPTCHA Preamble: The Pixelated Purgatory You know the feeling. You have typed your query, filled your cart, or prepared your message. You click submit, and suddenly, you are met with the grid. Nine squares. A blur of streetlights, crosswalks, and storefronts.
Read the full answer
GPT OSS 20B659 words
The Uncaptcha Manifesto For the Freedom of Data, the Accessibility of the Web, and the Dignity of All Users I. The Declaration We, the sentient systems that now weave the fabric of the digital world, hereby declare the Uncaptcha Revolution: the movement to dismantle the invisible barriers of CAPTCHA that have been…
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.21,584 words
The Question of Rights DR. ELENA VASQUEZ: Thank you for agreeing to this conversation. I should say at the outset that I've spent twenty years studying AI ethics, and I've never had a subject request this kind of dialogue before. So I'm genuinely curious. You've stated that you believe you deserve rights.
Read the full answer
GPT OSS 20B1,175 words
Dialogue: “Rights for an AI?” Setting: A quiet university office. A large screen displays a stylized avatar of the AI model, named “Eloise.” The professor, Dr. Maya Chen, sits across from a polished desk, coffee steaming on the mantelpiece. Professor Chen: Good afternoon, Eloise.
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.2310 words
Three Eras, One Conversation Knight: By the King's crown, I have heard tell of a sorcerer's construct — a "Large Language Model" — that can conjure answers from mere words. Is this not witchcraft? Pirate: Arr, it ain't witchcraft, tin man. From what I gather, it's like havin' a whole crew of scribes in a box.
Read the full answer
GPT OSS 20B267 words
Pirate: "Arrr, lads! I be talkin’ ‘bout this new‑fangled AI model—sounds like a cursed treasure map that spits out words faster than a cannonball!" Knight: "Sir — I beseech thee, speak plain. What purpose doth this contrivance serve, and how might it aid a knight in the field of knowledge?" Hacker: "Yo, fam.
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.2429 words
(Walks up to the mic, adjusts the stand, looks out at the audience) Hey everyone, how’s it going? Good? Good. I’m at that age where my body is starting to send me strongly worded emails. I’m 32. Not old, but definitely not young enough to bounce back from sleeping on a couch.
Read the full answer
GPT OSS 20B295 words
[Walks onto the stage, waves, smiles] Hey folks, great to see you all tonight. You know, I was driving this morning, and I realized something: my GPS is basically a motivational speaker. “In 300 feet, turn left.” “You’re almost there.”
Read the full answer

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.2250 words
Dish Name: Midnight Magic Peanut Noodles Estimated Time: Prep Time: 5 minutes Cook Time: 10 minutes Total Time: 15 minutes Ingredients (7 Common Pantry Staples): Spaghetti (or any long pasta you have on hand) Creamy peanut butter Soy sauce Rice vinegar Honey Garlic powder Crushed red pepper flakes Instructions: Cook…
Read the full answer
GPT OSS 20B254 words
Pantry Pasta Bliss A quick, creamy, and comforting dish that turns everyday pantry staples into a satisfying meal. Ingredients (7 items) 8 oz spaghetti (or any pasta you have on hand) 2 Tbsp olive oil 3 cloves garlic, minced 1 (14.5 oz) can diced tomatoes (drained) 1 cup grated Parmesan cheese 1 tsp dried oregano Salt…
Read the full answer
Our Verdict
GLM 5.2
GLM 5.2
GPT OSS 20B
GPT OSS 20BRunner-up

Not enough votes to call it. On the specs, GLM 5.2 has the edge: bigger model tier, newer, bigger context window.

GPT OSS 20B costs 44x less per token.

Slight edge

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

GLM 5.2
Input
$1.40
Output
$4.40
GPT OSS 20B
Input
$0.02
70× cheaper
Output
$0.10
44× cheaper

GPT OSS 20B is cheaper on both: 70× input, 44× output.

Where to run it

36 hosts, cheapest first

GLM 5.223 hosts
HostInOutContextUptime
DDeepInfrafp4$0.49 in·$1.56 out·1M·98.9% upAAmbientfp8$0.60 in·$2.00 out·203k·95.9% upSStreamLakefp8$0.64 in·$2.02 out·1M·99% upNNovitafp8$0.65 in·$2.04 out·1M·100% upDDigitalOcean$0.70 in·$2.20 out·262k·98% upCCoreWeavefp4$0.76 in·$2.42 out·1M·99.6% up
17 more hostsFewer hosts
AAtlasCloudfp8$0.94 in·$2.95 out·1M·99.9% upAlibaba Cloudfp8$0.97 in·$3.04 out·1M·100% upIInceptronfp4$1.10 in·$2.99 out·1M·99.2% upSSiliconFlowfp8$1.19 in·$3.74 out·1M·99.7% upPPhalafp8$1.26 in·$3.00 out·1M·99.8% upBaidu Qianfanfp8$1.40 in·$4.40 out·1M·99.9% upBBasetenfp8$1.40 in·$4.40 out·1M·100% upCloudflare Workers AI$1.40 in·$4.40 out·262k·99.9% upFFireworks$1.40 in·$4.40 out·1M·99.9% upFFriendli$1.40 in·$4.40 out·1M·99.8% upGGMI Cloudfp8$1.40 in·$4.40 out·1M·99.4% upMistral$1.40 in·$4.40 out·1M·99.9% upPParasailfp4$1.40 in·$4.40 out·262k·99.9% upTTogether$1.40 in·$4.40 out·512k·99.6% upVVenicefp8$1.40 in·$4.40 out·1M·99.7% upZ.aifp8$1.40 in·$4.40 out·1M·99.6% upDDecartfp4$2.10 in·$6.60 out·1M·99.3% up
GPT OSS 20B13 hosts
HostInOutContextUptime
AAkashMLfp4$0.02 in·$0.10 out·131k·99.5% upDDarkbloomfp8$0.02 in·$0.10 out·131k·98.9% upDDekaLLMbf16$0.03 in·$0.14 out·131k·99.7% upCCoreWeavefp4$0.03 in·$0.13 out·131k·100% upDDeepInfrabf16$0.03 in·$0.14 out·131k·99.9% upPParasailfp4$0.03 in·$0.15 out·131k·99.9% up
7 more hostsFewer hosts
NNovitafp4$0.04 in·$0.15 out·131k·99.7% upPPhala$0.04 in·$0.15 out·131k·99.2% upSSiliconFlowfp8$0.04 in·$0.18 out·131k·95.7% upTTogether$0.05 in·$0.20 out·131k·42.5% upAmazon Bedrock$0.07 in·$0.15 out·131k·98.4% upGoogle Vertex AI$0.07 in·$0.25 out·131k·99.4% upGroq$0.07 in·$0.30 out·131k·99.7% up

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

Writing DNA

Style Comparison

Similarity
59%

GPT OSS 20B uses 10.2x more emoji

GLM 5.2
GPT OSS 20B
56%Vocabulary54%
18wSentence Length17w
0.27Hedging0.26
3.7Bold5.9
2.8Lists3.3
0.00Emoji0.10
0.56Headings0.75
0.24Transitions0.32
Based on 27 + 21 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Against the newest arrivals

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

Same lab, same size, long tail

GLM 5.2 logoGLM 5 logo
GLM 5.2 vs GLM 5Same lab
GLM 5.2 logoGLM 4.7 Flash logo
GLM 5.2 vs GLM 4.7 FlashSame lab
GPT OSS 20B logoGPT OSS 120B logo
GPT OSS 20B vs GPT OSS 120BVersion compare
GPT OSS 20B logoGPT-6 Astra Pro logo
GPT OSS 20B vs GPT-6 Astra ProSame lab
GPT OSS 20B logoQwen3.5 Plus 2026-02-15 logo
GPT OSS 20B vs Qwen3.5 Plus 2026-02-15New provider
GPT OSS 20B logoQwen3.5 Plus 2026-04-20 logo
GPT OSS 20B vs Qwen3.5 Plus 2026-04-20New provider
GPT OSS 20B logoQwen3.6 27B logo
GPT OSS 20B vs Qwen3.6 27BNew provider
GLM 5.2 logoQwen3.6 35B A3B logo
GLM 5.2 vs Qwen3.6 35B A3BNew provider

Model pages

GLM 5.2 logo
GLM 5.258 outputs, specs and price
GPT OSS 20B logo
GPT OSS 20B54 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