Key Specifications

SpecificationGLM-4 9B ChatQwen2.5 7B
Vendorotheralibaba
Versionglm-4-9b-chat2.5-7b
Release Date2024-06-052024-09-19
Context Window131072 tokens131072 tokens
Input Modalitiestext, imagetext
Output Modalitiestexttext
LicenseGLM-4 LicenseQwen License
SOC2
HIPAA
GDPR
ISO 27001

Benchmark Results

BenchmarkGLM-4 9B ChatQwen2.5 7BWinner
ARC88.688.4GLM-4 9B Chat
BBH67.261.9GLM-4 9B Chat
GPQA37.228.5GLM-4 9B Chat
GSM8K5863.7Qwen2.5 7B
HUMANEVAL62.966.5Qwen2.5 7B
IFEVAL59.955.4GLM-4 9B Chat
MATH26.641.9Qwen2.5 7B
MMLU70.773.6Qwen2.5 7B
MUSR49.546.9GLM-4 9B Chat
WINOGRANDE79.471.4GLM-4 9B Chat

Pricing Comparison

Tier (per Mtok)GLM-4 9B ChatQwen2.5 7B
Input$0.18$0.15
Output$0.18$0.15
Cache Read$0$0
Cache Write$0$0

GLM-4 9B Chat vs Qwen2.5 7B

Model Overview

GLM-4 9B Chat and Qwen2.5 7B are both notable options in the AI model market. This page compares their benchmarks, pricing, and compliance.

Key Specifications

VendorRelease DateContext WindowLicense
Other / Alibaba2024-06-05 / 2024-09-19131K / 131KGLM-4 License / Qwen License

Benchmark Performance

BenchmarkGLM-4 9B ChatQwen2.5 7BWinner
ARC88.688.4Tie
BBH (BIG-Bench Hard)67.261.9A
GPQA37.228.5A
GSM8K (Grade School Math 8K)58.063.7B
HumanEval62.966.5B
IFEval59.955.4A
MATH26.641.9B
MMLU (Massive Multitask Language Understanding)70.773.6B
MUSR49.546.9A
WinoGrande79.471.4A

Pricing Comparison

InputOutputCache ReadCache Write
— / —— / —— / —— / —

per million tokens — A / B

Strengths & Weaknesses

GLM-4 9B Chat

  • ✅ Input Modalities: text, image, audio.
  • ⚠️ Proprietary, not self-hostable.

Qwen2.5 7B

  • ✅ Reliable general-purpose model.
  • ⚠️ Proprietary, not self-hostable.

Editor’s Take

GLM-4 9B Chat and Qwen2.5 7B each have their strengths. Choose based on workload (code, long context, vision), referencing the tables above.

FAQ

Which model is better for coding tasks?

Refer to the HumanEval benchmark table; the model with a higher score is better suited for coding tasks.

Which model is cheaper?

Refer to the pricing comparison table above; the model with lower input/output prices is more cost-effective.

Which has a longer context window?

Refer to the key specifications table; the model with a larger context window is better for long documents.

References

Editor's Take

See Editor's Take section.