Claude 3.7 Sonnet vs GLM-4.7
Anthropic Claude 3.7 Sonnet | Z.ai GLM-4.7 | |
|---|---|---|
| Overview | ||
| Company | Anthropic | Z.ai |
| Release date | Feb 24 2025 | Dec 22 2025 |
| Access | Proprietary | Open Weight |
| Specifications | ||
Context window | — | 128k |
| Benchmarks | ||
Nonsense detection BullshitBench v2Given a confidently-worded but nonsensical prompt, does the AI spot that it makes no sense and push back — instead of playing along and inventing an answer? The score is how often it clearly called out the nonsense. Higher is better. | 49% | — |
Coding SWE-Bench VerifiedReal coding tasks pulled from open-source projects — the AI has to find and fix actual bugs. A human-checked version of the original SWE-Bench. Higher is better. | 62.3% | 73.8%Best |
Agentic terminal coding Terminal-Bench 2.0Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? (Version 2.0 of the test.) Higher is better. | — | 41% |
Web browsing BrowseCompCan the AI browse the web and track down hard-to-find answers? Higher is better. | — | 52% |
Multidisciplinary reasoning Humanity's Last Exam · no toolsHumanity's Last Exam — extremely hard expert questions across many subjects, written so you can't just look up the answer. “No tools” means the AI answers on its own. Higher is better. | — | 24.8% |
Multidisciplinary reasoning Humanity's Last Exam · with toolsHumanity's Last Exam — extremely hard expert questions across many subjects. “With tools” means the AI is allowed to search the web or run code while answering. Higher is better. | — | 42.8% |
Science GPQA DiamondGraduate-level science questions in biology, physics, and chemistry — hard enough that subject-matter PhDs score around 65%. Higher is better. | 68% | 85.7%Best |
| Timeline | ||
| Release gap | Claude 3.7 Sonnet shipped 301 days before GLM-4.7 | |
Which is better: Claude 3.7 Sonnet or GLM-4.7?
GLM-4.7 leads Claude 3.7 Sonnet on 2 of the 2 benchmarks they both report (SWE-Bench Verified, GPQA Diamond). Claude 3.7 Sonnet shipped 301 days before GLM-4.7, so benchmark comparisons should account for the intervening progress.
Claude 3.7 Sonnet is proprietary, while GLM-4.7 is open weight.
On SWE-Bench Verified, GLM-4.7 leads at 73.8% vs Claude 3.7 Sonnet at 62.3%. On GPQA Diamond, GLM-4.7 leads at 85.7% vs Claude 3.7 Sonnet at 68%.
Frequently asked questions
Claude 3.7 Sonnet was released by Anthropic on Feb 24 2025.
GLM-4.7 was released by Z.ai on Dec 22 2025.
GLM-4.7 leads on SWE-Bench Verified — Claude 3.7 Sonnet 62.3% vs GLM-4.7 73.8%.
GLM-4.7 leads on GPQA Diamond — Claude 3.7 Sonnet 68% vs GLM-4.7 85.7%.
Claude 3.7 Sonnet is a proprietary model released by Anthropic. GLM-4.7 is an open weight model released by Z.ai.