Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

GLM-5.1 vs Qwen3.5 397B A17B

Z.ai · released

Wins 5 of 7 areas

Coding · Agents · Reasoning · Facts · Math

Alibaba · released

Wins 2 of 7 areas

Long documents · Following instructions

GLM-5.1 is the stronger all-rounder.Qwen3.5 397B A17B is better at long documents.

Scores updated · 61 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

GLM-5.1$0.82 to read · $3.30 to write$4.13Price from Z.ai's own price page
Qwen3.5 397B A17B$0.60 to read · $3.60 to write$4.20Price from Alibaba's own price page

GLM-5.1 costs 2% less for the same work.

The biggest differences

The three tests each model wins by the widest margin. Scores are out of 100.

Where GLM-5.1 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+59points aheadGLM-5.170.1Qwen3.5 397B A17B11.1
  • Real work tasks from 44 professionsGDPVal+16.2points aheadGLM-5.130.8Qwen3.5 397B A17B14.6
  • Command-line tasks in a real terminalTerminal-Bench 2.1+10.5points aheadGLM-5.161.8Qwen3.5 397B A17B51.3

Where Qwen3.5 397B A17B pulls ahead

  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+7.1points aheadQwen3.5 397B A17B30.8GLM-5.123.7
  • Harvard-MIT high-school math contest problemsHMMT Feb. 2026+5.3points aheadQwen3.5 397B A17B87.9GLM-5.182.6
  • Reasons across sets of long documentsAA-LCR+3.6points aheadQwen3.5 397B A17B77.3GLM-5.173.7

Every test, side by side

All 61 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingGLM-5.1

Full coding ranking

AgentsGLM-5.1

Full agents ranking

ReasoningGLM-5.1

Full reasoning ranking

FactsGLM-5.1

Full facts ranking

MathGLM-5.1

Full math ranking

Long documentsQwen3.5 397B A17B
  • AA-LCRQwen3.5 397B A17B by 3.673.777.3+3.6

Full long documents ranking

Following instructionsQwen3.5 397B A17B
  • IFBenchQwen3.5 397B A17B by 2.576.378.8+2.5

Full following instructions ranking

Other results36 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, GLM-5.1 or Qwen3.5 397B A17B?

GLM-5.1 wins five of the seven areas where both have results: coding, agents, reasoning, facts and math. Qwen3.5 397B A17B wins long documents and following instructions.

Which is better for coding?

GLM-5.1. It wins 6 of the 8 coding tests both models report; Qwen3.5 397B A17B wins none, and 2 are ties.

Which is cheaper?

GLM-5.1 costs $0.82 per million input tokens and $3.30 per million output tokens; Qwen3.5 397B A17B costs $0.60 and $3.60. That makes GLM-5.1 about 2% cheaper for the same work.

How do you compare the two?

We use the 61 benchmark tests both models have published scores on. The verdict counts the 25 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 36 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.