DEV Community

Atheer
Atheer

Posted on

# GLM 5.2 Beats Claude in Benchmarks

GLM 5.2 Beats Claude in Benchmarks

A recent test has shown that GLM 5.2 performs better than Claude in certain tasks. This is according to benchmark results from Semgrep. The test compared the two systems on their ability to complete coding tasks quickly.

import time

# Test code
def test_code():
    result = 0
    for i in range(100000):
        result += i
    return result

# Time test
start_time = time.time()
result = test_code()
end_time = time.time()

print(fTime taken: {end_time - start_time} seconds)
Enter fullscreen mode Exit fullscreen mode

The results show that GLM 5.2 is faster than Claude. This could be important for developers who use these tools. It means they can complete tasks more quickly. This could save time and make work easier.

Read more about the test results at semgrep.dev/blog/2026/we-have-mythos-at-home-glm-52-beats-claude-in-our-cyber-benchmarks/.

Top comments (0)