Alternatives to GLM 5.1

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

The target model

SWE-bench
74.2%
Cheapest input
$1.40
Cheapest output
$4.40
Hosts
1
AlternativeSWE-benchInput $/MTokOutput $/MTokHostsContextTradeoff
Kimi K2.573.8%$0.50$2.807—lower input price
Kimi K2.676.7%$0.73$3.503262klower input price
DeepSeek V4 Pro77.6%$1.32$3.505—lower 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.