LLM Reference

GLM-5 vs Qwen3.5-397B-A17B

GLM-5 (2026) and Qwen3.5-397B-A17B (2026) are frontier-tier reasoning models from Zhipu AI and Alibaba. GLM-5 ships a 200k-token context window, while Qwen3.5-397B-A17B ships a 262k-token context window. On MMLU PRO, Qwen3.5-397B-A17B leads by 1.8 pts. On pricing, Qwen3.5-397B-A17B costs $0.39/1M input tokens versus $0.60/1M for the alternative. This comparison covers specs, pricing, API access, capabilities, benchmarks, input and output token costs, and production fit for coding and agent workloads.

Qwen3.5-397B-A17B is ~54% cheaper at $0.39/1M; pay for GLM-5 only for provider fit.

Decision scorecard

Local evidence first
SignalGLM-5Qwen3.5-397B-A17B
Best forreasoning-heavy apps, tool-calling agents, and provider-routed productionreasoning-heavy apps, multimodal apps, and tool-calling agents
Decision fitCoding, RAG, and AgentsCoding, RAG, and Agents
Context window200k262k
Cheapest output$2.08/1M tokens$2.34/1M tokens
Provider routes7 tracked4 tracked
Shared benchmarks6 sharedMMLU PRO leader

Decision tradeoffs

Choose GLM-5 when...
  • GLM-5 holds a shared-benchmark lead on SWE-bench Verified, ahead by 1.6 points.
  • GLM-5 has the lower cheapest tracked output price at $2.08/1M tokens.
  • GLM-5 has broader tracked provider coverage for fallback and route flexibility.
  • Local decision data tags GLM-5 for Coding, RAG, and Agents.
Choose Qwen3.5-397B-A17B when...
  • Qwen3.5-397B-A17B holds a shared-benchmark lead on MMLU PRO, ahead by 1.8 points.
  • Qwen3.5-397B-A17B has the larger context window for long prompts, retrieval packs, or transcript analysis.
  • Qwen3.5-397B-A17B uniquely exposes Vision and Multimodal in local model data.
  • Local decision data tags Qwen3.5-397B-A17B for Coding, RAG, and Agents.

Monthly cost at traffic

Estimate token spend from the cheapest tracked input and output route or tier on this page.

Lower estimate Qwen3.5-397B-A17B

GLM-5

$1,000

Cheapest tracked route/tier: OpenRouter

Qwen3.5-397B-A17B

$897

Cheapest tracked route/tier: OpenRouter

Estimated monthly gap: $103. Batch, cache, alternate speed tiers, and negotiated pricing are excluded from this local estimate.

Switch friction

GLM-5 -> Qwen3.5-397B-A17B
  • Provider overlap exists on OpenRouter, Together AI, and Novita AI; start route-level A/B tests there.
  • Qwen3.5-397B-A17B is $0.26/1M tokens higher on cheapest tracked output pricing, so quality gains need to justify the spend.
  • Qwen3.5-397B-A17B adds Vision and Multimodal in local capability data.
Qwen3.5-397B-A17B -> GLM-5
  • Provider overlap exists on OpenRouter, Together AI, and Novita AI; start route-level A/B tests there.
  • GLM-5 is $0.26/1M tokens lower on cheapest tracked output pricing before cache, batch, or negotiated discounts.
  • Check replacement coverage for Vision and Multimodal before moving production traffic.

Specs

Specification
Released2026-02-112026-02-16
Context window200k262k
Parameters744B total, 40B active397B
ArchitectureMixture of ExpertsMixture of Experts
LicenseMITOSI-approvedApache 2.0OSI-approved
OpennessOpen sourceOpen source
WeightsAvailableAvailable
CodeUnknownUnknown
Commercial useCommercial use: permittedCommercial use: permitted
Knowledge cutoff2025-11-

Pricing and availability

Pricing attributeGLM-5Qwen3.5-397B-A17B
Input price$0.60/1M tokens$0.39/1M tokens
Output price$2.08/1M tokens$2.34/1M tokens
Providers

Capabilities

CapabilityGLM-5Qwen3.5-397B-A17B
VisionNoYes
MultimodalNoYes
ReasoningYesYes
JSON / Tool useYesYes
Structured outputsYesYes
Code executionNoNo
IDE integrationNoNo
Computer useNoNo
Parallel agentsNoNo

Benchmarks

BenchmarkGLM-5Qwen3.5-397B-A17B
MMLU PRO86.087.8
SWE-bench Verified77.876.2
Google-Proof Q&A86.089.3
LiveCodeBench81.983.6
Humanity's Last Exam30.528.7
τ-bench82.186.7

Continue comparing

Last reviewed: 2026-06-30. Data sourced from public model cards and provider documentation.