Alternatives to GLM 5

These models are alternatives by measurable coding evidence: they share the current closed-model classificationand are closest to GLM 5's SWE-bench score. Similarity here does not mean identical capabilities, licence terms, or output quality.

The target model

SWE-bench
72.1%
Cheapest input
$1.20
Cheapest output
$3.84
Hosts
6
AlternativeSWE-benchInput $/MTokOutput $/MTokHostsContextTradeoff
Claude Sonnet 4.675.2%$3.00$15.0011.0Mhigher input price
Gemini 3 Flash Preview75.4%$0.50$3.001—lower input price
GPT-5.6 Luna75.7%$0.20$1.2011.1Mlower input price
Kimi-K2.676.7%$0.73$3.503262klower input price
GPT-5.6 Terra78.4%$2.00$12.0011.1Mhigher coding score, higher input price
GLM-5.278.7%$1.20$4.204—higher score, no higher input price
Claude Opus 4.678.7%$5.00$25.0011.0Mhigher coding score, higher input price
GPT-5.583.1%$5.00$30.0011.1Mhigher coding score, higher input price
Claude Opus 4.783.5%$5.00$25.0011.0Mhigher coding score, higher input price
Gemini 2.5 Pro57.6%$1.25$10.001—higher input price

How alternatives are selected

Alternatives must have a benchmark score and the same current open/closed classification as the target. They are sorted by score distance, then by price/performance. The table compares hosted API economics; it does not establish licence compatibility or self-hosting rights.

Check the model licence, provider Terms, context limits, tool support, and output quality before switching a production workload.