GPT-4.1 minivsGLM-5

GPT-4.1 mini
GLM-5
Specifications
Parameters
744B
API pricing
Input price
$0.40$1.00
Output price
$1.60$3.20
Cached input price
$0.10$0.20
Cheapest input
$0.40Azure$0.60DeepInfra
Cheapest output
$1.60Azure$1.92StreamLake
Benchmarks
SWE-Bench Verified
23.6%77.8%
Benchmarks
BullshitBench v2
28%
SWE-Bench Multilingual
73.3%
Terminal-Bench 2.0
56.2%
BrowseComp
75.9%
Humanity's Last Exam · with tools
50.4%
GPQA Diamond
86%
Overview
CompanyOpenAIZ.ai
Release dateApr 14 2025Feb 12 2026
AccessProprietaryOpen Weight

Other comparisons

GPT-4.1 minivsClaude Opus 5GLM-5vsClaude Opus 5GPT-4.1 minivsGemini 3.7 FlashGLM-5vsGemini 3.7 FlashGPT-4.1 minivsMuse GlimmerGLM-5vsMuse GlimmerGPT-4.1 minivsGrok 4.6GLM-5vsGrok 4.6GPT-4.1 minivsDeepSeek-V4-Pro-0813GLM-5vsDeepSeek-V4-Pro-0813GPT-4.1 minivsMistral Medium 3.5GLM-5vsMistral Medium 3.5

Frequently asked questions

GLM-5 leads GPT-4.1 mini on 1 of the 1 benchmark they both report (SWE-Bench Verified). GPT-4.1 mini is cheaper on both input and output: $0.40 vs $1.00 per million input tokens, and $1.60 vs $3.20 per million output tokens. GPT-4.1 mini shipped 304 days before GLM-5, so benchmark comparisons should account for the intervening progress.

GPT-4.1 mini is proprietary, while GLM-5 is open weight.

On SWE-Bench Verified, GLM-5 leads at 77.8% vs GPT-4.1 mini at 23.6%.

GPT-4.1 mini was released by OpenAI on Apr 14 2025.

GLM-5 was released by Z.ai on Feb 12 2026.

GLM-5 leads on SWE-Bench Verified — GPT-4.1 mini 23.6% vs GLM-5 77.8%.

GPT-4.1 mini is cheaper on both input and output: $0.40 vs $1.00 per million input tokens, and $1.60 vs $3.20 per million output tokens. Rates are pay-as-you-go API prices verified on August 18, 2026.

GPT-4.1 mini is a proprietary model released by OpenAI. GLM-5 is an open weight model released by Z.ai.