Alternatives to GLM 4.7

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

The target model

SWE-bench
69.4%
Cheapest input
$0.38
Cheapest output
$1.74
Hosts
24
AlternativeSWE-benchInput $/MTokOutput $/MTokHostsContextTradeoff
gpt-5.4-nano69.8%$0.20$1.254lower input price
gpt-5.169.8%$1.25$10.004higher input price
gpt-569.0%$1.25$10.004higher input price
Claude Sonnet 4.570.0%$3.00$15.00101.0Mhigher input price
Grok 4.371.4%$1.25$2.5021.0Mhigher input price
GPT-4o (2024-08-06)71.9%$2.50$10.004128khigher input price
GLM 572.1%$0.60$1.9231203khigher input price
Claude Haiku 4.566.6%$1.00$5.008higher input price
GPT-5.2-Codex72.4%$1.75$14.003400khigher input price
GPT-5.4 Mini73.0%$0.75$4.504400khigher input price
MiniMax M2.773.8%$0.24$0.9621197klower input price
GPT-4o-mini (2024-07-18)64.8%$0.15$0.602128klower 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.